From adee0e1f174ed6ac1c146c1a042dca6c1b020173 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 11 Nov 2002 02:34:36 +0000 Subject: * 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. --- csu/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'csu/Makefile') diff --git a/csu/Makefile b/csu/Makefile index a71649ed6e..6b6991935a 100644 --- a/csu/Makefile +++ b/csu/Makefile @@ -113,6 +113,11 @@ $(objpfx)crtn.S: $(objpfx)initfini.s -e '/@_.*_EPILOG_BEGINS/,/@_.*_EPILOG_ENDS/p' \ -e '/@TRAILER_BEGINS/,$$p' $< > $@ +# These explicit rules are necessary when the $(objpfx) subdirectory +# did not exist at the time make considered the implicit rules using it. +# This comes up with a fresh build using no_deps=t. +$(patsubst %,$(objpfx)crt%.o,i n): %.o: %.S + $(objpfx)defs.h: $(objpfx)initfini.s sed -n -e '/@TESTS_BEGIN/,/@TESTS_END/p' $< | \ $(AWK) -f defs.awk > $@ -- cgit v1.2.1