X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2FMakefile.am;h=2c699944e882e7b9c85e032eb8515ca70ac261b2;hb=edc877442fb4a8df153353568e4c8dde988e026c;hp=5ae683d6ff48e8f0143242e0b57682861ddfdb6b;hpb=064ee8ba8f5ca90fd95d075fd11fb76acb3bc808;p=simgear.git diff --git a/simgear/Makefile.am b/simgear/Makefile.am index 5ae683d6..2c699944 100644 --- a/simgear/Makefile.am +++ b/simgear/Makefile.am @@ -1,33 +1,50 @@ -if HAVE_THREADS -SGTHREAD_DIR = threads +if ENABLE_HLA +HLA_DIR = hla else -SGTHREAD_DIR = +HLA_DIR = endif -# METAR_DIRS = -METAR_DIRS = metar - -EXTRA_DIST = simgear_config.h.vc5 version.h.in interpreter/ +EXTRA_DIST = simgear_config.h.vc5 simgear_config.h-msvc71 version.h.in include_HEADERS = \ - compiler.h constants.h sg_inlines.h sg_traits.hxx sg_zlib.h version.h + compiler.h constants.h sg_inlines.h version.h -SUBDIRS = \ +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) \ io \ magvar \ math \ - $(METAR_DIRS) \ + nasal \ + props \ route \ - screen \ serial \ - sky \ - $(SGTHREAD_DIR) \ - timing \ - xgl + timing + +SUBDIRS = $(SUBDIRS_ALWAYS) \ + $(compatibility_DIR) \ + $(METAR_DIRS) \ + $(SG_EXTRA_DIRS) \ + $(SGTHREAD_DIR) + +DIST_SUBDIRS = $(SUBDIRS_ALWAYS) compatibility scene sound screen environment threads -DIST_SUBDIRS = $(SUBDIRS) interpreter