summaryrefslogtreecommitdiff
path: root/mach/Machrules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1993-11-09 12:59:35 +0000
committerRoland McGrath <roland@gnu.org>1993-11-09 12:59:35 +0000
commit594c629678901e5364dd0e3fc58e4c7207cb7cef (patch)
treeeec494c1cca1b0a698c07fb8e43df2d6c7b3b4e4 /mach/Machrules
parent13c59d7b6793eeeb067a074396f0b43e0f2310d6 (diff)
Formerly ../mach/Machrules.~35~
Diffstat (limited to 'mach/Machrules')
-rw-r--r--mach/Machrules4
1 files changed, 4 insertions, 0 deletions
diff --git a/mach/Machrules b/mach/Machrules
index 49cd2f72e5..d8e1d473ee 100644
--- a/mach/Machrules
+++ b/mach/Machrules
@@ -37,7 +37,9 @@ all:
# Make sure no value comes from the environment, since we append to it.
# This is done also in ../Rules, but we append to the value before
# including Rules, which changes the origin.
+ifneq "$(findstring env,$(origin generated))" ""
generated :=
+endif
include ../Makeconfig
@@ -56,7 +58,9 @@ define nl # This is needed by *.ir.
endef
ifdef user-interfaces
*.ir := $(addprefix $(objpfx),$(foreach if,$(user-interfaces),$(if).ir))
+ifndef inhibit_interface_rules
include $(*.ir)
+endif
ifneq "$(*.ir)" "$(wildcard $(*.ir))"
# If any .ir file is missing, we will be unable to make all the deps.
no_deps=t