diff options
author | Roland McGrath <roland@redhat.com> | 2006-08-08 20:02:11 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2006-08-08 20:02:11 +0000 |
commit | c812a8394a9300eb050712192ff5f493a85d72c5 (patch) | |
tree | 23c63677a2e2522948987b832539a9e071a8626d | |
parent | 3b578ba312575b58645cf538340b758a47b14185 (diff) | |
download | elfutils-c812a8394a9300eb050712192ff5f493a85d72c5.tar.gz |
2006-08-08 Roland McGrath <roland@redhat.com>
* 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.
-rw-r--r-- | backends/ChangeLog | 6 | ||||
-rw-r--r-- | backends/Makefile.am | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog index 127f3bbf..34ec4cfd 100644 --- a/backends/ChangeLog +++ b/backends/ChangeLog @@ -1,3 +1,9 @@ +2006-08-08 Roland McGrath <roland@redhat.com> + + * 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 <skasal@redhat.com> * Makefile.am (PACKAGE_VERSION): Remove superfluous definition. diff --git a/backends/Makefile.am b/backends/Makefile.am index fc482258..a81c90e9 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 |