~ubuntu-branches/ubuntu/saucy/lordsawar/saucy

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese, Barry deFreese
  • Date: 2008-12-20 13:52:12 UTC
  • mfrom: (1.1.6 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081220135212-noeb2w3y98ebo7o9
Tags: 0.1.4-1
[ Barry deFreese ]
* New upstream release.
* Move 0.0.8-2.1 changelog entry to correct point in changelog.
* Make lordsawar-data suggest lordsawar.
* Update my e-mail address.
* Add build-depends on intltool, uuid-dev, and libboost-dev.
* Don't install locales since there are no translations currently.
* Add simple man page for new lordsawar-pbm binary.
* Drop gcc4.3 patches as they have been fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#   Copyright (C) 2008 Barry deFreese
1
2
2
3
#   This program is free software; you can redistribute it and/or modify
3
4
#   it under the terms of the GNU General Public License as published by
13
14
#   along with this program; if not, write to the Free Software
14
15
#   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 
15
16
#   02110-1301, USA.
16
 
SUBDIRS = gui . editor
 
17
SUBDIRS = gui . editor pbm
17
18
MAINTAINERCLEANFILES= Makefile.in
18
19
 
19
20
bin_PROGRAMS = lordsawar
 
21
noinst_LTLIBRARIES = liblordsawar.la liblordsawarnet.la liblordsawargfx.la
20
22
 
21
 
lordsawar_SOURCES = army.cpp army.h hero.cpp hero.h stack.cpp stack.h \
22
 
        GameScenario.cpp GameScenario.h action.cpp action.h \
23
 
        player.cpp player.h real_player.cpp real_player.h ai_dummy.cpp \
24
 
        ai_dummy.h ai_fast.cpp ai_fast.h ai_smart.cpp ai_smart.h \
25
 
        UniquelyIdentified.cpp UniquelyIdentified.h Location.cpp Location.h \
26
 
        city.cpp city.h NamedLocation.cpp NamedLocation.h \
27
 
        temple.cpp temple.h ruin.cpp ruin.h Tile.cpp Tile.h \
28
 
        tilestyle.cpp tilestyle.h tilestyleset.cpp tilestyleset.h \
29
 
        maptile.cpp maptile.h Item.cpp Item.h armysetlist.cpp armysetlist.h \
30
 
        armyset.cpp armyset.h tilesetlist.cpp tilesetlist.h \
31
 
        stacklist.cpp stacklist.h playerlist.cpp playerlist.h \
32
 
        MapRenderer.cpp MapRenderer.h \
33
 
        citylist.cpp citylist.h templelist.cpp templelist.h \
34
 
        ruinlist.cpp ruinlist.h GameMap.cpp GameMap.h \
35
 
        Itemlist.cpp Itemlist.h tileset.cpp tileset.h Threat.cpp Threat.h \
36
 
        Threatlist.cpp Threatlist.h MoveResult.cpp MoveResult.h \
37
 
        AICityInfo.cpp AICityInfo.h AI_Analysis.cpp AI_Analysis.h \
38
 
        AI_Allocation.cpp AI_Allocation.h path.cpp path.h \
39
 
        QuestsManager.cpp QuestsManager.h Quest.cpp Quest.h \
40
 
        reward.h reward.cpp rewardlist.h rewardlist.cpp \
41
 
        QKillHero.cpp QKillHero.h \
42
 
        QEnemyArmies.cpp QEnemyArmies.h QCitySack.cpp QCitySack.h \
43
 
        QCityRaze.cpp QCityRaze.h QCityOccupy.cpp QCityOccupy.h \
44
 
        QEnemyArmytype.cpp QEnemyArmytype.h QPillageGold.cpp QPillageGold.h \
45
 
        File.cpp File.h main.cpp \
46
 
        xmlhelper.cpp xmlhelper.h string_tokenizer.cpp string_tokenizer.h \
47
 
        NextTurn.cpp NextTurn.h FogMap.cpp FogMap.h \
48
 
        counter.cpp counter.h fight.cpp fight.h \
 
23
liblordsawar_la_SOURCES = action.cpp action.h AI_Analysis.cpp AI_Analysis.h \
 
24
        AI_Allocation.cpp AI_Allocation.h AI_Diplomacy.cpp AI_Diplomacy.h \
 
25
        ai_dummy.cpp ai_dummy.h ai_fast.cpp ai_fast.h \
 
26
        ai_smart.cpp ai_smart.h AICityInfo.cpp AICityInfo.h \
 
27
        armybase.cpp armybase.h armyproto.cpp armyproto.h armyprodbase.cpp \
 
28
        armyprodbase.h army.cpp army.h armysetlist.cpp armysetlist.h \
 
29
        armyset.cpp armyset.h armyprotobase.cpp armyprotobase.h \
 
30
        bridge.cpp bridge.h bridgelist.cpp bridgelist.h \
 
31
        city.cpp city.h citylist.cpp citylist.h \
 
32
        citysetlist.cpp citysetlist.h cityset.cpp cityset.h \
 
33
        Configuration.cpp Configuration.h counter.cpp counter.h \
49
34
        CreateScenario.cpp CreateScenario.h \
50
 
        MapGenerator.cpp MapGenerator.h Configuration.cpp Configuration.h \
51
 
        sound.cpp sound.h GraphicsCache.cpp GraphicsCache.h \
52
 
        vectormap.cpp vectormap.h \
53
 
        heromap.cpp heromap.h \
54
 
        armymap.cpp armymap.h \
55
 
        citymap.cpp citymap.h \
56
 
        questmap.cpp questmap.h \
57
 
        ruinmap.cpp ruinmap.h \
58
 
        historymap.cpp historymap.h \
59
 
        bigmap.cpp bigmap.h  \
60
 
        history.cpp history.h  \
61
 
        signpost.cpp signpost.h signpostlist.cpp signpostlist.h \
 
35
        CreateScenarioRandomize.cpp CreateScenarioRandomize.h \
 
36
        fight.cpp fight.h File.cpp File.h FogMap.cpp FogMap.h \
 
37
        GameMap.cpp GameMap.h GameScenario.cpp GameScenario.h \
 
38
        GameScenarioOptions.cpp GameScenarioOptions.h \
 
39
        hero.cpp hero.h heroproto.cpp heroproto.h \
 
40
        herotemplates.cpp herotemplates.h history.cpp history.h \
 
41
        Immovable.cpp Immovable.h Item.cpp Item.h \
 
42
        ItemProto.cpp ItemProto.h \
 
43
        Itemlist.cpp Itemlist.h Location.cpp Location.h \
 
44
        LocationBox.cpp LocationBox.h LocationList.h \
 
45
        MapGenerator.cpp MapGenerator.h \
 
46
        maptile.cpp maptile.h Movable.cpp Movable.h \
 
47
        MoveResult.cpp MoveResult.h Named.cpp Named.h Namable.cpp Namable.h \
 
48
        NamedLocation.cpp NamedLocation.h network_player.cpp network_player.h \
 
49
        network-action.cpp network-action.h \
 
50
        network-history.cpp network-history.h \
 
51
        NextTurn.cpp NextTurn.h NextTurnHotseat.cpp NextTurnHotseat.h \
 
52
        NextTurnNetworked.cpp NextTurnNetworked.h \
 
53
        NextTurnPbm.cpp NextTurnPbm.h \
 
54
        Ownable.cpp Ownable.h path.cpp path.h \
 
55
        player.cpp player.h playerlist.cpp playerlist.h \
62
56
        port.cpp port.h portlist.cpp portlist.h \
63
 
        bridge.cpp bridge.h bridgelist.cpp bridgelist.h \
 
57
        Positioned.cpp Positioned.h QCityOccupy.cpp QCityOccupy.h \
 
58
        QCityRaze.cpp QCityRaze.h QCitySack.cpp QCitySack.h \
 
59
        QEnemyArmies.cpp QEnemyArmies.h QEnemyArmytype.cpp QEnemyArmytype.h \
 
60
        QKillHero.cpp QKillHero.h QPillageGold.cpp QPillageGold.h \
 
61
        Quest.cpp Quest.h QuestsManager.cpp QuestsManager.h \
 
62
        real_player.cpp real_player.h Renamable.cpp Renamable.h \
 
63
        reward.h reward.cpp rewardlist.h rewardlist.cpp \
64
64
        road.cpp road.h roadlist.cpp roadlist.h \
65
 
        overviewmap.cpp overviewmap.h \
66
 
        smallmap.cpp smallmap.h \
67
 
        gamebigmap.cpp gamebigmap.h \
68
 
        game.cpp game.h \
69
 
        timing.cpp timing.h \
70
 
        callback-enums.h \
71
 
        sidebar-stats.h game-parameters.h vector.h rectangle.h \
72
 
        ucompose.hpp defs.h LocationList.h \
73
 
        map-tip-position.h input-events.h sdl-draw.h  \
 
65
        ruin.cpp ruin.h ruinlist.cpp ruinlist.h \
 
66
        shield.cpp shield.h shieldset.cpp shieldset.h \
 
67
        shieldsetlist.cpp shieldsetlist.h shieldstyle.cpp shieldstyle.h \
 
68
        signpost.cpp signpost.h signpostlist.cpp signpostlist.h \
 
69
        stack.cpp stack.h \
 
70
        stacklist.cpp stacklist.h string_tokenizer.cpp string_tokenizer.h \
 
71
        temple.cpp temple.h templelist.cpp templelist.h \
 
72
        Threat.cpp Threat.h Threatlist.cpp Threatlist.h \
 
73
        Tile.cpp Tile.h tileset.cpp tileset.h tilesetlist.cpp tilesetlist.h \
 
74
        tilestyle.cpp tilestyle.h tilestyleset.cpp tilestyleset.h \
 
75
        timing.cpp timing.h UniquelyIdentified.cpp UniquelyIdentified.h \
74
76
        vectoredunit.cpp vectoredunit.h \
75
 
        vectoredunitlist.cpp vectoredunitlist.h \
76
 
        AI_Diplomacy.cpp AI_Diplomacy.h \
77
 
        shield.cpp shield.h shieldset.cpp shieldset.h \
78
 
        shieldstyle.cpp shieldstyle.h \
79
 
        shieldsetlist.cpp shieldsetlist.h \
80
 
        citysetlist.cpp citysetlist.h cityset.cpp cityset.h \
81
 
        CreateScenarioRandomize.cpp CreateScenarioRandomize.h \
82
 
        Ownable.cpp Ownable.h Immovable.cpp Immovable.h \
83
 
        Movable.cpp Movable.h Positioned.cpp Positioned.h \
84
 
        Named.cpp Named.h Namable.cpp Namable.h Renamable.cpp Renamable.h \
85
 
        network_player.cpp network_player.h \
86
 
        herotemplates.cpp herotemplates.h \
87
 
        network-connection.cpp network-connection.h network-common.h \
88
 
        network-server.cpp network-server.h \
89
 
        game-server.cpp game-server.h \
 
77
        vectoredunitlist.cpp vectoredunitlist.h xmlhelper.cpp xmlhelper.h \
 
78
        rectangle.h vector.h ucompose.hpp Campaign.cpp Campaign.h \
 
79
        SightMap.cpp SightMap.h SmallTile.cpp SmallTile.h \
 
80
        Triumphs.cpp Triumphs.h Backpack.cpp Backpack.h \
 
81
        MapBackpack.cpp MapBackpack.h prodslot.cpp prodslot.h \
 
82
        prodslotlist.cpp prodslotlist.h
 
83
 
 
84
liblordsawarnet_la_SOURCES = \
90
85
        game-client.cpp game-client.h \
91
 
        GameScenarioOptions.cpp GameScenarioOptions.h \
92
 
        network-action.cpp network-action.h \
93
 
        network-history.cpp network-history.h
 
86
        game-client-decoder.cpp game-client-decoder.h \
 
87
        game-server.cpp game-server.h game-station.cpp game-station.h \
 
88
        network-connection.cpp chat-client.cpp chat-client.h \
 
89
        network-connection.h network-common.h \
 
90
        network-server.cpp network-server.h \
 
91
        pbm/pbm.cpp pbm/pbm.h \
 
92
        pbm-game-client.cpp pbm-game-client.h \
 
93
        pbm-game-server.cpp pbm-game-server.h
 
94
 
 
95
liblordsawargfx_la_SOURCES = \
 
96
        bigmap.cpp bigmap.h citymap.cpp citymap.h  \
 
97
        historymap.cpp historymap.h heromap.cpp heromap.h \
 
98
        ruinmap.cpp ruinmap.h questmap.cpp questmap.h \
 
99
        vectormap.cpp vectormap.h overviewmap.cpp overviewmap.h \
 
100
        smallmap.cpp smallmap.h \
 
101
        MapRenderer.cpp MapRenderer.h  \
 
102
        GraphicsCache.cpp GraphicsCache.h \
 
103
        GraphicsLoader.cpp GraphicsLoader.h \
 
104
        input-events.h map-tip-position.h sdl-draw.h 
 
105
 
 
106
 
 
107
lordsawar_SOURCES = armymap.cpp armymap.h \
 
108
        callback-enums.h defs.h game-parameters.h \
 
109
        recently-played-game.cpp recently-played-game.h \
 
110
        recently-played-game-list.cpp recently-played-game-list.h \
 
111
        sidebar-stats.h game.cpp game.h gamebigmap.cpp gamebigmap.h \
 
112
        sound.cpp sound.h main.cpp 
 
113
 
94
114
 
95
115
if FL_RESRC
96
116
lordsawar_SOURCES += lordsawar.rc
99
119
        i586-mingw32msvc-windres -o $@ $<
100
120
 
101
121
localedir = $(datadir)/locale
102
 
DEFS = -DFL_VERSION=\"@VERSION@\"  -DLOCALEDIR=\"$(localedir)\" @DEFS@
 
122
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
 
123
 
 
124
liblordsawar_la_LIBADD = gui/liblwgui.la \
 
125
    @LTLIBOBJS@
103
126
 
104
127
lordsawar_LDFLAGS =
105
 
lordsawar_LDADD = $(SDL_LIBS) \
 
128
lordsawar_LDADD = liblordsawar.la \
 
129
    liblordsawarnet.la \
 
130
    liblordsawargfx.la \
 
131
    $(SDL_LIBS) \
 
132
    $(SDLIMAGE_LIBS) \
 
133
    $(SDLSOUND_LIBS) \
106
134
    $(GTKMM_LIBS) \
107
135
    $(LIBGNET_LIBS) \
108
136
    $(LIBSIGC_LIBS) \
109
 
    ./gui/liblwgui.a \
 
137
    gui/liblwgui.la \
110
138
    @LIBINTL@
 
139
 
111
140
lordsawar_DEPENDENCIES = \
112
 
  ./gui/liblwgui.a
 
141
  liblordsawar.la \
 
142
  liblordsawarnet.la \
 
143
  liblordsawargfx.la \
 
144
  gui/liblwgui.la
113
145
 
114
146
AM_CXXFLAGS = -Wall -DPO_PATH=\"$(prefix)/share/locale/\" -Wunused-function
115
147
INCLUDES = $(SDL_CFLAGS) \
117
149
    $(LIBGNET_CFLAGS) \
118
150
    $(LIBSIGC_CFLAGS) \
119
151
    -DLORDSAWAR_DATADIR='"$(LORDSAWAR_DATADIR)"' \
120
 
    -Iserver -I..
 
152
    -I$(top_srcdir)