From: Roland McGrath Date: Tue, 8 Aug 2006 20:02:11 +0000 (+0000) Subject: 2006-08-08 Roland McGrath X-Git-Tag: elfutils-0.123~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c812a8394a9300eb050712192ff5f493a85d72c5;p=thirdparty%2Felfutils.git 2006-08-08 Roland McGrath * Makefile.am (%.os): Don't depend on %.o, since we don't actually need static object for anything here. This rule is the only source of .deps/ files. --- diff --git a/backends/ChangeLog b/backends/ChangeLog index 127f3bbf4..34ec4cfdf 100644 --- a/backends/ChangeLog +++ b/backends/ChangeLog @@ -1,3 +1,9 @@ +2006-08-08 Roland McGrath + + * Makefile.am (%.os): Don't depend on %.o, since we don't actually + need static object for anything here. This rule is the only source of + .deps/ files. + 2006-06-23 Stepan Kasal * Makefile.am (PACKAGE_VERSION): Remove superfluous definition. diff --git a/backends/Makefile.am b/backends/Makefile.am index fc4822588..a81c90e9b 100644 --- a/backends/Makefile.am +++ b/backends/Makefile.am @@ -112,11 +112,10 @@ libebl_s390_pic_a_SOURCES = $(s390_SRCS) am_libebl_s390_pic_a_OBJECTS = $(s390_SRCS:.c=.os) -%.os: %.c %.o +%.os: %.c if $(COMPILE) -c -o $@ -fpic -DPIC -DSHARED -MT $@ -MD -MP \ -MF "$(DEPDIR)/$*.Tpo" `test -f '$<' || echo '$(srcdir)/'`$<; \ - then cat "$(DEPDIR)/$*.Tpo" >> "$(DEPDIR)/$*.Po"; \ - rm -f "$(DEPDIR)/$*.Tpo"; \ + then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ fi