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/particles/particle_engine.cc \ |
---|
78 | lib/graphics/particles/particle_system.cc \ |
---|
79 | lib/graphics/particles/particle_emitter.cc \ |
---|
80 | lib/lang/base_entity.cc \ |
---|
81 | lib/lang/base_object.cc \ |
---|
82 | lib/util/ini_parser.cc \ |
---|
83 | lib/util/substring.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 | noinst_HEADERS = orxonox.h \ |
---|
96 | game_loader.h \ |
---|
97 | track_manager.h \ |
---|
98 | ability.h \ |
---|
99 | world_entities/camera.h \ |
---|
100 | keynames.h \ |
---|
101 | command_node.h \ |
---|
102 | message_structures.h \ |
---|
103 | track_manager.h \ |
---|
104 | track_node.h \ |
---|
105 | util/animation/animation.h \ |
---|
106 | util/animation/t_animation.h \ |
---|
107 | util/animation/animation3d.h \ |
---|
108 | util/animation/animation_player.h \ |
---|
109 | garbage_collector.h \ |
---|
110 | story_entities/story_entity.h \ |
---|
111 | story_entities/story_def.h \ |
---|
112 | story_entities/campaign.h \ |
---|
113 | story_entities/world.h \ |
---|
114 | world_entities/world_entity.h \ |
---|
115 | world_entities/player.h \ |
---|
116 | world_entities/npc.h \ |
---|
117 | world_entities/environment.h \ |
---|
118 | world_entities/skysphere.h \ |
---|
119 | world_entities/skybox.h \ |
---|
120 | world_entities/power_up.h \ |
---|
121 | world_entities/terrain.h \ |
---|
122 | world_entities/weapon.h \ |
---|
123 | world_entities/projectile.h \ |
---|
124 | world_entities/satellite.h \ |
---|
125 | world_entities/character_attributes.h \ |
---|
126 | world_entities/test_gun.h \ |
---|
127 | world_entities/test_bullet.h \ |
---|
128 | ai/ai.h \ |
---|
129 | network/synchronisable.h \ |
---|
130 | defs/stdincl.h \ |
---|
131 | defs/glincl.h \ |
---|
132 | defs/comincl.h \ |
---|
133 | defs/confincl.h \ |
---|
134 | defs/error.h \ |
---|
135 | defs/debug.h \ |
---|
136 | defs/globals.h \ |
---|
137 | lib/coord/p_node.h \ |
---|
138 | lib/coord/null_parent.h \ |
---|
139 | lib/coord/helper_parent.h \ |
---|
140 | lib/graphics/graphics_engine.h \ |
---|
141 | lib/graphics/light.h \ |
---|
142 | lib/graphics/text_engine.h \ |
---|
143 | lib/graphics/particles/particle_engine.h \ |
---|
144 | lib/graphics/particles/particle_system.h \ |
---|
145 | lib/graphics/particles/particle_emitter.h \ |
---|
146 | lib/data/data_tank.h \ |
---|
147 | lib/lang/base_entity.h \ |
---|
148 | lib/lang/base_object.h \ |
---|
149 | util/common/list.h \ |
---|
150 | util/common/list_template.h \ |
---|
151 | util/resource_manager.h \ |
---|
152 | lib/util/ini_parser.h \ |
---|
153 | lib/util/substring.h \ |
---|
154 | lib/math/vector.h \ |
---|
155 | lib/math/curve.h \ |
---|
156 | glmenu/glmenu_imagescreen.h \ |
---|
157 | lib/gui/gui/gui.h \ |
---|
158 | lib/gui/gui/gui_gtk.h \ |
---|
159 | lib/gui/gui/gui_element.h \ |
---|
160 | lib/gui/gui/gui_video.h \ |
---|
161 | lib/gui/gui/gui_audio.h \ |
---|
162 | lib/gui/gui/gui_exec.h \ |
---|
163 | lib/gui/gui/gui_flags.h \ |
---|
164 | lib/gui/gui/gui_banner.h \ |
---|
165 | lib/gui/gui/gui_keys.h \ |
---|
166 | lib/gui/gui/gui_update.h \ |
---|
167 | subprojects/benchmark.h |
---|
168 | |
---|
169 | libORXgui_a_CPPFLAGS=$(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) |
---|
170 | |
---|
171 | libORXgui_a_SOURCES = lib/gui/gui/gui.cc \ |
---|
172 | lib/gui/gui/gui_gtk.cc \ |
---|
173 | lib/gui/gui/gui_element.cc \ |
---|
174 | lib/gui/gui/gui_video.cc \ |
---|
175 | lib/gui/gui/gui_audio.cc \ |
---|
176 | lib/gui/gui/gui_exec.cc \ |
---|
177 | lib/gui/gui/gui_flags.cc \ |
---|
178 | lib/gui/gui/gui_banner.cc \ |
---|
179 | lib/gui/gui/gui_keys.cc \ |
---|
180 | lib/gui/gui/gui_update.cc |
---|
181 | |
---|
182 | |
---|
183 | ## orxonox.conf will be used from home-dir instead. |
---|
184 | EXTRA_DIST = orxonox.conf \ |
---|
185 | proto/proto_class.h \ |
---|
186 | proto/proto_class.cc \ |
---|
187 | proto/proto_singleton.h \ |
---|
188 | proto/proto_singleton.cc \ |
---|
189 | proto/proto_world_entity.h \ |
---|
190 | proto/proto_world_entity.cc |
---|
191 | |
---|
192 | if SUB_PROJECTS |
---|
193 | SUB_PROGS = lib subprojects |
---|
194 | else |
---|
195 | SUB_PROGS = |
---|
196 | endif |
---|
197 | |
---|
198 | SUBDIRS = . \ |
---|
199 | $(SUB_PROGS) |
---|
200 | |
---|
201 | # uncomment the following if orxonox requires the math library |
---|
202 | #orxonox_LDADD=-lm |
---|
203 | |
---|
204 | #EXTRA_DIST=orxonox.lsm.in orxonox.spec.in orxonox.texinfo |
---|
205 | |
---|
206 | # if you write a self-test script named `chk', uncomment the |
---|
207 | # following and add `chk' to the EXTRA_DIST list |
---|
208 | #TESTS=chk |
---|
209 | |
---|
210 | # build and install the .info pages |
---|
211 | #info_TEXINFOS = orxonox.texinfo |
---|
212 | #orxonox_TEXINFOS = gpl.texinfo |
---|
213 | |
---|
214 | # install the man pages |
---|
215 | #man_MANS=orxonox.1 |
---|