-if ENABLE_UNIX_SERIAL
-SERIAL_DIRS = serial
+if HAVE_THREADS
+SGTHREAD_DIR = threads
else
-SERIAL_DIRS =
+SGTHREAD_DIR =
endif
-# if HAVE_GDBM
-# GDBM_DIRS =
-# else
-# GDBM_DIRS = gdbm
-# endif
+# METAR_DIRS =
+METAR_DIRS = environment
-if HAVE_ZLIB
-ZLIB_DIRS =
-else
-ZLIB_DIRS = zlib
-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 fg_traits.hxx fg_zlib.h inlines.h version.h
+ compiler.h constants.h sg_inlines.h sg_traits.hxx version.h
SUBDIRS = \
- bucket \
+ $(compatibility_DIR) \
+ xml \
debug \
+ misc \
+ structure \
+ bucket \
ephemeris \
+ io \
magvar \
math \
$(METAR_DIRS) \
- misc \
+ nasal \
+ props \
+ route \
+ scene \
screen \
- $(SERIAL_DIRS) \
- sky \
- xgl \
- $(ZLIB_DIRS)
+ serial \
+ sound \
+ $(SGTHREAD_DIR) \
+ timing \
+ xgl
+DIST_SUBDIRS = $(SUBDIRS) compatibility threads