Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/Makefile.am @ 7348

Last change on this file since 7348 was 7151, checked in by bensch, 19 years ago

orxonox/trunk: new and more improved WE make process

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