lib_LIBRARIES = libsgroute.a
-include_HEADERS = waypoint.hxx
+include_HEADERS = route.hxx waypoint.hxx
libsgroute_a_SOURCES = \
+ route.cxx \
waypoint.cxx
+if OLD_AUTOMAKE
INCLUDES += -I$(top_srcdir)
+else
+INCLUDES = -I$(top_srcdir)
+endif
-noinst_PROGRAMS = waytest
+noinst_PROGRAMS = waytest routetest
waytest_SOURCES = waytest.cxx
waytest_LDADD = \
$(top_builddir)/simgear/route/libsgroute.a \
$(top_builddir)/simgear/math/libsgmath.a \
- $(top_builddir)/simgear/debug/libsgdebug.a
\ No newline at end of file
+ $(top_builddir)/simgear/debug/libsgdebug.a \
+ $(top_builddir)/simgear/misc/libsgmisc.a \
+ $(top_builddir)/simgear/xml/libsgxml.a \
+ -lz
+
+routetest_SOURCES = routetest.cxx
+
+routetest_LDADD = \
+ $(top_builddir)/simgear/route/libsgroute.a \
+ $(top_builddir)/simgear/math/libsgmath.a \
+ $(top_builddir)/simgear/debug/libsgdebug.a