]> git.mxchange.org Git - simgear.git/blobdiff - simgear/serial/Makefile.am
Oops, references to built libs need to be relative to $(top_builddir)
[simgear.git] / simgear / serial / Makefile.am
index 77c1feb8af6ced68b9b1b9b7e13f05798da272b0..7d4a64ca7e33119a5c2c67ff46721ad3d073c5b9 100644 (file)
@@ -1,3 +1,5 @@
+includedir = @includedir@/serial
+
 noinst_PROGRAMS = testserial
 
 lib_LIBRARIES = libsgserial.a
@@ -9,7 +11,7 @@ libsgserial_a_SOURCES = serial.cxx
 testserial_SOURCES = testserial.cxx
 
 testserial_LDADD = \
-       $(top_builddir)/serial/libsgserial.a \
-       $(top_builddir)/debug/libsgdebug.a
+       $(top_builddir)/simgear/serial/libsgserial.a \
+       $(top_builddir)/simgear/debug/libsgdebug.a
 
-INCLUDES += -I$(top_builddir)
+INCLUDES += -I$(top_srcdir)