]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/Makefile.am
Moved random ground cover object management code (userdata.[ch]xx) over
[flightgear.git] / src / Airports / Makefile.am
index 33effd4cfaa4cb5a41113603c4a2538c0aa713b8..1a32318179685b50f9bd534efd4d5ff4a3426f53 100644 (file)
@@ -1,6 +1,6 @@
 noinst_LIBRARIES = libAirports.a
 
-noinst_PROGRAMS = gensimple genrunways
+noinst_PROGRAMS = gensimple genrunways calc_loc
 
 libAirports_a_SOURCES = \
        runways.cxx runways.hxx \
@@ -12,8 +12,7 @@ gensimple_LDADD = libAirports.a -lsgdebug -lsgmisc -lsgxml -lmk4 -lz
 genrunways_SOURCES = genrunways.cxx
 genrunways_LDADD = libAirports.a -lsgdebug -lsgmisc -lsgxml -lmk4 -lz
 
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
-else
+calc_loc_SOURCES = calc_loc.cxx
+calc_loc_LDADD = -lsgmath -lsgdebug -lsgmisc -lz
+
 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
-endif