]> git.mxchange.org Git - flightgear.git/blobdiff - src/Makefile.am
Moved random ground cover object management code (userdata.[ch]xx) over
[flightgear.git] / src / Makefile.am
index e806ae16c58c3492230c25cbfb8858fb4881f953..ce31e6ebb9789f6ef74c93671d887becf4e05a27 100644 (file)
@@ -1,15 +1,49 @@
+if ENABLE_WEATHERCM
+WEATHER_DIR = WeatherCM
+else
+WEATHER_DIR = Environment
+endif
+
+if HAVE_PLIB_PSL
+SCRIPTING_DIRS = Scripting
+else
+SCRIPTING_DIRS =
+endif
+
+if ENABLE_MPLAYER_AS
+MPLAYER_DIRS = MultiPlayer
+else
+MPLAYER_DIRS =
+endif
+
+if ENABLE_NETWORK_OLK
+NETWORK_DIRS = NetworkOLK
+else
+NETWORK_DIRS =
+endif
+
 SUBDIRS = \
-       Aircraft \
-       Airports \
-       Astro \
-       Autopilot \
-       Cockpit \
-       Controls \
-       FDM \
-       GUI \
-       Joystick \
-       Objects \
-       Scenery \
-       Time \
-       Weather \
-       Main
+        Include \
+        Aircraft \
+        Airports \
+        ATC \
+        Autopilot \
+        Cockpit \
+        Controls \
+        FDM \
+        GUI \
+        Input \
+       Instrumentation \
+        Model \
+        Navaids \
+        Network \
+       $(MPLAYER_DIRS) \
+        $(NETWORK_DIRS) \
+        Objects \
+        Scenery \
+        $(SCRIPTING_DIRS) \
+        Sound \
+        Systems \
+        Time \
+        $(WEATHER_DIR) \
+        Main