X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2FMakefile.am;h=d4a9b6059d8d4978d0969e80dae1ae7a5e6d8dd2;hb=e4e31be7d43569a92a5d9fa7e784381b66cbd95a;hp=1f67b560ed78e115300cfd2fa0d307993165fa17;hpb=ae22321d9c532221164462d2bea2f73affceec8d;p=simgear.git diff --git a/simgear/Makefile.am b/simgear/Makefile.am index 1f67b560..d4a9b605 100644 --- a/simgear/Makefile.am +++ b/simgear/Makefile.am @@ -1,31 +1,50 @@ -# METAR_DIRS = -METAR_DIRS = environment +if ENABLE_HLA +HLA_DIR = hla +else +HLA_DIR = +endif -EXTRA_DIST = simgear_config.h.vc5 simgear_config.h-msvc71 version.h.in +EXTRA_DIST = hla simgear_config.h-msvc90 version.h.in include_HEADERS = \ compiler.h constants.h sg_inlines.h version.h -SUBDIRS = \ - $(compatibility_DIR) \ +if WANT_HEADLESS +SG_EXTRA_DIRS = +METAR_DIRS = +else +SG_EXTRA_DIRS = scene sound screen +METAR_DIRS = environment +endif + +if HAVE_THREADS +SGTHREAD_DIR = threads +else +SGTHREAD_DIR = +endif + +SUBDIRS_ALWAYS = \ xml \ debug \ misc \ structure \ bucket \ ephemeris \ + $(HLA_DIR) \ + $(SGTHREAD_DIR) \ io \ magvar \ math \ - $(METAR_DIRS) \ nasal \ props \ route \ - scene \ - screen \ serial \ - threads \ - timing \ - sound + timing + +SUBDIRS = $(SUBDIRS_ALWAYS) \ + $(compatibility_DIR) \ + $(METAR_DIRS) \ + $(SG_EXTRA_DIRS) + +DIST_SUBDIRS = $(SUBDIRS_ALWAYS) compatibility scene sound screen environment threads -DIST_SUBDIRS = $(SUBDIRS) compatibility