summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2014-06-16 15:08:06 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-06-17 23:53:39 +0200
commitfda66d0405f0fdf42cc6c7ae5e494c4ca3c83ad7 (patch)
tree70d2e7f278da50abb560f507b0ea5ddf78bb80b3
parent6e047f852cb052cf4cbc50799373c5f13382540d (diff)
Add mach_debug defs rules
* Makeconf (mach_debug_defs_names,mach_debug_defs): New variables. * Makeconf: Add rule to generate local $(mach_debug_defs) files. * procfs/Makefile: Remove vpath for mach_debug defs.
-rw-r--r--Makeconf4
-rw-r--r--procfs/Makefile3
2 files changed, 4 insertions, 3 deletions
diff --git a/Makeconf b/Makeconf
index 5cf995d3..32eec13e 100644
--- a/Makeconf
+++ b/Makeconf
@@ -576,13 +576,17 @@ vpath %.defs $(top_srcdir)/hurd
mach_defs_names = bootstrap exc mach mach4 \
mach_host mach_port mach_timer_reply memory_object \
memory_object_default notify
+mach_debug_defs_names = mach_debug
device_defs_names = dev_forward device device_reply device_request
mach_defs = $(addsuffix .defs,$(mach_defs_names))
+mach_debug_defs = $(addsuffix .defs,$(mach_debug_defs_names))
device_defs = $(addsuffix .defs,$(device_defs_names))
$(mach_defs): %.defs:
echo '#include <mach/$@>' > $@
+$(mach_debug_defs): %.defs:
+ echo '#include <mach_debug/$@>' > $@
$(device_defs): %.defs:
echo '#include <device/$@>' > $@
diff --git a/procfs/Makefile b/procfs/Makefile
index 6d7ca483..78f20c43 100644
--- a/procfs/Makefile
+++ b/procfs/Makefile
@@ -28,7 +28,4 @@ OBJS = $(SRCS:.c=.o)
HURDLIBS = netfs fshelp iohelp ps ports ihash shouldbeinlibc
OTHERLIBS = -lpthread
-# Where to find .defs files.
-vpath %.defs /usr/include/mach_debug
-
include ../Makeconf