summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--backends/ChangeLog6
-rw-r--r--backends/Makefile.am5
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 <[email protected]>
+
+ * 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 <[email protected]>
* 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