]> git.mxchange.org Git - simgear.git/blobdiff - simgear/Makefile.am
Add missing header for printf
[simgear.git] / simgear / Makefile.am
index b36ab91ed6a82bda01a2aa528b786fe8fc4ef370..d4a9b6059d8d4978d0969e80dae1ae7a5e6d8dd2 100644 (file)
@@ -1,27 +1,50 @@
-if ENABLE_UNIX_SERIAL
-SERIAL_DIRS = serial
+if ENABLE_HLA
+HLA_DIR = hla
 else
-SERIAL_DIRS =
+HLA_DIR =
 endif
 
-if HAVE_ZLIB
-ZLIB_DIRS =
+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
-ZLIB_DIRS = zlib
+SG_EXTRA_DIRS = scene sound screen
+METAR_DIRS = environment
 endif
 
-METAR_DIRS =
-# METAR_DIRS = metar
+if HAVE_THREADS
+SGTHREAD_DIR = threads
+else
+SGTHREAD_DIR = 
+endif
 
-SUBDIRS = \
-       include \
-       bucket \
+SUBDIRS_ALWAYS = \
+       xml \
        debug \
+       misc \
+       structure \
+       bucket \
+       ephemeris \
+       $(HLA_DIR) \
+       $(SGTHREAD_DIR) \
+       io \
+       magvar \
        math \
+       nasal \
+       props \
+       route \
+       serial \
+       timing
+
+SUBDIRS = $(SUBDIRS_ALWAYS) \
+       $(compatibility_DIR) \
        $(METAR_DIRS) \
-       misc \
-       screen \
-       $(SERIAL_DIRS) \
-       xgl \
-       $(ZLIB_DIRS)
+       $(SG_EXTRA_DIRS)
+
+DIST_SUBDIRS = $(SUBDIRS_ALWAYS) compatibility scene sound screen environment threads