From 13fdb9d8a56deff52eb16bce6b78e6710a42958a Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 4 Jun 2009 04:13:39 +0000 Subject: c-ares embbeded builds header include paths fully defined in makefiles --- tests/server/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/server/Makefile.am') diff --git a/tests/server/Makefile.am b/tests/server/Makefile.am index 7c520ae04..c8863c265 100644 --- a/tests/server/Makefile.am +++ b/tests/server/Makefile.am @@ -34,12 +34,19 @@ AUTOMAKE_OPTIONS = foreign nostdinc # $(top_builddir)/ares is for in-tree c-ares's generated ares_build.h file # $(top_srcdir)/ares is for in-tree c-ares's external include files +if USE_EMBEDDED_ARES INCLUDES = -I$(top_builddir)/include \ -I$(top_srcdir)/include \ -I$(top_builddir)/lib \ -I$(top_srcdir)/lib \ -I$(top_builddir)/ares \ -I$(top_srcdir)/ares +else +INCLUDES = -I$(top_builddir)/include \ + -I$(top_srcdir)/include \ + -I$(top_builddir)/lib \ + -I$(top_srcdir)/lib +endif # Makefile.inc provides the source defines (noinst_PROGRAMS, useful, *_SOURCES, and *_LDADD) include Makefile.inc -- cgit v1.2.3