noinst_LIBRARIES = libAirports.a
-noinst_PROGRAMS = buildsimple
+noinst_PROGRAMS = calc_loc
libAirports_a_SOURCES = \
- 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 \
+ gnnode.cxx gnnode.hxx \
+ groundnetwork.cxx groundnetwork.hxx \
+ dynamics.cxx dynamics.hxx \
+ dynamicloader.cxx dynamicloader.hxx \
+ sidstar.cxx sidstar.hxx \
+ runwayprefloader.cxx runwayprefloader.hxx \
+ xmlloader.cxx xmlloader.hxx \
+ runwaybase.cxx runwaybase.hxx \
+ pavement.cxx pavement.hxx
+
+calc_loc_SOURCES = calc_loc.cxx
+calc_loc_LDADD = -lsgmath -lsgdebug -lsgmisc -lsgstructure -lz $(base_LIBS)
-buildsimple_SOURCES = buildsimple.cxx
-
-buildsimple_LDADD = libAirports.a -lsgdebug -lsgmisc -lmk4 -lz
-
-INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src