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