X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2FMakefile.am;h=9bd77efc97dff0fb92b24c5ade92d93e2e20d483;hb=c3133f020d257af9cdab6d6a88014327b1b8e58d;hp=2edf0ce7d158c9090960d17fa2d08762d41bd9c0;hpb=f8a49c41efb5dc77efc8dc4b0c23211306f57376;p=simgear.git diff --git a/simgear/Makefile.am b/simgear/Makefile.am index 2edf0ce7..9bd77efc 100644 --- a/simgear/Makefile.am +++ b/simgear/Makefile.am @@ -1,34 +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 sg_zlib.h version.h - -SUBDIRS = \ - compatibility \ +SUBDIRS_ALWAYS = \ xml \ debug \ misc \ + structure \ bucket \ ephemeris \ 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)