aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/Makefile.inc
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-01-20 04:17:11 +0100
committerYang Tse <yangsita@gmail.com>2013-01-20 04:20:02 +0100
commit63605d281f804382d2bd2d8655d73e188c12e071 (patch)
treef691a1c88b171b2399693d7421faa3d99762a48e /tests/libtest/Makefile.inc
parentf4cc54cb4746ae5a6d63438aae811f6543b13774 (diff)
Makefile.inc: fix $(top_srcdir) not allowed in _SOURCES variables
Diffstat (limited to 'tests/libtest/Makefile.inc')
-rw-r--r--tests/libtest/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/Makefile.inc b/tests/libtest/Makefile.inc
index 8e5248d25..d5a36becd 100644
--- a/tests/libtest/Makefile.inc
+++ b/tests/libtest/Makefile.inc
@@ -5,7 +5,7 @@ TESTUTIL = testutil.c testutil.h
TSTTRACE = testtrace.c testtrace.h
# files used only in some libcurl test programs
-WARNLESS = $(top_srcdir)/lib/warnless.c $(top_srcdir)/lib/warnless.h
+WARNLESS = ../../lib/warnless.c ../../lib/warnless.h
# these files are used in every single test program below
SUPPORTFILES = first.c test.h
@@ -25,7 +25,7 @@ noinst_PROGRAMS = chkhostname libauthretry libntlmconnect \
\
lib1500 lib1501 lib1502 lib1503 lib1504 lib1505
-chkhostname_SOURCES = chkhostname.c $(top_srcdir)/lib/curl_gethostname.c
+chkhostname_SOURCES = chkhostname.c ../../lib/curl_gethostname.c
chkhostname_LDADD = @CURL_NETWORK_LIBS@
chkhostname_DEPENDENCIES =
chkhostname_CPPFLAGS = $(AM_CPPFLAGS)