summaryrefslogtreecommitdiff
path: root/mach/Machrules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-03-09 01:39:21 +0000
committerRoland McGrath <roland@gnu.org>1994-03-09 01:39:21 +0000
commit16353e4ac571557ffe08b79f7ec36f5a719b01c1 (patch)
treed017aabdb6b04c0f7a84fcf57019b336b9454045 /mach/Machrules
parent22742639629b026d1e80da50f475c21cc2f2a8c3 (diff)
Formerly ../mach/Machrules.~39~
Diffstat (limited to 'mach/Machrules')
-rw-r--r--mach/Machrules4
1 files changed, 2 insertions, 2 deletions
diff --git a/mach/Machrules b/mach/Machrules
index 8799e6b251..19b99d23ab 100644
--- a/mach/Machrules
+++ b/mach/Machrules
@@ -65,7 +65,7 @@ ifneq "$(*.ir)" "$(wildcard $(*.ir))"
# If any .ir file is missing, we will be unable to make all the deps.
no_deps=t
endif
-generated += $(*.ir)
+generated += $(*.ir:$(objpfx)%=%)
endif
@@ -155,7 +155,7 @@ interface-headers := $(user-interfaces:%=%.h) \
# and don't distribute them.
mach-generated = $(interface-routines:%=%.c) \
$(foreach h,$(interface-headers:%.h=%),$h.h $h.uh $h.__h)
-generated += $(addprefix $(objpfx),$(mach-generated))
+generated += $(mach-generated)
# These are needed to generate the dependencies.
before-compile += $(interface-headers:%=$(objpfx)%)