[7918] Improve portability in work with uint64 string format specifiers and in code...
[getmangos.git] / src / game / Makefile.am
blob96f9ae39996b0ed4b24999f289c4a06486cbafec
1 # Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17 ## Process this file with automake to produce Makefile.in
19 ## Sub-directories to parse
21 ## CPP flags for includes, defines, etc.
22 AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir) -I$(srcdir)/../../dep/include -I$(srcdir)/../framework -I$(srcdir)/../shared -I$(srcdir)/../shared/vmap -I$(srcdir)/../realmd -DSYSCONFDIR=\"$(sysconfdir)/\"
24 ## Build MaNGOS game library as convenience library.
25 #  All libraries will be convenience libraries. Might be changed to shared
26 #  later.
27 noinst_LIBRARIES = libmangosgame.a
29 #  libmangossgame library will later be reused by ...
30 libmangosgame_a_SOURCES = \
31         AccountMgr.cpp \
32         AccountMgr.h \
33         AchievementMgr.h \
34         AchievementMgr.cpp \
35         AggressorAI.cpp \
36         AggressorAI.h \
37         AnimalRandomMovementGenerator.h \
38         ArenaTeam.cpp \
39         ArenaTeam.h \
40         ArenaTeamHandler.cpp \
41         AuctionHouseHandler.cpp \
42         AuctionHouseMgr.cpp \
43         AuctionHouseMgr.h \
44         Bag.cpp \
45         Bag.h \
46         BattleGround.cpp \
47         BattleGroundAA.cpp \
48         BattleGroundAB.cpp \
49         BattleGroundAV.cpp \
50         BattleGroundBE.cpp \
51         BattleGroundDS.cpp \
52         BattleGroundEY.cpp \
53         BattleGroundNA.cpp \
54         BattleGroundRL.cpp \
55         BattleGroundRV.cpp \
56         BattleGroundSA.cpp \
57         BattleGroundWS.cpp \
58         BattleGround.h \
59         BattleGroundAA.h \
60         BattleGroundAB.h \
61         BattleGroundAV.h \
62         BattleGroundBE.h \
63         BattleGroundDS.h \
64         BattleGroundEY.h \
65         BattleGroundNA.h \
66         BattleGroundRL.h \
67         BattleGroundRV.h \
68         BattleGroundSA.h \
69         BattleGroundWS.h \
70         BattleGroundHandler.cpp \
71         BattleGroundMgr.cpp \
72         BattleGroundMgr.h \
73         Calendar.cpp \
74         Calendar.h \
75         CalendarHandler.cpp \
76         Cell.h \
77         CellImpl.h \
78         Channel.cpp \
79         Channel.h \
80         ChannelHandler.cpp \
81         ChannelMgr.h \
82         CharacterHandler.cpp \
83         Chat.cpp \
84         Chat.h \
85         ChatHandler.cpp \
86         CombatHandler.cpp \
87         ConfusedMovementGenerator.cpp \
88         ConfusedMovementGenerator.h \
89         Corpse.cpp \
90         Corpse.h \
91         CreatureAI.cpp \
92         CreatureAI.h \
93         CreatureAIImpl.h \
94         CreatureAIRegistry.cpp \
95         CreatureAIRegistry.h \
96         CreatureAISelector.cpp \
97         CreatureAISelector.h \
98         CreatureEventAI.cpp \
99         CreatureEventAI.h \
100         CreatureEventAIMgr.cpp \
101         CreatureEventAIMgr.h \
102         Creature.cpp \
103         Creature.h \
104         DBCEnums.h \
105         DBCfmt.h \
106         DBCStores.cpp \
107         DBCStores.h \
108         DBCStructure.h  \
109         debugcmds.cpp \
110         DestinationHolder.cpp \
111         DestinationHolder.h \
112         DestinationHolderImp.h \
113         DuelHandler.cpp \
114         DynamicObject.cpp \
115         DynamicObject.h \
116         FleeingMovementGenerator.cpp \
117         FleeingMovementGenerator.h \
118         Formulas.h \
119         GameEventMgr.cpp \
120         GameEventMgr.h \
121         GameObject.cpp \
122         GameObject.h \
123         GlobalEvents.cpp \
124         GlobalEvents.h \
125         GMTicketHandler.cpp \
126         GMTicketMgr.cpp \
127         GMTicketMgr.h \
128         GossipDef.cpp \
129         GossipDef.h \
130         GridDefines.h \
131         GridNotifiers.cpp \
132         GridNotifiers.h \
133         GridNotifiersImpl.h \
134         GridStates.cpp \
135         GridStates.h \
136         Group.cpp \
137         Group.h \
138         GroupHandler.cpp \
139         GuardAI.cpp \
140         GuardAI.h \
141         Guild.cpp \
142         Guild.h \
143         GuildHandler.cpp \
144         HomeMovementGenerator.cpp \
145         HomeMovementGenerator.h \
146         HostilRefManager.cpp \
147         HostilRefManager.h \
148         IdleMovementGenerator.cpp \
149         IdleMovementGenerator.h \
150         InstanceData.cpp \
151         InstanceData.h \
152         InstanceSaveMgr.cpp \
153         InstanceSaveMgr.h \
154         Item.cpp \
155         Item.h \
156         ItemEnchantmentMgr.cpp \
157         ItemEnchantmentMgr.h \
158         ItemHandler.cpp \
159         ItemPrototype.h \
160         Language.h \
161         Level0.cpp \
162         Level1.cpp \
163         Level2.cpp \
164         Level3.cpp \
165         LFGHandler.cpp \
166         LootHandler.cpp \
167         LootMgr.cpp \
168         LootMgr.h \
169         Mail.cpp \
170         Mail.h \
171         Map.cpp \
172         Map.h \
173         MapInstanced.cpp \
174         MapInstanced.h \
175         MapManager.cpp \
176         MapManager.h \
177         MapReference.h \
178         MapRefManager.h \
179         MiscHandler.cpp \
180         MotionMaster.cpp \
181         MotionMaster.h \
182         MovementGenerator.cpp \
183         MovementGenerator.h \
184         MovementGeneratorImpl.h \
185         MovementHandler.cpp \
186         NPCHandler.cpp \
187         NPCHandler.h \
188         NullCreatureAI.cpp \
189         NullCreatureAI.h \
190         ObjectAccessor.cpp \
191         ObjectAccessor.h \
192         Object.cpp \
193         ObjectDefines.h \
194         ObjectGridLoader.cpp \
195         ObjectGridLoader.h \
196         Object.h \
197         ObjectMgr.cpp \
198         ObjectMgr.h \
199         ObjectPosSelector.cpp \
200         ObjectPosSelector.h \
201         Opcodes.cpp \
202         Opcodes.h \
203         Path.h \
204         PetAI.cpp \
205         PetAI.h \
206         Pet.cpp \
207         Pet.h \
208         PetHandler.cpp \
209         PetitionsHandler.cpp \
210         Player.cpp \
211         Player.h \
212         PlayerDump.cpp \
213         PlayerDump.h \
214         PointMovementGenerator.cpp \
215         PointMovementGenerator.h \
216         PoolHandler.cpp \
217         PoolHandler.h \
218         QueryHandler.cpp \
219         QuestDef.cpp \
220         QuestDef.h \
221         QuestHandler.cpp \
222         RandomMovementGenerator.cpp \
223         RandomMovementGenerator.h \
224         ReactorAI.cpp \
225         ReactorAI.h \
226         ReputationMgr.cpp \
227         ReputationMgr.h \
228         ScriptCalls.cpp \
229         ScriptCalls.h \
230         SharedDefines.h \
231         SkillHandler.cpp \
232         SpellAuraDefines.h \
233         SpellAuras.cpp \
234         SpellAuras.h \
235         Spell.cpp \
236         SpellEffects.cpp \
237         Spell.h \
238         SkillDiscovery.cpp \
239         SkillDiscovery.h \
240         SkillExtraItems.cpp \
241         SkillExtraItems.h \
242         SpellHandler.cpp \
243         SocialMgr.cpp \
244         SocialMgr.h \
245         SpellMgr.cpp \
246         SpellMgr.h \
247         StatSystem.cpp \
248         TargetedMovementGenerator.cpp \
249         TargetedMovementGenerator.h \
250         TaxiHandler.cpp \
251         TemporarySummon.cpp \
252         TemporarySummon.h \
253         TotemAI.cpp \
254         TotemAI.h \
255         Totem.cpp \
256         Totem.h \
257         TradeHandler.cpp \
258         Transports.cpp \
259         Transports.h \
260         ThreatManager.cpp \
261         ThreatManager.h \
262         Traveller.h \
263         Unit.cpp \
264         Unit.h \
265         UnitEvents.h \
266         UpdateData.cpp \
267         UpdateData.h \
268         UpdateFields.h \
269         UpdateMask.h \
270         Vehicle.cpp \
271         Vehicle.h \
272         VoiceChatHandler.cpp \
273         WaypointManager.cpp \
274         WaypointManager.h \
275         WaypointMovementGenerator.cpp \
276         WaypointMovementGenerator.h \
277         Weather.cpp \
278         Weather.h \
279         World.cpp \
280         World.h \
281         WorldLog.cpp \
282         WorldLog.h \
283         WorldSession.cpp \
284         WorldSession.h \
285         WorldSocket.cpp \
286         WorldSocket.h \
287         WorldSocketMgr.cpp \
288         WorldSocketMgr.h \
289         FollowerReference.cpp \
290         FollowerReference.h \
291         FollowerRefManager.h \
292         GroupReference.cpp \
293         GroupReference.h \
294         GroupRefManager.h
296 ## Link against shared library
297 libmangosgame_a_LIBADD = ../shared/libmangosshared.a ../shared/Auth/libmangosauth.a ../shared/Config/libmangosconfig.a ../shared/Database/libmangosdatabase.a ../shared/vmap/libmangosvmaps.a
299 ## Additional files to include when running 'make dist'
300 #  Precompiled Headers for WIN
301 EXTRA_DIST = \
302         pchdef.cpp \
303         pchdef.h