]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
2006-08-08 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Tue, 8 Aug 2006 20:02:11 +0000 (20:02 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 8 Aug 2006 20:02:11 +0000 (20:02 +0000)
* 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
backends/Makefile.am

index 127f3bbf4277ba33af90f6f1b1005f81f1865285..34ec4cfdf46c4255ade7ec14a74de16b6159f36a 100644 (file)
@@ -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.
index fc48225882f67e202b07e864c1cd3541575e8c45..a81c90e9bf59450d6e999cdc273ad269481e3d49 100644 (file)
@@ -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