X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2FMakefile.am;h=9bd77efc97dff0fb92b24c5ade92d93e2e20d483;hb=956b4406d0e57be455381bcc06a3d5855034e471;hp=7d62acec4ae8e5d0808a55ab654b9ba06648cfc8;hpb=e07af680183126847f1547a7ad8101e43fbe9023;p=simgear.git diff --git a/simgear/Makefile.am b/simgear/Makefile.am index 7d62acec..9bd77efc 100644 --- a/simgear/Makefile.am +++ b/simgear/Makefile.am @@ -1,44 +1,43 @@ -if ENABLE_UNIX_SERIAL -SERIAL_DIRS = serial -else -SERIAL_DIRS = -endif +EXTRA_DIST = simgear_config.h.vc5 simgear_config.h-msvc71 version.h.in -# if HAVE_GDBM -# GDBM_DIRS = -# else -# GDBM_DIRS = gdbm -# endif +include_HEADERS = \ + compiler.h constants.h sg_inlines.h version.h -if HAVE_ZLIB -ZLIB_DIRS = +if WANT_HEADLESS +SG_EXTRA_DIRS = +METAR_DIRS = else -ZLIB_DIRS = zlib +SG_EXTRA_DIRS = scene sound screen +METAR_DIRS = environment endif -# METAR_DIRS = -METAR_DIRS = metar - -EXTRA_DIST = version.h.in - -include_HEADERS = \ - compiler.h constants.h fg_traits.hxx fg_zlib.h inlines.h version.h +if HAVE_THREADS +SGTHREAD_DIR = threads +else +SGTHREAD_DIR = +endif -SUBDIRS = \ - bucket \ +SUBDIRS_ALWAYS = \ + xml \ debug \ + misc \ + structure \ + bucket \ ephemeris \ io \ magvar \ math \ - $(METAR_DIRS) \ - xml \ - misc \ + nasal \ + props \ route \ - screen \ - $(SERIAL_DIRS) \ - sky \ - timing \ - xgl \ - $(ZLIB_DIRS) + serial \ + timing + +SUBDIRS = $(SUBDIRS_ALWAYS) \ + $(compatibility_DIR) \ + $(METAR_DIRS) \ + $(SG_EXTRA_DIRS) \ + $(SGTHREAD_DIR) + +DIST_SUBDIRS = $(SUBDIRS_ALWAYS) compatibility scene sound screen environment threads