aboutsummaryrefslogtreecommitdiff
path: root/mach/Machrules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-05 20:07:42 +0000
committerRoland McGrath <roland@gnu.org>1996-06-05 20:07:42 +0000
commit63b129ed590b377d5ce0dde7b41e4c90d0b0158f (patch)
tree3fcfb115b417d1bc364df64b38130d38b89d5b16 /mach/Machrules
parentc2bf8a5a237e1bbcd5b701e30dd9184a02956812 (diff)
downloadglibc-63b129ed590b377d5ce0dde7b41e4c90d0b0158f.zip
glibc-63b129ed590b377d5ce0dde7b41e4c90d0b0158f.tar.gz
glibc-63b129ed590b377d5ce0dde7b41e4c90d0b0158f.tar.bz2
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.
Diffstat (limited to 'mach/Machrules')
-rw-r--r--mach/Machrules6
1 files changed, 2 insertions, 4 deletions
diff --git a/mach/Machrules b/mach/Machrules
index a415ea6..0015e30 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.