svn commit: r294351 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Tue Jan 19 22:41:59 UTC 2016


Author: bdrewery
Date: Tue Jan 19 22:41:58 2016
New Revision: 294351
URL: https://svnweb.freebsd.org/changeset/base/294351

Log:
  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

Modified:
  head/share/mk/bsd.dep.mk

Modified: head/share/mk/bsd.dep.mk
==============================================================================
--- head/share/mk/bsd.dep.mk	Tue Jan 19 22:41:55 2016	(r294350)
+++ head/share/mk/bsd.dep.mk	Tue Jan 19 22:41:58 2016	(r294351)
@@ -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


More information about the svn-src-all mailing list