X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2FMakefile.am;h=9bd77efc97dff0fb92b24c5ade92d93e2e20d483;hb=167cba9e93bcc15e8c5f41fd8daadc958936b71a;hp=24681e0dc071e08201b04cd6d7b2c5d68eb806a4;hpb=d22640ef4e938b523bdc30cd83370977d30de856;p=simgear.git diff --git a/simgear/Makefile.am b/simgear/Makefile.am index 24681e0d..9bd77efc 100644 --- a/simgear/Makefile.am +++ b/simgear/Makefile.am @@ -1,37 +1,43 @@ +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 +SG_EXTRA_DIRS = scene sound screen +METAR_DIRS = environment +endif + if HAVE_THREADS SGTHREAD_DIR = threads 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 version.h - -SUBDIRS = \ - $(compatibility_DIR) \ +SUBDIRS_ALWAYS = \ xml \ debug \ misc \ + structure \ bucket \ ephemeris \ io \ magvar \ math \ - $(METAR_DIRS) \ + nasal \ props \ route \ - scene \ - screen \ serial \ - sound \ - $(SGTHREAD_DIR) \ - structure \ - 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)