X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2FMakefile.am;h=9bd77efc97dff0fb92b24c5ade92d93e2e20d483;hb=82dc6c32ec5075869d3269ed7d4f7ed7cbf635da;hp=b8c05870601da0372a8f90adf7e3ff566de06236;hpb=220a43bf4607c46a28a78c43b6037886884bd98f;p=simgear.git diff --git a/simgear/Makefile.am b/simgear/Makefile.am index b8c05870..9bd77efc 100644 --- a/simgear/Makefile.am +++ b/simgear/Makefile.am @@ -1,7 +1,14 @@ -if ENABLE_UNIX_SERIAL -SERIAL_DIRS = serial +EXTRA_DIST = simgear_config.h.vc5 simgear_config.h-msvc71 version.h.in + +include_HEADERS = \ + compiler.h constants.h sg_inlines.h version.h + +if WANT_HEADLESS +SG_EXTRA_DIRS = +METAR_DIRS = else -SERIAL_DIRS = +SG_EXTRA_DIRS = scene sound screen +METAR_DIRS = environment endif if HAVE_THREADS @@ -10,29 +17,27 @@ 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 \ debug \ misc \ + structure \ bucket \ ephemeris \ 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) \ + $(SGTHREAD_DIR) + +DIST_SUBDIRS = $(SUBDIRS_ALWAYS) compatibility scene sound screen environment threads