aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-11-11 02:34:36 +0000
committerRoland McGrath <roland@gnu.org>2002-11-11 02:34:36 +0000
commitadee0e1f174ed6ac1c146c1a042dca6c1b020173 (patch)
treeefe7e3ae6f14cc3a514fb48635da2063f5188e83 /sysdeps
parent8bbd8b0ba260a124edd42495b4194c7b9c30d0bc (diff)
downloadglibc-adee0e1f174ed6ac1c146c1a042dca6c1b020173.tar
glibc-adee0e1f174ed6ac1c146c1a042dca6c1b020173.tar.gz
glibc-adee0e1f174ed6ac1c146c1a042dca6c1b020173.tar.bz2
glibc-adee0e1f174ed6ac1c146c1a042dca6c1b020173.zip
* sysdeps/unix/make-syscalls.sh: Insert $(make-target-directory) at
the beginning of generated target commands. * csu/Makefile ($(objpfx)crti.o, $(objpfx)crtn.o): Add explicit dependencies for these in case implicit rule search skipped the nonexistent source directory. * sysdeps/gnu/Makefile ($(objpfx)errlist.d): Give this rule all the files with $(object-suffixes) as targets too. * Makerules [no_deps && objpfx] (before-compile): Add $(objpfx). and a target for it using $(make-target-directory). * Rules (before-compile): Add $(common-objpfx)bits/stdio-lim.h. * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ... * sysdeps/generic/bits/pthreadtypes.h: ... here.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/gnu/Makefile2
-rw-r--r--sysdeps/unix/make-syscalls.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/gnu/Makefile b/sysdeps/gnu/Makefile
index 661d5f8752..591b6ce432 100644
--- a/sysdeps/gnu/Makefile
+++ b/sysdeps/gnu/Makefile
@@ -49,7 +49,7 @@ endif
mv -f $@T $@
# This will force the generation above to happy if need be.
-$(objpfx)errlist.d: $(objpfx)errlist-compat.c
+$(foreach o,.d $(object-suffixes),$(objpfx)errlist$o):$(objpfx)errlist-compat.c
endif
ifeq ($(subdir),login)
diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh
index e85a21dd9b..d49688aacc 100644
--- a/sysdeps/unix/make-syscalls.sh
+++ b/sysdeps/unix/make-syscalls.sh
@@ -141,6 +141,7 @@ shared-only-routines += $file
;;
x*)
echo "\
+ \$(make-target-directory)
(echo '#include <sysdep.h>'; \\
echo 'PSEUDO ($strong, $syscall, $nargs)'; \\
echo ' ret'; \\