Wed Jun 5 15:57:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>

* 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.
This commit is contained in:
Roland McGrath 1996-06-05 20:07:42 +00:00
parent c2bf8a5a23
commit 63b129ed59

View 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.