[9581] Fixed apply damage reduction to melee/ranged damage.
[getmangos.git] / src / game / Makefile.am
blob39d6982e18684e5afbb0c35eb3a8e7cb058cc7f3
1 # Copyright (C) 2005-2010 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         ArenaTeam.cpp \
38         ArenaTeam.h \
39         ArenaTeamHandler.cpp \
40         AuctionHouseHandler.cpp \
41         AuctionHouseMgr.cpp \
42         AuctionHouseMgr.h \
43         Bag.cpp \
44         Bag.h \
45         BattleGround.cpp \
46         BattleGroundAA.cpp \
47         BattleGroundAB.cpp \
48         BattleGroundABG.cpp \
49         BattleGroundAV.cpp \
50         BattleGroundBE.cpp \
51         BattleGroundDS.cpp \
52         BattleGroundEY.cpp \
53         BattleGroundIC.cpp \
54         BattleGroundNA.cpp \
55         BattleGroundRL.cpp \
56         BattleGroundRV.cpp \
57         BattleGroundSA.cpp \
58         BattleGroundWS.cpp \
59         BattleGround.h \
60         BattleGroundAA.h \
61         BattleGroundAB.h \
62         BattleGroundABG.h \
63         BattleGroundAV.h \
64         BattleGroundBE.h \
65         BattleGroundDS.h \
66         BattleGroundEY.h \
67         BattleGroundIC.h \
68         BattleGroundNA.h \
69         BattleGroundRL.h \
70         BattleGroundRV.h \
71         BattleGroundSA.h \
72         BattleGroundWS.h \
73         BattleGroundHandler.cpp \
74         BattleGroundMgr.cpp \
75         BattleGroundMgr.h \
76         Calendar.cpp \
77         Calendar.h \
78         CalendarHandler.cpp \
79         Cell.h \
80         CellImpl.h \
81         Channel.cpp \
82         Channel.h \
83         ChannelHandler.cpp \
84         ChannelMgr.cpp \
85         ChannelMgr.h \
86         CharacterHandler.cpp \
87         Chat.cpp \
88         Chat.h \
89         ChatHandler.cpp \
90         CombatHandler.cpp \
91         ConfusedMovementGenerator.cpp \
92         ConfusedMovementGenerator.h \
93         Corpse.cpp \
94         Corpse.h \
95         CreatureAI.cpp \
96         CreatureAI.h \
97         CreatureAIImpl.h \
98         CreatureAIRegistry.cpp \
99         CreatureAIRegistry.h \
100         CreatureAISelector.cpp \
101         CreatureAISelector.h \
102         CreatureEventAI.cpp \
103         CreatureEventAI.h \
104         CreatureEventAIMgr.cpp \
105         CreatureEventAIMgr.h \
106         Creature.cpp \
107         Creature.h \
108         DBCEnums.h \
109         DBCfmt.h \
110         DBCStores.cpp \
111         DBCStores.h \
112         DBCStructure.h  \
113         debugcmds.cpp \
114         DestinationHolder.cpp \
115         DestinationHolder.h \
116         DestinationHolderImp.h \
117         DuelHandler.cpp \
118         DynamicObject.cpp \
119         DynamicObject.h \
120         FleeingMovementGenerator.cpp \
121         FleeingMovementGenerator.h \
122         Formulas.h \
123         GameEventMgr.cpp \
124         GameEventMgr.h \
125         GameObject.cpp \
126         GameObject.h \
127         GlobalEvents.cpp \
128         GlobalEvents.h \
129         GMTicketHandler.cpp \
130         GMTicketMgr.cpp \
131         GMTicketMgr.h \
132         GossipDef.cpp \
133         GossipDef.h \
134         GridDefines.h \
135         GridNotifiers.cpp \
136         GridNotifiers.h \
137         GridNotifiersImpl.h \
138         GridStates.cpp \
139         GridStates.h \
140         Group.cpp \
141         Group.h \
142         GroupHandler.cpp \
143         GuardAI.cpp \
144         GuardAI.h \
145         Guild.cpp \
146         Guild.h \
147         GuildHandler.cpp \
148         HomeMovementGenerator.cpp \
149         HomeMovementGenerator.h \
150         HostileRefManager.cpp \
151         HostileRefManager.h \
152         IdleMovementGenerator.cpp \
153         IdleMovementGenerator.h \
154         InstanceData.cpp \
155         InstanceData.h \
156         InstanceSaveMgr.cpp \
157         InstanceSaveMgr.h \
158         Item.cpp \
159         Item.h \
160         ItemEnchantmentMgr.cpp \
161         ItemEnchantmentMgr.h \
162         ItemHandler.cpp \
163         ItemPrototype.h \
164         Language.h \
165         Level0.cpp \
166         Level1.cpp \
167         Level2.cpp \
168         Level3.cpp \
169         LFGHandler.cpp \
170         LootHandler.cpp \
171         LootMgr.cpp \
172         LootMgr.h \
173         Mail.cpp \
174         Mail.h \
175         Map.cpp \
176         Map.h \
177         MapInstanced.cpp \
178         MapInstanced.h \
179         MapManager.cpp \
180         MapManager.h \
181         MapReference.h \
182         MapRefManager.h \
183         MiscHandler.cpp \
184         MotionMaster.cpp \
185         MotionMaster.h \
186         MovementGenerator.cpp \
187         MovementGenerator.h \
188         MovementGeneratorImpl.h \
189         MovementHandler.cpp \
190         NPCHandler.cpp \
191         NPCHandler.h \
192         NullCreatureAI.cpp \
193         NullCreatureAI.h \
194         ObjectAccessor.cpp \
195         ObjectAccessor.h \
196         Object.cpp \
197         ObjectGuid.cpp \
198         ObjectGuid.h \
199         ObjectGridLoader.cpp \
200         ObjectGridLoader.h \
201         Object.h \
202         ObjectMgr.cpp \
203         ObjectMgr.h \
204         ObjectPosSelector.cpp \
205         ObjectPosSelector.h \
206         Opcodes.cpp \
207         Opcodes.h \
208         Path.h \
209         PetAI.cpp \
210         PetAI.h \
211         Pet.cpp \
212         Pet.h \
213         PetHandler.cpp \
214         PetitionsHandler.cpp \
215         Player.cpp \
216         Player.h \
217         PlayerDump.cpp \
218         PlayerDump.h \
219         PointMovementGenerator.cpp \
220         PointMovementGenerator.h \
221         PoolManager.cpp \
222         PoolManager.h \
223         QueryHandler.cpp \
224         QuestDef.cpp \
225         QuestDef.h \
226         QuestHandler.cpp \
227         RandomMovementGenerator.cpp \
228         RandomMovementGenerator.h \
229         ReactorAI.cpp \
230         ReactorAI.h \
231         ReputationMgr.cpp \
232         ReputationMgr.h \
233         ScriptCalls.cpp \
234         ScriptCalls.h \
235         SharedDefines.h \
236         SkillHandler.cpp \
237         SpellAuraDefines.h \
238         SpellAuras.cpp \
239         SpellAuras.h \
240         Spell.cpp \
241         SpellEffects.cpp \
242         Spell.h \
243         SkillDiscovery.cpp \
244         SkillDiscovery.h \
245         SkillExtraItems.cpp \
246         SkillExtraItems.h \
247         SpellHandler.cpp \
248         SocialMgr.cpp \
249         SocialMgr.h \
250         SpellMgr.cpp \
251         SpellMgr.h \
252         StatSystem.cpp \
253         TargetedMovementGenerator.cpp \
254         TargetedMovementGenerator.h \
255         TaxiHandler.cpp \
256         TemporarySummon.cpp \
257         TemporarySummon.h \
258         TotemAI.cpp \
259         TotemAI.h \
260         Totem.cpp \
261         Totem.h \
262         TradeHandler.cpp \
263         Transports.cpp \
264         Transports.h \
265         ThreatManager.cpp \
266         ThreatManager.h \
267         Traveller.h \
268         Unit.cpp \
269         Unit.h \
270         UnitEvents.h \
271         UpdateData.cpp \
272         UpdateData.h \
273         UpdateFields.h \
274         UpdateMask.h \
275         Vehicle.cpp \
276         Vehicle.h \
277         VoiceChatHandler.cpp \
278         WaypointManager.cpp \
279         WaypointManager.h \
280         WaypointMovementGenerator.cpp \
281         WaypointMovementGenerator.h \
282         Weather.cpp \
283         Weather.h \
284         World.cpp \
285         World.h \
286         WorldSession.cpp \
287         WorldSession.h \
288         WorldSocket.cpp \
289         WorldSocket.h \
290         WorldSocketMgr.cpp \
291         WorldSocketMgr.h \
292         FollowerReference.cpp \
293         FollowerReference.h \
294         FollowerRefManager.h \
295         GroupReference.cpp \
296         GroupReference.h \
297         GroupRefManager.h
299 ## Additional files to include when running 'make dist'
300 #  Precompiled Headers for WIN
301 EXTRA_DIST = \
302         pchdef.cpp \
303         pchdef.h