summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-06-28 12:51:21 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-06-30 08:46:19 +1000
commit56efd8f95ef76e9a1d4365f2e8a5a8c126bb0757 (patch)
tree1fadbcaa44518c28596b3cfae852312a31e1c023 /src
parent03a5207d7479eeeefb209db8444c2bbd0701b519 (diff)
Fix out-of-tree builds.
Prefix relative paths in makefiles with $(srcdir). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/tet3/apilib/Makefile.am2
-rw-r--r--src/tet3/apishlib/Makefile.am2
-rw-r--r--src/tet3/dtet2lib/Makefile.am2
-rw-r--r--src/tet3/inetlib/Makefile.am2
-rw-r--r--src/tet3/servlib/Makefile.am2
-rw-r--r--src/tet3/tcc/Makefile.am2
-rw-r--r--src/tet3/tcclib/Makefile.am2
-rw-r--r--src/tet3/tcm/Makefile.am2
8 files changed, 8 insertions, 8 deletions
diff --git a/src/tet3/apilib/Makefile.am b/src/tet3/apilib/Makefile.am
index bf5179e4..4c38405c 100644
--- a/src/tet3/apilib/Makefile.am
+++ b/src/tet3/apilib/Makefile.am
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I../inc -I$(top_srcdir)/include
+AM_CPPFLAGS = -I$(srcdir)/../inc -I$(top_srcdir)/include
# libapi_s is the shared portion of the library
xtslibdir = $(libexecdir)/xts5
diff --git a/src/tet3/apishlib/Makefile.am b/src/tet3/apishlib/Makefile.am
index 21a20c5f..61ff6e64 100644
--- a/src/tet3/apishlib/Makefile.am
+++ b/src/tet3/apishlib/Makefile.am
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I../inc -I$(top_srcdir)/include
+AM_CPPFLAGS = -I$(srcdir)/../inc -I$(top_srcdir)/include
noinst_LIBRARIES = libapi.a
libapi_a_SOURCES = \
dcancel.c \
diff --git a/src/tet3/dtet2lib/Makefile.am b/src/tet3/dtet2lib/Makefile.am
index 594ed76c..e937e183 100644
--- a/src/tet3/dtet2lib/Makefile.am
+++ b/src/tet3/dtet2lib/Makefile.am
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I../inc -I$(top_srcdir)/include
+AM_CPPFLAGS = -I$(srcdir)/../inc -I$(top_srcdir)/include
noinst_LTLIBRARIES = libdtet2.la
libdtet2_la_SOURCES = \
addarg.c \
diff --git a/src/tet3/inetlib/Makefile.am b/src/tet3/inetlib/Makefile.am
index 56bed722..5b72733a 100644
--- a/src/tet3/inetlib/Makefile.am
+++ b/src/tet3/inetlib/Makefile.am
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I../inc -I$(top_srcdir)/include
+AM_CPPFLAGS = -I$(srcdir)/../inc -I$(top_srcdir)/include
noinst_LIBRARIES = libapi.a
libapi_a_SOURCES = \
accept.c \
diff --git a/src/tet3/servlib/Makefile.am b/src/tet3/servlib/Makefile.am
index 7c3f78a1..8d7f47b2 100644
--- a/src/tet3/servlib/Makefile.am
+++ b/src/tet3/servlib/Makefile.am
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I../inc -I$(top_srcdir)/include
+AM_CPPFLAGS = -I$(srcdir)/../inc -I$(top_srcdir)/include
noinst_LIBRARIES = libapi.a
libapi_a_SOURCES = \
cloop.c \
diff --git a/src/tet3/tcc/Makefile.am b/src/tet3/tcc/Makefile.am
index 2e5a2631..e72ce9f1 100644
--- a/src/tet3/tcc/Makefile.am
+++ b/src/tet3/tcc/Makefile.am
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I../inc -I$(top_srcdir)/include \
+AM_CPPFLAGS = -I$(srcdir)/../inc -I$(top_srcdir)/include \
-DDEFAULT_TET_ROOT='"$(DEFAULT_TET_ROOT)"' \
-DDEFAULT_TET_EXEC_ROOT='"$(DEFAULT_TET_EXEC_ROOT)"'
bin_PROGRAMS = tcc
diff --git a/src/tet3/tcclib/Makefile.am b/src/tet3/tcclib/Makefile.am
index e256b99d..9e3fec11 100644
--- a/src/tet3/tcclib/Makefile.am
+++ b/src/tet3/tcclib/Makefile.am
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I../inc -I$(top_srcdir)/include
+AM_CPPFLAGS = -I$(srcdir)/../inc -I$(top_srcdir)/include
noinst_LTLIBRARIES = libtcc.la
libtcc_la_LIBADD = ../apilib/libapi.la ../apilib/libapi_s.la
libtcc_la_SOURCES = \
diff --git a/src/tet3/tcm/Makefile.am b/src/tet3/tcm/Makefile.am
index e68f1560..df9d6ced 100644
--- a/src/tet3/tcm/Makefile.am
+++ b/src/tet3/tcm/Makefile.am
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I../inc -I$(top_srcdir)/include
+AM_CPPFLAGS = -I$(srcdir)/../inc -I$(top_srcdir)/include
# libtcm_s is the shared part of the library pulled into libapi_s.
# libtcmmain and libtcmchild basically provide main() for tests or their