X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2FMakefile.am;h=9bd77efc97dff0fb92b24c5ade92d93e2e20d483;hb=e4a8896fdc98d29bc0af16bda19599e53f259d1c;hp=47c956298e508b2ea0093f18967eb2a9fd5da633;hpb=cafe89047c600bc4570616185239a545065f01cd;p=simgear.git diff --git a/simgear/Makefile.am b/simgear/Makefile.am index 47c95629..9bd77efc 100644 --- a/simgear/Makefile.am +++ b/simgear/Makefile.am @@ -1,41 +1,43 @@ -if ENABLE_UNIX_SERIAL -SERIAL_DIRS = serial -else -SERIAL_DIRS = -endif +EXTRA_DIST = simgear_config.h.vc5 simgear_config.h-msvc71 version.h.in -# if HAVE_GDBM -# GDBM_DIRS = -# else -# GDBM_DIRS = gdbm -# endif +include_HEADERS = \ + compiler.h constants.h sg_inlines.h version.h -if HAVE_ZLIB -ZLIB_DIRS = +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 - -EXTRA_DIST = version.h.in - -include_HEADERS = \ - compiler.h constants.h fg_traits.hxx fg_zlib.h inlines.h version.h +if HAVE_THREADS +SGTHREAD_DIR = threads +else +SGTHREAD_DIR = +endif -SUBDIRS = \ - bucket \ +SUBDIRS_ALWAYS = \ + xml \ debug \ + misc \ + structure \ + bucket \ ephemeris \ + io \ magvar \ math \ + nasal \ + props \ + route \ + serial \ + timing + +SUBDIRS = $(SUBDIRS_ALWAYS) \ + $(compatibility_DIR) \ $(METAR_DIRS) \ - misc \ - screen \ - $(SERIAL_DIRS) \ - sky \ - timing \ - xgl \ - $(ZLIB_DIRS) + $(SG_EXTRA_DIRS) \ + $(SGTHREAD_DIR) + +DIST_SUBDIRS = $(SUBDIRS_ALWAYS) compatibility scene sound screen environment threads