($(common-objpfx)stub-$(subdir)): Look for sysdeps/generic in the
authordrepper <drepper>
Sat, 22 Nov 1997 18:26:42 +0000 (18:26 +0000)
committerdrepper <drepper>
Sat, 22 Nov 1997 18:26:42 +0000 (18:26 +0000)
whole dep file, not only in the first line.

Makerules

index b9c89a5..53fa726 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -910,7 +910,7 @@ $(common-objpfx)stub-$(subdir): $(+depfiles)
        (s=`cd $s; /bin/pwd`; \
         $(patsubst %/,cd %;,$(objpfx)) \
         sed -n 's/^stub_warning *(\([^)]*\).*$$/#define __stub_\1/p' \
-         `sed -n -e '\@: $s@{; s@^.*: $s/\([a-z0-9_./-]*\.c\).*$$@'"$$s"'/\1@; h; }' \
+         `sed -n -e '\@ $s/[^ ]*\.c@{; s@^.* $s/\([^ ]*\.c\).*$$@'"$$s"'/\1@; h; }' \
                -e '/stub-tag\.h/{; g; p; }' \
                  $(patsubst $(objpfx)%,%,$^) /dev/null` \
             /dev/null) > $@T