noinst_LIBRARIES = libAirports.a
-noinst_PROGRAMS = buildsimple
+noinst_PROGRAMS = gensimple genrunways
libAirports_a_SOURCES = \
- genapt.cxx genapt.hxx \
+ 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 -lgdbm -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