summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-07-22 18:19:30 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-07-22 18:19:30 +0000
commitc45efc27a8f5a0e2e0d98c83d94a20e661d8472d (patch)
tree14a8cd73713a716ef0ede65c412796b21ee89dd3
parent1dea541ca37308e73b2142bd1ead841e14e3a62e (diff)
Don't include dependency files if no_deps is set.
-rw-r--r--Makeconf8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makeconf b/Makeconf
index d87a71c6..dd5c3f80 100644
--- a/Makeconf
+++ b/Makeconf
@@ -268,6 +268,12 @@ FORCE:
# How to build automatic dependencies
+# Don't include dependencies if $(no_deps) is set; the master makefile
+# does this for clean and other such targets that don't need
+# dependencies. That then avoids rebuilding dependencies.
+
+ifneq ($(no_deps),t)
+
# For each file generated by MiG we need a .d file.
# These lines assume that every Makefile that uses a foo_S.h or foo_U.h file
# also mentions the associated fooServer.o or fooUser.o file.
@@ -279,6 +285,8 @@ include $(subst User.o,.miguh_d,$(filter %User.o,$(OBJS))) /dev/null
# For each .o file we need a .d file.
include $(subst .o,.d,$(OBJS)) /dev/null
+endif
+
# Here is how to build those dependency files
# Dependencies for fooServer.c files.