aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-08-07 18:06:37 +0000
committerYang Tse <yangsita@gmail.com>2006-08-07 18:06:37 +0000
commitb33f47804da5125d22f490ddcb6feba908bc2c36 (patch)
tree72b2cca94500547428f7948652e189119111afff /tests
parent7ba5e098a356a1c2ae3a7d7cfc61c46811815693 (diff)
Allow again proper compilation outside of the source tree
Diffstat (limited to 'tests')
-rw-r--r--tests/libtest/Makefile.am5
-rw-r--r--tests/server/Makefile.am6
2 files changed, 8 insertions, 3 deletions
diff --git a/tests/libtest/Makefile.am b/tests/libtest/Makefile.am
index 95cd9fb9f..e1b5cf1c3 100644
--- a/tests/libtest/Makefile.am
+++ b/tests/libtest/Makefile.am
@@ -28,9 +28,10 @@ AUTOMAKE_OPTIONS = foreign nostdinc
# -I$(top_srcdir)/lib is for the setup.h file, included by test.h
# -I$(top_builddir)/lib is for the config.h file, possibly included by the
# setup.h file
+
INCLUDES = -I$(top_srcdir)/include/curl \
- -I$(top_srcdir)/lib \
- -I$(top_builddir)/lib
+ -I$(top_builddir)/lib \
+ -I$(top_srcdir)/lib
LIBDIR = $(top_builddir)/lib
diff --git a/tests/server/Makefile.am b/tests/server/Makefile.am
index efcff01de..9b20d5c99 100644
--- a/tests/server/Makefile.am
+++ b/tests/server/Makefile.am
@@ -21,9 +21,13 @@
# $Id$
###########################################################################
+
+
AUTOMAKE_OPTIONS = foreign
-INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/include
+INCLUDES = -I$(top_srcdir)/include \
+ -I$(top_builddir)/lib \
+ -I$(top_srcdir)/lib
noinst_PROGRAMS = sws getpart sockfilt resolve tftpd