1#============================================================================== 2# Makefile.am for the source root. 3# $Id: Makefile.am 427 2009-11-23 22:48:26Z neoneurone $ 4#============================================================================== 5SUBDIRS = binreloc enum framework mapgen mas model networking pngfuncs \ 6 simulator structure tinyxml tinyxpath triangulation 7 8AM_CPPFLAGS = \ 9 -I@top_srcdir@/src \ 10 -I@top_srcdir@/src/binreloc \ 11 -I@top_srcdir@/src/enum \ 12 -I@top_srcdir@/src/framework \ 13 -I@top_srcdir@/src/mas \ 14 -I@top_srcdir@/src/mapgen \ 15 -I@top_srcdir@/src/model \ 16 -I@top_srcdir@/src/networking \ 17 -I@top_srcdir@/src/pngfuncs \ 18 -I@top_srcdir@/src/simulator \ 19 -I@top_srcdir@/src/structure \ 20 -I@top_srcdir@/src/tinyxml \ 21 -I@top_srcdir@/src/tinyxpath \ 22 -I@top_srcdir@/src/triangulation \ 23 -DDATADIR=\"@datadir@\" \ 24 -DSYSCONFDIR=\"@sysconfdir@\" 25 26 27#============================================================================== 28# The main binary executable. 29# It's necessary to compile the other programs after the main binary. 30#============================================================================== 31bin_PROGRAMS = opencity 32 33 34#============================================================================== 35# The OpenCity Zen server. 36# We compile it but we do not install it yet 37#============================================================================== 38noinst_PROGRAMS = oczen 39 40 41#============================================================================== 42# Main OpenCity executable 43#============================================================================== 44opencity_LDADD = \ 45 binreloc/libbinreloc.a \ 46 framework/libsharpplus.la \ 47 mapgen/libmapgen.a \ 48 mas/libmas.a \ 49 model/libmodel.a \ 50 networking/libnet.a \ 51 pngfuncs/libpngfuncs.a \ 52 simulator/libsim.a \ 53 structure/libstruct.a \ 54 tinyxml/libtinyxml.a \ 55 tinyxpath/libtinyxpath.a \ 56 triangulation/libtriangulation.a 57 58 59if OPENCITY_SDL_MIXER 60 AUDIO_CPP = audiomanagersdl.cpp 61else 62 AUDIO_CPP = audiomanager.cpp 63endif 64 65 66opencity_SOURCES = \ 67 $(AUDIO_CPP) \ 68 buildinglayer.cpp \ 69 city.cpp \ 70 conf.cpp \ 71 destination.cpp \ 72 extensionmanager.cpp \ 73 globalvar.cpp \ 74 graphicmanager.cpp \ 75 gui3dview.cpp \ 76 guibar.cpp \ 77 guibutton.cpp \ 78 guicontainer.cpp \ 79 guilabel.cpp \ 80 guimain.cpp \ 81 layer.cpp \ 82 main.cpp \ 83 map.cpp \ 84 movement.cpp \ 85 movementmanager.cpp \ 86 renderer.cpp \ 87 ui.cpp \ 88 pathfinder.cpp \ 89 persistence.cpp \ 90 property.cpp \ 91 propertymanager.cpp \ 92 propertymanager2.cpp \ 93 texture.cpp \ 94 vehicle.cpp 95 96 97noinst_HEADERS = \ 98 audiomanager.h \ 99 audiomanagersdl.h \ 100 buildinglayer.h \ 101 city.h \ 102 conf.h \ 103 destination.h \ 104 enum.h \ 105 extensionmanager.h \ 106 font_8x8.h \ 107 globalvar.h \ 108 graphicmanager.h \ 109 gui3dview.h \ 110 guibar.h \ 111 guibutton.h \ 112 guicontainer.h \ 113 guilabel.h \ 114 guimain.h \ 115 layer.h \ 116 macros.h \ 117 main.h \ 118 map.h \ 119 movement.h \ 120 movementmanager.h \ 121 pathfinder.h \ 122 persistence.h \ 123 property.h \ 124 propertymanager.h \ 125 propertymanager2.h \ 126 renderer.h \ 127 SimpleOpt.h \ 128 texture.h \ 129 ui.h \ 130 vehicle.h \ 131 zen.h 132 133 134#============================================================================== 135# Zen server executable 136#============================================================================== 137oczen_LDADD = \ 138 binreloc/libbinreloc.a \ 139 mapgen/libmapgen.a \ 140 mas/libmas.a \ 141 model/libmodel.a \ 142 networking/libnet.a \ 143 pngfuncs/libpngfuncs.a \ 144 simulator/libsim.a \ 145 structure/libstruct.a \ 146 tinyxml/libtinyxml.a \ 147 tinyxpath/libtinyxpath.a \ 148 triangulation/libtriangulation.a 149 150 151oczen_SOURCES = \ 152 audiomanager.cpp \ 153 buildinglayer.cpp \ 154 city.cpp \ 155 conf.cpp \ 156 destination.cpp \ 157 globalvar.cpp \ 158 graphicmanager.cpp \ 159 gui3dview.cpp \ 160 guibar.cpp \ 161 guibutton.cpp \ 162 guicontainer.cpp \ 163 guilabel.cpp \ 164 guimain.cpp \ 165 layer.cpp \ 166 map.cpp \ 167 movement.cpp \ 168 movementmanager.cpp \ 169 renderer.cpp \ 170 ui.cpp \ 171 pathfinder.cpp \ 172 persistence.cpp \ 173 property.cpp \ 174 propertymanager.cpp \ 175 propertymanager2.cpp \ 176 texture.cpp \ 177 vehicle.cpp \ 178 zen.cpp 179 180