summaryrefslogtreecommitdiff
path: root/proc/Makefile
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-07-06 23:16:47 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-07-06 23:16:47 +0000
commit74a262856f5e824473f28f3028d85dbdf8f33bfa (patch)
treefba3dd7b8b93cae0a471172f44c8c498bf932e19 /proc/Makefile
parent36f9366bb1dbf254976938927dc1e3d263fba853 (diff)
(ourmsg_U.h ourmsgUser.c): Use local ourmsg.defs instead of include
file directly. (ourmsg.defs): New target.
Diffstat (limited to 'proc/Makefile')
-rw-r--r--proc/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/proc/Makefile b/proc/Makefile
index 1a9fb6d0..d453e44d 100644
--- a/proc/Makefile
+++ b/proc/Makefile
@@ -40,8 +40,10 @@ include ../Makeconf
# The reason for -Dout= is to prevent errors for get_init_port,
# get_init_ports, get_init_int, get_init_ints, get_dtable, and get_fd.
# We don't use those, so we're safe in breaking them.
-ourmsg_U.h ourmsgUser.c: $(includedir)/hurd/msg.defs $(includedir)/hurd/hurd_types.defs
- $(CPP) $(CPPFLAGS) -Droutine=simpleroutine -Dout= $(includedir)/hurd/msg.defs \
+ourmsg_U.h ourmsgUser.c: ourmsg.defs $(includedir)/hurd/hurd_types.defs
+ $(CPP) $(CPPFLAGS) -Droutine=simpleroutine -Dout= ourmsg.defs \
| $(MIGCOM) -prefix nowait_ -server /dev/null -user ourmsgUser.c -header ourmsg_U.h
-
+ourmsg.defs: $(includedir)/hurd/msg.defs
+ rm -f $@
+ ln -s $< $@