Wed Jun 5 15:57:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorRoland McGrath <roland@gnu.org>
Wed, 5 Jun 1996 20:07:42 +0000 (20:07 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 5 Jun 1996 20:07:42 +0000 (20:07 +0000)
* 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

index a415ea6..0015e30 100644 (file)
@@ -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.