* csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static
authorRoland McGrath <roland@gnu.org>
Sun, 4 May 2003 23:06:08 +0000 (23:06 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 4 May 2003 23:06:08 +0000 (23:06 +0000)
pattern rule.  The implicit rule could be ruled out when $(objpfx)
didn't exist at the time of its consideration (ugh!).

* Makerules (+make-deps): Fix target matching.
Use $(sed-remove-dotdot).

ChangeLog
csu/Makefile

index 84181de..e2a57b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2003-05-04  Roland McGrath  <roland@redhat.com>
+
+       * csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static
+       pattern rule.  The implicit rule could be ruled out when $(objpfx)
+       didn't exist at the time of its consideration (ugh!).
+
+       * Makerules (+make-deps): Fix target matching.
+       Use $(sed-remove-dotdot).
+
 2003-05-03  Ulrich Drepper  <drepper@redhat.com>
 
        * nscd/nscd.c (main): Parse config file right after parsing
index 2559993..2adf57d 100644 (file)
@@ -99,7 +99,7 @@ generated += $(crtstuff:=.S) initfini.s defs.h
 omit-deps += $(crtstuff)
 
 # Special rules for the building of crti.o and crtn.o
-$(objpfx)crt%.o: $(objpfx)crt%.S $(objpfx)defs.h
+$(crtstuff:%=$(objpfx)%.o): %.o: %.S $(objpfx)defs.h
        $(compile.S) -g0 $(ASFLAGS-.os) -o $@
 
 CFLAGS-initfini.s = -g0 -fPIC -fno-inline-functions