* 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.
Thu Aug 29 12:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+ * 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.
+
* hurd/hurdinline.c: Include "hurd.h" for function definitions too.
* stdio/fseek.c (fseek): Don't assume we know the file position;
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
$(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