svn commit: r294752 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Mon Jan 25 22:29:46 UTC 2016


Author: bdrewery
Date: Mon Jan 25 22:29:44 2016
New Revision: 294752
URL: https://svnweb.freebsd.org/changeset/base/294752

Log:
  Fix PROGS not reading .depend files after r284288 by making DEPENDFILE work.
  
  We have had this user-modifable DEPENDFILE variable forever that does nothing
  relevant for the user since fmake always used '.depend'.  Bmake
  introduced the .MAKE.DEPENDFILE variable that can be modified to change
  the name of '.depend'.
  
  Prior to r284288, bsd.progs.mk was setting .MAKE.DEPENDFILE to allow
  working incremental builds.  This was modified most likely to not
  conflict with the META MODE handling of .MAKE.DEPENDFILE as it has a lot
  more special logic for that variable.
  
  MFC after:	1 week
  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	Mon Jan 25 22:29:41 2016	(r294751)
+++ head/share/mk/bsd.dep.mk	Mon Jan 25 22:29:44 2016	(r294752)
@@ -56,6 +56,7 @@ _MKDEPCC+=	${DEPFLAGS}
 .endif
 MKDEPCMD?=	CC='${_MKDEPCC}' mkdep
 DEPENDFILE?=	.depend
+.MAKE.DEPENDFILE= ${DEPENDFILE}
 DEPENDFILES=	${DEPENDFILE}
 
 # Keep `tags' here, before SRCS are mangled below for `depend'.


More information about the svn-src-all mailing list