aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.am
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-15 05:46:49 +0000
committerYang Tse <yangsita@gmail.com>2008-07-15 05:46:49 +0000
commit1e7125ae7b7e83fc5f86fa6d0ac7038865eacf1f (patch)
treeb1a493326b67606e90dcb4fc6109bab756fe7a36 /lib/Makefile.am
parentaa4a7471dd159d7a3b7cfc8dd3e706e0223afa9b (diff)
add comment for include paths
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am13
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index ee77e76c4..92a049766 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -43,13 +43,18 @@ CLEANFILES = $(DSP) $(VCPROJ)
lib_LTLIBRARIES = libcurl.la
LIBCURL_LIBS = @LIBCURL_LIBS@
-# we use srcdir/include for the static global include files
-# we use builddir/lib for the generated lib/config.h file to get found
-# we use srcdir/lib for the lib-private header files
+# Specify our include paths here, and do it relative to $(top_srcdir) and
+# $(top_builddir), to ensure that these paths which belong to the library
+# being currently built and tested are searched before the library which
+# might possibly already be installed in the system.
+#
+# $(top_srcdir)/include is for libcurl's external include files
+# $(top_builddir)/lib is for libcurl's generated lib/config.h file
+# $(top_srcdir)/lib is for libcurl's lib/setup.h and other "private" files
INCLUDES = -I$(top_srcdir)/include \
-I$(top_builddir)/lib \
- -I$(top_srcdir)/lib
+ -I$(top_srcdir)/lib
VERSION=-version-info 5:0:1