From c2bf8a5a237e1bbcd5b701e30dd9184a02956812 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 5 Jun 1996 19:52:56 +0000 Subject: [PATCH] (mach/mach_interface.defs): Renamed from mach_interface.defs. (mach/memory_object_user.defs): New variable. --- mach/Machrules | 2 ++ mach/Makefile | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mach/Machrules b/mach/Machrules index cd2545b..a415ea6 100644 --- a/mach/Machrules +++ b/mach/Machrules @@ -145,6 +145,7 @@ $(objpfx)%_server.c $(objpfx)%_server.h: # To get header files that declare both the straight and __ functions, # we generate two files and paste them together. +$(objpfx)%_server.uh:; $(mig.uh) $(objpfx)%.uh:; $(mig.uh) define mig.uh $(make-target-directory) @@ -152,6 +153,7 @@ $(include-%.defs) | \ $(MIG) - /dev/null $(MIGFLAGS) \ -header $@ -server /dev/null -user /dev/null endef +$(objpfx)%_server.__h:; $(mig.__h) $(objpfx)%.__h:; $(mig.__h) define mig.__h $(make-target-directory) diff --git a/mach/Makefile b/mach/Makefile index bf38164..e15e2f5 100644 --- a/mach/Makefile +++ b/mach/Makefile @@ -47,7 +47,9 @@ user-interfaces := $(addprefix mach/,mach_interface mach_port mach_host \ $(addprefix device/,device device_request) # We produce mach_interface.h from mach.defs because there is already a # that is not the interface header (thanks CMU). -mach_interface.defs = mach.defs +mach/mach_interface.defs = mach/mach.defs +# Similarly for memory_object_user vs. memory_object +mach/memory_object_user.defs = mach/memory_object.defs server-interfaces := mach/exc tests := hello # It is important that we do not use the wildcard function to expand -- 2.7.4