diff options
author | Roland McGrath <roland@gnu.org> | 2002-11-11 02:34:36 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-11-11 02:34:36 +0000 |
commit | adee0e1f174ed6ac1c146c1a042dca6c1b020173 (patch) | |
tree | efe7e3ae6f14cc3a514fb48635da2063f5188e83 /Makerules | |
parent | 8bbd8b0ba260a124edd42495b4194c7b9c30d0bc (diff) | |
download | glibc-adee0e1f174ed6ac1c146c1a042dca6c1b020173.tar.gz glibc-adee0e1f174ed6ac1c146c1a042dca6c1b020173.tar.xz 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 'Makerules')
-rw-r--r-- | Makerules | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makerules b/Makerules index 071352db51..461451f8a4 100644 --- a/Makerules +++ b/Makerules @@ -125,6 +125,15 @@ $(common-objpfx)%.latest: $(common-objpfx)abi-versions.h endif # avoid-generated endif # $(versioning) = yes +# When we have no deps pass doing it, then make sure the subdirectory +# for object files gets created. +ifdef no_deps +ifdef objpfx +before-compile += $(objpfx). +$(objpfx).: + $(make-target-directory) +endif +endif # Remove existing files from `before-compile'. Things are added there when # they must exist for dependency generation to work right, but once they |