]> git.mxchange.org Git - simgear.git/blobdiff - simgear/Makefile.am
Add missing header for printf
[simgear.git] / simgear / Makefile.am
index af82b4d76006eea0f46e994a11e9b34b46173507..d4a9b6059d8d4978d0969e80dae1ae7a5e6d8dd2 100644 (file)
@@ -1,7 +1,20 @@
-if ENABLE_UNIX_SERIAL
-SERIAL_DIRS = serial
+if ENABLE_HLA
+HLA_DIR = hla
 else
-SERIAL_DIRS =
+HLA_DIR =
+endif
+
+EXTRA_DIST = hla simgear_config.h-msvc90 version.h.in
+
+include_HEADERS = \
+       compiler.h constants.h sg_inlines.h version.h
+
+if WANT_HEADLESS
+SG_EXTRA_DIRS =
+METAR_DIRS = 
+else
+SG_EXTRA_DIRS = scene sound screen
+METAR_DIRS = environment
 endif
 
 if HAVE_THREADS
@@ -10,30 +23,28 @@ else
 SGTHREAD_DIR = 
 endif
 
-# METAR_DIRS =
-METAR_DIRS = metar
-
-EXTRA_DIST = simgear_config.h.vc5 version.h.in
-
-include_HEADERS = \
-       compiler.h constants.h sg_inlines.h sg_traits.hxx sg_zlib.h version.h
-
-SUBDIRS = \
+SUBDIRS_ALWAYS = \
        xml \
-       interpreter \
        debug \
        misc \
+       structure \
        bucket \
        ephemeris \
+       $(HLA_DIR) \
+       $(SGTHREAD_DIR) \
        io \
        magvar \
        math \
-       $(METAR_DIRS) \
+       nasal \
+       props \
        route \
-       screen \
-       $(SERIAL_DIRS) \
-       sky \
-       $(SGTHREAD_DIR) \
-       timing \
-       xgl
+       serial \
+       timing
+
+SUBDIRS = $(SUBDIRS_ALWAYS) \
+       $(compatibility_DIR) \
+       $(METAR_DIRS) \
+       $(SG_EXTRA_DIRS)
+
+DIST_SUBDIRS = $(SUBDIRS_ALWAYS) compatibility scene sound screen environment threads