From: Alex Rousskov Date: Thu, 19 Feb 2009 20:28:48 +0000 (-0700) Subject: Fixed default -I options: there are no headers in $(top_builddir)/lib/ but X-Git-Tag: SQUID_3_2_0_1~1181 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ef7513ff6c25e778744d8d850e090a8fdb780adf;p=thirdparty%2Fsquid.git Fixed default -I options: there are no headers in $(top_builddir)/lib/ but there is autoconf.h in $(top_builddir)/include/ Fixed hard-coded OBJS dependencies: autoconf.h is in $(top_builddir)/include/ The bug apparently did not bother anyobody too much, adding to my suspicion that we do not really need these hard-coded OBJS dependencies. --- diff --git a/src/Common.am b/src/Common.am index 14d8edceed..084f108cca 100644 --- a/src/Common.am +++ b/src/Common.am @@ -17,10 +17,9 @@ INCLUDES = \ -I$(top_srcdir) \ -I$(top_srcdir)/include \ -I$(top_srcdir)/src \ - -I$(top_builddir)/lib \ + -I$(top_builddir)/include \ @SQUID_CPPUNIT_INC@ ## make all compiled sources depend on generated files ## XXX: Do we really need this? Does auto-dependency tracking work? -## XXX: And should not autoconf be in $(top_builddir)? -$(OBJS): $(top_srcdir)/include/version.h $(top_srcdir)/include/autoconf.h +$(OBJS): $(top_srcdir)/include/version.h $(top_builddir)/include/autoconf.h