summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-01-19 22:41:58 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-01-19 22:41:58 +0000
commit9ee78893448b04eb9fb1bc7f52c2432b2038e63b (patch)
tree86fe6a6d607d6adbfd5ea2c8beaf9e8de96ff17b /share/mk
parent59cfefb5583d7e28c0635c768ea0bbf597c3621c (diff)
downloadFreeBSD-src-9ee78893448b04eb9fb1bc7f52c2432b2038e63b.zip
FreeBSD-src-9ee78893448b04eb9fb1bc7f52c2432b2038e63b.tar.gz
FAST_DEPEND: Still use if filemon is not used.
If filemon is used then there is no need to generate dependency files during compilation as the .meta files will achieve the same result. This is a temporary solution until FAST_DEPEND is default. Once that is default there will be an option to disable dependency generation entirely as it is only useful if an incremental build is planned, thus META_MODE+filemon can enable that option to short-circuit all FAST_DEPEND-related logic. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.dep.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk
index 701257e..ab28426 100644
--- a/share/mk/bsd.dep.mk
+++ b/share/mk/bsd.dep.mk
@@ -150,7 +150,8 @@ beforedepend: ${DHDRS}
beforebuild: ${DHDRS}
-.if ${MK_FAST_DEPEND} == "yes" && ${.MAKE.MODE:Mmeta*} == ""
+.if ${MK_FAST_DEPEND} == "yes" && \
+ (${.MAKE.MODE:Mmeta} == "" || ${.MAKE.MODE:Mnofilemon} != "")
DEPENDFILES+= ${DEPENDFILE}.*
DEPEND_MP?= -MP
# Handle OBJS=../somefile.o hacks. Just replace '/' rather than use :T to
OpenPOWER on IntegriCloud