| 1 | MAINSRCDIR=. |
|---|
| 2 | include $(MAINSRCDIR)/defs/include_paths.am |
|---|
| 3 | |
|---|
| 4 | include story_entities/Makefile.am |
|---|
| 5 | |
|---|
| 6 | LIB_PREFIX=lib |
|---|
| 7 | include $(LIB_PREFIX)/BuildLibs.am |
|---|
| 8 | WORLDENTITY_PREFIX=world_entities |
|---|
| 9 | include $(WORLDENTITY_PREFIX)/world_entity.am |
|---|
| 10 | |
|---|
| 11 | #"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include" |
|---|
| 12 | |
|---|
| 13 | bin_PROGRAMS = orxonox |
|---|
| 14 | |
|---|
| 15 | orxonox_CPPFLAGS = -DIS_ORXONOX -DPKG_LIBDIR="\"$(pkglibdir)\"" |
|---|
| 16 | orxonox_LDFLAGS = |
|---|
| 17 | ##-ldl -rdynamic |
|---|
| 18 | |
|---|
| 19 | orxonox_DEPENDENCIES = \ |
|---|
| 20 | world_entities/libORXwe.a \ |
|---|
| 21 | util/libORXutils.a \ |
|---|
| 22 | $(LIBLTDL) \ |
|---|
| 23 | $(libORXlibs_a_LIBRARIES_) \ |
|---|
| 24 | $(WorldEntities_LIBRARIES_) |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | orxonox_LDADD = \ |
|---|
| 28 | world_entities/libORXwe.a \ |
|---|
| 29 | util/libORXutils.a \ |
|---|
| 30 | $(libORXlibs_a_LIBRARIES_) \ |
|---|
| 31 | $(WorldEntities_LIBRARIES_) \ |
|---|
| 32 | @LIBLTDL@ \ |
|---|
| 33 | @LIBADD_DL@ \ |
|---|
| 34 | $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS) |
|---|
| 35 | |
|---|
| 36 | orxonox_SOURCES = \ |
|---|
| 37 | $(StoryEntities_SOURCES_) \ |
|---|
| 38 | orxonox.cc \ |
|---|
| 39 | \ |
|---|
| 40 | lib/particles/model_particles.cc \ |
|---|
| 41 | lib/particles/spark_particles.cc \ |
|---|
| 42 | lib/particles/sprite_particles.cc \ |
|---|
| 43 | lib/particles/plane_emitter.cc \ |
|---|
| 44 | lib/graphics/effects/fog_effect.cc \ |
|---|
| 45 | lib/graphics/effects/lense_flare.cc \ |
|---|
| 46 | \ |
|---|
| 47 | util/multiplayer_team_deathmatch.cc \ |
|---|
| 48 | \ |
|---|
| 49 | subprojects/benchmark.cc |
|---|
| 50 | |
|---|
| 51 | noinst_HEADERS = \ |
|---|
| 52 | $(StoryEntities_HEADERS_) \ |
|---|
| 53 | orxonox.h \ |
|---|
| 54 | ability.h \ |
|---|
| 55 | defs/message_structures.h \ |
|---|
| 56 | defs/stdincl.h \ |
|---|
| 57 | defs/stdlibincl.h \ |
|---|
| 58 | defs/sdlincl.h \ |
|---|
| 59 | defs/glincl.h \ |
|---|
| 60 | defs/alincl.h \ |
|---|
| 61 | defs/comincl.h \ |
|---|
| 62 | defs/confincl.h \ |
|---|
| 63 | defs/error.h \ |
|---|
| 64 | defs/debug.h \ |
|---|
| 65 | defs/globals.h \ |
|---|
| 66 | defs/compiler.h \ |
|---|
| 67 | defs/class_id.h \ |
|---|
| 68 | subprojects/benchmark.h |
|---|
| 69 | |
|---|
| 70 | ## orxonox.conf will be used from home-dir instead. |
|---|
| 71 | EXTRA_DIST = proto/proto_class.h \ |
|---|
| 72 | proto/proto_class.cc \ |
|---|
| 73 | proto/proto_singleton.h \ |
|---|
| 74 | proto/proto_singleton.cc \ |
|---|
| 75 | proto/proto_world_entity.h \ |
|---|
| 76 | proto/proto_world_entity.cc \ |
|---|
| 77 | defs/include_paths.am \ |
|---|
| 78 | story_entities/Makefile.am |
|---|
| 79 | |
|---|
| 80 | if SUB_PROJECTS |
|---|
| 81 | SUB_PROGS = subprojects |
|---|
| 82 | else |
|---|
| 83 | SUB_PROGS = |
|---|
| 84 | endif |
|---|
| 85 | |
|---|
| 86 | SUBDIRS = lib \ |
|---|
| 87 | util \ |
|---|
| 88 | world_entities \ |
|---|
| 89 | . \ |
|---|
| 90 | $(SUB_PROGS) |
|---|
| 91 | |
|---|
| 92 | |
|---|
| 93 | #EXTRA_DIST=orxonox.lsm.in orxonox.spec.in orxonox.texinfo |
|---|
| 94 | |
|---|
| 95 | # if you write a self-test script named `chk', uncomment the |
|---|
| 96 | # following and add `chk' to the EXTRA_DIST list |
|---|
| 97 | #TESTS=chk |
|---|
| 98 | |
|---|
| 99 | # build and install the .info pages |
|---|
| 100 | #info_TEXINFOS = orxonox.texinfo |
|---|
| 101 | #orxonox_TEXINFOS = gpl.texinfo |
|---|
| 102 | |
|---|
| 103 | # install the man pages |
|---|
| 104 | #man_MANS=orxonox.1 |
|---|