c-ares embbeded builds header include paths fully defined in makefiles

This commit is contained in:
Yang Tse 2009-06-04 04:13:39 +00:00
parent 52b2bc4109
commit 13fdb9d8a5
4 changed files with 27 additions and 2 deletions

View file

@ -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