+includedir = @includedir@/serial
+
noinst_PROGRAMS = testserial
lib_LIBRARIES = libsgserial.a
testserial_SOURCES = testserial.cxx
testserial_LDADD = \
- $(top_builddir)/src/serial/libsgserial.a \
- $(top_builddir)/src/debug/libsgdebug.a
+ $(top_builddir)/simgear/serial/libsgserial.a \
+ $(top_builddir)/simgear/debug/libsgdebug.a
-INCLUDES += -I$(top_builddir)/src
+if OLD_AUTOMAKE
+INCLUDES += -I$(top_srcdir)
+else
+INCLUDES = -I$(top_srcdir)
+endif