noinst_LIBRARIES = libAirports.a
-noinst_PROGRAMS = buildsimple
+noinst_PROGRAMS = calc_loc
libAirports_a_SOURCES = \
- genapt.cxx genapt.hxx \
- simple.cxx simple.hxx
+ apt_loader.cxx apt_loader.hxx \
+ runways.cxx runways.hxx \
+ simple.cxx simple.hxx \
+ runwayprefs.cxx runwayprefs.hxx \
+ parking.cxx parking.hxx \
+ groundnetwork.cxx groundnetwork.hxx \
+ dynamics.cxx dynamics.hxx \
+ trafficcontrol.hxx trafficcontrol.cxx
-buildsimple_SOURCES = buildsimple.cxx
+calc_loc_SOURCES = calc_loc.cxx
+calc_loc_LDADD = -lsgmath -lsgdebug -lsgmisc -lz $(base_LIBS)
-buildsimple_LDADD = libAirports.a -lsgdebug -lsgmisc -lmk4 -lz
-
-INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src