]> git.mxchange.org Git - simgear.git/blobdiff - simgear/Makefile.am
Patch from Frederic Bouvier:
[simgear.git] / simgear / Makefile.am
index 9bdce9d4d4860b837a68dbb5ac6d2a8574c354bf..2edf0ce7d158c9090960d17fa2d08762d41bd9c0 100644 (file)
@@ -1,21 +1,3 @@
-if ENABLE_UNIX_SERIAL
-SERIAL_DIRS = serial
-else
-SERIAL_DIRS =
-endif
-
-# if HAVE_GDBM
-# GDBM_DIRS =
-# else
-# GDBM_DIRS = gdbm
-# endif
-
-if HAVE_ZLIB
-ZLIB_DIRS =
-else
-ZLIB_DIRS = zlib
-endif
-
 if HAVE_THREADS
 SGTHREAD_DIR = threads
 else
@@ -25,27 +7,28 @@ endif
 # METAR_DIRS =
 METAR_DIRS = metar
 
-EXTRA_DIST = version.h.in
+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 = \
-       $(ZLIB_DIRS) \
-       bucket \
+       compatibility \
+       xml \
        debug \
+       misc \
+       bucket \
        ephemeris \
+       io \
        magvar \
        math \
        $(METAR_DIRS) \
-       xml \
-       misc \
-       io \
        route \
        screen \
-       $(SERIAL_DIRS) \
+       serial \
        sky \
        $(SGTHREAD_DIR) \
        timing \
        xgl
 
+DIST_SUBDIRS = $(SUBDIRS)