patch-src_Makefile_am 797 B

12345678910111213141516171819202122
  1. --- squid-3.0.STABLE20.orig/src/Makefile.am 2009-10-29 11:05:46.000000000 +0100
  2. +++ squid-3.0.STABLE20/src/Makefile.am 2009-12-11 23:26:08.000000000 +0100
  3. @@ -1010,6 +1010,7 @@ DEFAULT_MIB_PATH = $(datadir)/mib.txt
  4. DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  5. DEFS = @DEFS@ -DDEFAULT_CONFIG_FILE=\"$(DEFAULT_CONFIG_FILE)\"
  6. +HOSTCXX ?= @HOSTCXX@
  7. $(OBJS): $(top_srcdir)/include/version.h ../include/autoconf.h
  8. @@ -1034,6 +1035,11 @@ cache_cf.o: cf_parser.h
  9. squid.conf.default: cf_parser.h
  10. true
  11. +cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES)
  12. + $(HOSTCXX) -o $@ $(srcdir)/cf_gen.cc \
  13. + $(top_srcdir)/lib/util.c $(top_srcdir)/lib/assert.c \
  14. + -DNDEBUG -DBUILD_HOST_TOOL ${INCLUDES} ${HOSTCFLAGS}
  15. +
  16. cf_parser.h: cf.data cf_gen$(EXEEXT)
  17. ./cf_gen cf.data $(srcdir)/cf.data.depend