]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/Makefile.am
Patch from Andy Ross:
[flightgear.git] / src / Airports / Makefile.am
index 6ececcd0fa43b9de56a897f7740e36ef26ad65f1..33effd4cfaa4cb5a41113603c4a2538c0aa713b8 100644 (file)
@@ -1,12 +1,19 @@
 noinst_LIBRARIES = libAirports.a
 
-noinst_PROGRAMS = buildsimple
+noinst_PROGRAMS = gensimple genrunways
 
 libAirports_a_SOURCES = \
+       runways.cxx runways.hxx \
        simple.cxx simple.hxx
 
-buildsimple_SOURCES = buildsimple.cxx
+gensimple_SOURCES = gensimple.cxx
+gensimple_LDADD = libAirports.a -lsgdebug -lsgmisc -lsgxml -lmk4 -lz
 
-buildsimple_LDADD = libAirports.a -lsgdebug -lsgmisc -lmk4 -lz
+genrunways_SOURCES = genrunways.cxx
+genrunways_LDADD = libAirports.a -lsgdebug -lsgmisc -lsgxml -lmk4 -lz
 
-INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
+if OLD_AUTOMAKE
+INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
+else
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
+endif