From c06b8d60f4dcd911dbae2e4b36ed7af30e9b645e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 15 Feb 2003 22:59:19 +0000 Subject: 2003-02-15 Roland McGrath * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t, use target mach-before-compile instead of generated. (mach-before-compile): New target. * Makerules: Disable use of tls.make if $(generating) is set. * mach/Makefile: Include mach-syscalls.mk even if no_deps=t. * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on mach-shortcuts.h so mach/ generation happens before hurd/. --- mach/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mach') diff --git a/mach/Makefile b/mach/Makefile index db7f3aa628..563c792078 100644 --- a/mach/Makefile +++ b/mach/Makefile @@ -71,11 +71,9 @@ generated = mach-machine = $(patsubst powerpc,ppc,$(base-machine)) # Define mach-syscalls and sysno-*. -ifndef no_deps ifndef inhibit_mach_syscalls -include $(objpfx)mach-syscalls.mk endif -endif $(objpfx)mach-syscalls.mk: syscalls.awk Makefile # Go kludges!!! $(make-target-directory) @@ -172,3 +170,6 @@ $(objpfx)errsystems.c: errsystems.awk err_*.sub \ .PHONY: generated generated: $(addprefix $(common-objpfx),$(common-generated)) \ $(addprefix $(objpfx),$(generated)) + +.PHONY: mach-before-compile +mach-before-compile: $(mach-before-compile) -- cgit v1.2.1