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