From 63b129ed590b377d5ce0dde7b41e4c90d0b0158f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 5 Jun 1996 20:07:42 +0000 Subject: Wed Jun 5 15:57:28 1996 Roland McGrath * mach/Machrules: Undo last change. (mach-generated): List .uh and .__h files only for $(user-interfaces), not for each .h in $(interface-headers); server-interfaces have no .uh or .__h files. --- mach/Machrules | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mach') diff --git a/mach/Machrules b/mach/Machrules index a415ea6e8b..0015e303e1 100644 --- a/mach/Machrules +++ b/mach/Machrules @@ -145,7 +145,6 @@ $(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) @@ -153,7 +152,6 @@ $(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) @@ -176,8 +174,8 @@ interface-headers := $(user-interfaces:%=%.h) \ # Remove the generated user stub source and header files, # and don't distribute them. -mach-generated = $(interface-routines:%=%.c) \ - $(foreach h,$(interface-headers:%.h=%),$h.h $h.uh $h.__h) +mach-generated = $(interface-routines:%=%.c) $(interface-headers) \ + $(foreach h,$(user-interfaces),$h.uh $h.__h) generated += $(mach-generated) # These are needed to generate the dependencies. -- cgit 1.4.1