From c812a8394a9300eb050712192ff5f493a85d72c5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 8 Aug 2006 20:02:11 +0000 Subject: [PATCH] 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. --- backends/ChangeLog | 6 ++++++ backends/Makefile.am | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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 -- 2.47.2