summary refs log tree commit diff
path: root/mach
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-08-29 19:45:04 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-08-29 19:45:04 +0000
commitbfb826224b971666d5e9f9ce3b04c1cfbf839258 (patch)
tree76f3f72ff44f276feb1c4151df95bf55eea1310e /mach
parentb77409e605ccdebd4d6d9d5041db632bcd90cfdf (diff)
downloadglibc-bfb826224b971666d5e9f9ce3b04c1cfbf839258.tar.gz
glibc-bfb826224b971666d5e9f9ce3b04c1cfbf839258.tar.xz
glibc-bfb826224b971666d5e9f9ce3b04c1cfbf839258.zip
*** empty log message ***
	* mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
  	mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
 	$(MIGFLAGS-$*) here too, as well as in the code-generating MiG calls. 
	
Diffstat (limited to 'mach')
-rw-r--r--mach/Machrules4
-rw-r--r--mach/Makefile3
2 files changed, 5 insertions, 2 deletions
diff --git a/mach/Machrules b/mach/Machrules
index 4bde0fe8b4..2cb3158bbd 100644
--- a/mach/Machrules
+++ b/mach/Machrules
@@ -149,14 +149,14 @@ $(objpfx)%.uh:; $(mig.uh)
 define mig.uh
 $(make-target-directory)
 $(include-%.defs) | \
-$(MIG) - /dev/null $(MIGFLAGS) \
+$(MIG) - /dev/null $(MIGFLAGS) $(user-MIGFLAGS) $(MIGFLAGS-$*) \
        -header $@ -server /dev/null -user /dev/null
 endef
 $(objpfx)%.__h:; $(mig.__h)
 define mig.__h
 $(make-target-directory)
 $(include-%.defs) | \
-$(MIG) - /dev/null $(MIGFLAGS) -prefix __ \
+$(MIG) - /dev/null $(MIGFLAGS) $(user-MIGFLAGS) $(MIGFLAGS-$*) -prefix __ \
        -header $@ -server /dev/null -user /dev/null
 endef
 
diff --git a/mach/Makefile b/mach/Makefile
index 31ec7e0eae..6d9e6b2904 100644
--- a/mach/Makefile
+++ b/mach/Makefile
@@ -107,6 +107,9 @@ user-interfaces := $(filter-out mach/mach_interface \
 				$(user-interfaces))
 endif
 
+# For some reason, the calls in this file are `protected' by an ifdef.
+MIGFLAGS-mach/mach4=-DMACH_PCSAMPLE
+
 # Make the MiG stubs for $(mach-shortcuts) be CALL_rpc.
 migdefines += $(foreach call,$(mach-shortcuts),-D$(call)=$(call)_rpc)
 mach/mach_interface.uh mach/mach_host.uh mach/mach_port.uh: $(objpfx)mach-syscalls.mk