From 1e7125ae7b7e83fc5f86fa6d0ac7038865eacf1f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 15 Jul 2008 05:46:49 +0000 Subject: add comment for include paths --- src/Makefile.am | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index cf806abe1..1d0235a77 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,7 +5,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2005, Daniel Stenberg, , et al. +# Copyright (C) 1998 - 2008, Daniel Stenberg, , et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -22,10 +22,16 @@ ########################################################################### AUTOMAKE_OPTIONS = foreign nostdinc -# we use srcdir/src for "private" includes -# we use srcdir/include for the static global include files -# we use builddir/src for the generated include files to get found -# we use srcdir/lib for the header files we "borrow" from the lib +# 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_builddir)/src is for curl's generated src/config.h file +# $(top_srcdir)/lib is for libcurl's lib/setup.h and other "borrowed" files +# $(top_srcdir)/src is for curl's src/setup.h and "curl-private" files INCLUDES = -I$(top_srcdir)/include \ -I$(top_builddir)/lib \ -- cgit v1.2.3