* 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-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.
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