From 1c67aca41a9d7ff133c27f841d55721b1701f9ee Mon Sep 17 00:00:00 2001 From: Neutron Soutmun Date: Thu, 10 May 2012 21:29:34 +0200 Subject: Fix build failed on --disable-dependency-tracking --- lib/Make_extra.am | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/Make_extra.am b/lib/Make_extra.am index e5e498c..47da701 100644 --- a/lib/Make_extra.am +++ b/lib/Make_extra.am @@ -26,11 +26,16 @@ BUILT_SOURCES = ipset_settype_check types_init.c ipset_settype_modules CLEANFILES = ipset_settype_check types_init.c $(IPSET_SETTYPE_ALL_MODULES) ipset_%.lo: ipset_%.c - depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`; \ - $(LTCOMPILE) -D_INIT=ipset_$*_init \ - $(if $(findstring ipset_$*.c,$(IPSET_SETTYPE_STATIC)), -DTYPE_INCLUSIVE,)\ - -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< && \ - $(am__mv) $$depbase.Tpo $$depbase.Plo +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`; \ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -D_INIT=ipset_$*_init \ + $(if $(findstring ipset_$*.c,$(IPSET_SETTYPE_STATIC)), -DTYPE_INCLUSIVE,)\ + -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< && \ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LTCOMPILE) -D_INIT=ipset_$*_init \ + $(if $(findstring ipset_$*.c,$(IPSET_SETTYPE_STATIC)), -DTYPE_INCLUSIVE,)\ + -c -o $@ $< ipset_%.la: $(lib_LTLIBRARIES) ipset_%.lo lobj="$(patsubst %.la, %.lo, $@)"; \ -- cgit v1.2.3