1 | MAINSRCDIR=. |
---|
2 | AM_CXXFLAGS=-I$(MAINSRCDIR) |
---|
3 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/world_entities |
---|
4 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/story_entities |
---|
5 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib |
---|
6 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/coord |
---|
7 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/data |
---|
8 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics |
---|
9 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics/importer |
---|
10 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics/particles |
---|
11 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui |
---|
12 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui/gui |
---|
13 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/lang |
---|
14 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/util |
---|
15 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/math |
---|
16 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/defs |
---|
17 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/font |
---|
18 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/network |
---|
19 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/glmenu |
---|
20 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/ai |
---|
21 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/util |
---|
22 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/util/animation |
---|
23 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/util/common |
---|
24 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/util/physics |
---|
25 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/util/physics/fields |
---|
26 | AM_CXXFLAGS+=-I$(MAINSRCDIR)/subprojects |
---|
27 | |
---|
28 | |
---|
29 | |
---|
30 | #"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include" |
---|
31 | |
---|
32 | |
---|
33 | bin_PROGRAMS=orxonox |
---|
34 | noinst_LIBRARIES = libORXgui.a |
---|
35 | |
---|
36 | orxonox_DEPENDENCIES = libORXgui.a |
---|
37 | orxonox_LDADD = libORXgui.a $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS) |
---|
38 | orxonox_SOURCES= orxonox.cc \ |
---|
39 | game_loader.cc \ |
---|
40 | command_node.cc \ |
---|
41 | keynames.cc \ |
---|
42 | world_entities/camera.cc \ |
---|
43 | track_manager.cc \ |
---|
44 | track_node.cc \ |
---|
45 | factory.cc \ |
---|
46 | util/animation/animation.cc \ |
---|
47 | util/animation/animation3d.cc \ |
---|
48 | util/animation/animation_player.cc \ |
---|
49 | garbage_collector.cc \ |
---|
50 | story_entities/story_entity.cc \ |
---|
51 | story_entities/campaign.cc \ |
---|
52 | story_entities/world.cc \ |
---|
53 | world_entities/world_entity.cc \ |
---|
54 | world_entities/player.cc \ |
---|
55 | world_entities/environment.cc \ |
---|
56 | world_entities/skysphere.cc \ |
---|
57 | world_entities/skybox.cc \ |
---|
58 | world_entities/terrain.cc \ |
---|
59 | world_entities/weapon.cc \ |
---|
60 | world_entities/projectile.cc \ |
---|
61 | world_entities/satellite.cc \ |
---|
62 | world_entities/character_attributes.cc \ |
---|
63 | world_entities/test_gun.cc \ |
---|
64 | world_entities/test_bullet.cc \ |
---|
65 | ai/ai.cc \ |
---|
66 | lib/coord/p_node.cc \ |
---|
67 | lib/coord/null_parent.cc \ |
---|
68 | lib/coord/helper_parent.cc \ |
---|
69 | lib/data/data_tank.cc \ |
---|
70 | lib/graphics/graphics_engine.cc \ |
---|
71 | lib/graphics/light.cc \ |
---|
72 | lib/graphics/text_engine.cc \ |
---|
73 | lib/graphics/importer/array.cc \ |
---|
74 | lib/graphics/importer/objModel.cc \ |
---|
75 | lib/graphics/importer/primitive_model.cc \ |
---|
76 | lib/graphics/importer/model.cc \ |
---|
77 | lib/graphics/importer/material.cc \ |
---|
78 | lib/graphics/importer/texture.cc \ |
---|
79 | lib/graphics/particles/particle_engine.cc \ |
---|
80 | lib/graphics/particles/particle_system.cc \ |
---|
81 | lib/graphics/particles/particle_emitter.cc \ |
---|
82 | lib/lang/base_entity.cc \ |
---|
83 | lib/lang/base_object.cc \ |
---|
84 | lib/util/ini_parser.cc \ |
---|
85 | lib/util/substring.cc \ |
---|
86 | util/common/list.cc \ |
---|
87 | util/resource_manager.cc \ |
---|
88 | util/physics/i_physics.cc \ |
---|
89 | util/physics/physics_engine.cc \ |
---|
90 | util/physics/physics_connection.cc \ |
---|
91 | util/physics/fields/field.cc \ |
---|
92 | util/physics/fields/gravity.cc \ |
---|
93 | util/physics/fields/point_gravity.cc \ |
---|
94 | util/physics/fields/twirl.cc \ |
---|
95 | lib/math/vector.cc \ |
---|
96 | lib/math/curve.cc \ |
---|
97 | glmenu/glmenu_imagescreen.cc \ |
---|
98 | lib/xmlparser/tinyxml.cc \ |
---|
99 | lib/xmlparser/tinystr.cc \ |
---|
100 | lib/xmlparser/tinyxmlerror.cc \ |
---|
101 | lib/xmlparser/tinyxmlparser.cc \ |
---|
102 | subprojects/benchmark.cc |
---|
103 | |
---|
104 | noinst_HEADERS = orxonox.h \ |
---|
105 | game_loader.h \ |
---|
106 | track_manager.h \ |
---|
107 | ability.h \ |
---|
108 | world_entities/camera.h \ |
---|
109 | keynames.h \ |
---|
110 | command_node.h \ |
---|
111 | message_structures.h \ |
---|
112 | track_manager.h \ |
---|
113 | track_node.h \ |
---|
114 | util/animation/animation.h \ |
---|
115 | util/animation/t_animation.h \ |
---|
116 | util/animation/animation3d.h \ |
---|
117 | util/animation/animation_player.h \ |
---|
118 | garbage_collector.h \ |
---|
119 | story_entities/story_entity.h \ |
---|
120 | story_entities/story_def.h \ |
---|
121 | story_entities/campaign.h \ |
---|
122 | story_entities/world.h \ |
---|
123 | world_entities/world_entity.h \ |
---|
124 | world_entities/player.h \ |
---|
125 | world_entities/npc.h \ |
---|
126 | world_entities/environment.h \ |
---|
127 | world_entities/skysphere.h \ |
---|
128 | world_entities/skybox.h \ |
---|
129 | world_entities/power_up.h \ |
---|
130 | world_entities/terrain.h \ |
---|
131 | world_entities/weapon.h \ |
---|
132 | world_entities/projectile.h \ |
---|
133 | world_entities/satellite.h \ |
---|
134 | world_entities/character_attributes.h \ |
---|
135 | world_entities/test_gun.h \ |
---|
136 | world_entities/test_bullet.h \ |
---|
137 | ai/ai.h \ |
---|
138 | network/synchronisable.h \ |
---|
139 | defs/stdincl.h \ |
---|
140 | defs/glincl.h \ |
---|
141 | defs/comincl.h \ |
---|
142 | defs/confincl.h \ |
---|
143 | defs/error.h \ |
---|
144 | defs/debug.h \ |
---|
145 | defs/globals.h \ |
---|
146 | lib/coord/p_node.h \ |
---|
147 | lib/coord/null_parent.h \ |
---|
148 | lib/coord/helper_parent.h \ |
---|
149 | lib/graphics/graphics_engine.h \ |
---|
150 | lib/graphics/light.h \ |
---|
151 | lib/graphics/text_engine.h \ |
---|
152 | lib/graphics/particles/particle_engine.h \ |
---|
153 | lib/graphics/particles/particle_system.h \ |
---|
154 | lib/graphics/particles/particle_emitter.h \ |
---|
155 | lib/data/data_tank.h \ |
---|
156 | lib/lang/base_entity.h \ |
---|
157 | lib/lang/base_object.h \ |
---|
158 | util/common/list.h \ |
---|
159 | util/common/list_template.h \ |
---|
160 | util/resource_manager.h \ |
---|
161 | util/physics/i_physics.h \ |
---|
162 | util/physics/physics_engine.h \ |
---|
163 | util/physics/physics_connection.h \ |
---|
164 | util/physics/fields/fields.h \ |
---|
165 | util/physics/fields/field.h \ |
---|
166 | util/physics/fields/gravity.h \ |
---|
167 | util/physics/fields/point_gravity.h \ |
---|
168 | util/physics/fields/twirl.h \ |
---|
169 | lib/util/ini_parser.h \ |
---|
170 | lib/util/substring.h \ |
---|
171 | lib/math/vector.h \ |
---|
172 | lib/math/curve.h \ |
---|
173 | glmenu/glmenu_imagescreen.h \ |
---|
174 | lib/gui/gui/gui.h \ |
---|
175 | lib/gui/gui/gui_gtk.h \ |
---|
176 | lib/gui/gui/gui_element.h \ |
---|
177 | lib/gui/gui/gui_video.h \ |
---|
178 | lib/gui/gui/gui_audio.h \ |
---|
179 | lib/gui/gui/gui_exec.h \ |
---|
180 | lib/gui/gui/gui_flags.h \ |
---|
181 | lib/gui/gui/gui_banner.h \ |
---|
182 | lib/gui/gui/gui_keys.h \ |
---|
183 | lib/gui/gui/gui_update.h \ |
---|
184 | subprojects/benchmark.h |
---|
185 | |
---|
186 | libORXgui_a_CPPFLAGS=$(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) |
---|
187 | |
---|
188 | libORXgui_a_SOURCES = lib/gui/gui/gui.cc \ |
---|
189 | lib/gui/gui/gui_gtk.cc \ |
---|
190 | lib/gui/gui/gui_element.cc \ |
---|
191 | lib/gui/gui/gui_video.cc \ |
---|
192 | lib/gui/gui/gui_audio.cc \ |
---|
193 | lib/gui/gui/gui_exec.cc \ |
---|
194 | lib/gui/gui/gui_flags.cc \ |
---|
195 | lib/gui/gui/gui_banner.cc \ |
---|
196 | lib/gui/gui/gui_keys.cc \ |
---|
197 | lib/gui/gui/gui_update.cc |
---|
198 | |
---|
199 | |
---|
200 | ## orxonox.conf will be used from home-dir instead. |
---|
201 | EXTRA_DIST = orxonox.conf \ |
---|
202 | proto/proto_class.h \ |
---|
203 | proto/proto_class.cc \ |
---|
204 | proto/proto_singleton.h \ |
---|
205 | proto/proto_singleton.cc \ |
---|
206 | proto/proto_world_entity.h \ |
---|
207 | proto/proto_world_entity.cc |
---|
208 | |
---|
209 | if SUB_PROJECTS |
---|
210 | SUB_PROGS = lib subprojects |
---|
211 | else |
---|
212 | SUB_PROGS = |
---|
213 | endif |
---|
214 | |
---|
215 | SUBDIRS = . \ |
---|
216 | $(SUB_PROGS) |
---|
217 | |
---|
218 | # uncomment the following if orxonox requires the math library |
---|
219 | #orxonox_LDADD=-lm |
---|
220 | |
---|
221 | #EXTRA_DIST=orxonox.lsm.in orxonox.spec.in orxonox.texinfo |
---|
222 | |
---|
223 | # if you write a self-test script named `chk', uncomment the |
---|
224 | # following and add `chk' to the EXTRA_DIST list |
---|
225 | #TESTS=chk |
---|
226 | |
---|
227 | # build and install the .info pages |
---|
228 | #info_TEXINFOS = orxonox.texinfo |
---|
229 | #orxonox_TEXINFOS = gpl.texinfo |
---|
230 | |
---|
231 | # install the man pages |
---|
232 | #man_MANS=orxonox.1 |
---|