summaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-02-15 22:59:19 +0000
committerRoland McGrath <roland@gnu.org>2003-02-15 22:59:19 +0000
commitc06b8d60f4dcd911dbae2e4b36ed7af30e9b645e (patch)
tree9a323f2cc775d49d12b08ce750eb4345b5c7e33e /mach
parent3a8e69f22b6de7721a632616b7738468bb14245c (diff)
2003-02-15 Roland McGrath <roland@frob.com>
* 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/.
Diffstat (limited to 'mach')
-rw-r--r--mach/Makefile5
1 files changed, 3 insertions, 2 deletions
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)