Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/shared_lib/src/Makefile.am @ 7271

Last change on this file since 7271 was 7269, checked in by bensch, 18 years ago

creating and linking ltdl… hmm.. lets see if this works

File size: 2.2 KB
Line 
1MAINSRCDIR=.
2include $(MAINSRCDIR)/defs/include_paths.am
3
4include story_entities/Makefile.am
5
6LIB_PREFIX=lib
7include lib/BuildLibs.am
8
9#"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include"
10
11bin_PROGRAMS = orxonox
12
13orxonox_CPPFLAGS = -DIS_ORXONOX -DPKG_LIBDIR="\"$(pkglibdir)\""
14orxonox_LDFLAGS = --export-dynamic -ldl -rdynamic
15##-ldl -rdynamic
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                $(LIBLTDL) \
26                $(libORXlibs_a_LIBRARIES_) \
27                $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS)
28
29orxonox_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.