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