From fda66d0405f0fdf42cc6c7ae5e494c4ca3c83ad7 Mon Sep 17 00:00:00 2001 From: David Michael Date: Mon, 16 Jun 2014 15:08:06 -0400 Subject: 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. --- Makeconf | 4 ++++ procfs/Makefile | 3 --- 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_debug_defs): %.defs: + echo '#include ' > $@ $(device_defs): %.defs: echo '#include ' > $@ 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 -- cgit v1.2.3