X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fmisc%2FMakefile.am;h=ee556730db2f4294f09f54aed4a381a15468e990;hb=2ed07850c616705695f2add269d187f981f8d09d;hp=dcf388efd2cc2ab4a794206a94178c08cb7f4c15;hpb=0d8ae0cabef1a470f48ce4e71ea5b1749a59d049;p=simgear.git diff --git a/simgear/misc/Makefile.am b/simgear/misc/Makefile.am index dcf388ef..ee556730 100644 --- a/simgear/misc/Makefile.am +++ b/simgear/misc/Makefile.am @@ -1,9 +1,9 @@ -## Process this file with automake to produce Makefile.in +includedir = @includedir@/misc if HAVE_ZLIB ZLIB_INCL = else -ZLIB_INCL = -I$(top_builddir)/zlib +ZLIB_INCL = -I$(top_builddir)/src/zlib endif lib_LIBRARIES = libsgmisc.a @@ -23,4 +23,4 @@ libsgmisc_a_SOURCES = \ texcoord.cxx \ zfstream.cxx -INCLUDES += -I$(top_builddir)/src +INCLUDES += -I$(top_builddir) $(ZLIB_INCL)