]> git.mxchange.org Git - flightgear.git/blobdiff - src/Makefile.am
Comment out timing calls, but leave them there for future timing experiments.
[flightgear.git] / src / Makefile.am
index 72aa7dffbdf8b48384af7c1ebdc892639cc355e1..c2bfba177e39c55c6cdeea5e07330c7eecf76891 100644 (file)
@@ -1,12 +1,43 @@
-libdir = ${exec_prefix}/lib
+if ENABLE_WEATHERCM
+WEATHER_DIR = WeatherCM
+else
+WEATHER_DIR = Environment
+endif
 
-lib_LTLIBRARIES = libsl.la libsm.la
+if HAVE_PLIB_PSL
+SCRIPTING_DIRS = Scripting
+else
+SCRIPTING_DIRS =
+endif
 
-libsl_la_SOURCES = \
-       sl.h slPortability.h \
-       slDSP.cxx slSample.cxx slEnvelope.cxx \
-       slSamplePlayer.cxx slScheduler.cxx
+if ENABLE_MPLAYER_AS
+MPLAYER_DIRS = MultiPlayer
+else
+MPLAYER_DIRS =
+endif
 
-libsm_la_SOURCES = sm.h slPortability.h smMixer.cxx
-
-INCLUDES += -I$(top_builddir) -I.
+SUBDIRS = \
+        Include \
+        Aircraft \
+        Airports \
+        ATC \
+        Autopilot \
+        Cockpit \
+        Controls \
+        FDM \
+        GUI \
+        Input \
+       Instrumentation \
+        Model \
+        Navaids \
+        Network \
+       $(MPLAYER_DIRS) \
+        Objects \
+       Replay \
+        Scenery \
+        $(SCRIPTING_DIRS) \
+        Sound \
+        Systems \
+        Time \
+        $(WEATHER_DIR) \
+        Main