summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-01-25 22:29:44 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-01-25 22:29:44 +0000
commit78a86ea4e590add6ce0880dd52499356075225be (patch)
tree0c3f191135866b2d66b19aef27e6a2706088d8c5 /share/mk
parente15e109c7d8547576736257603e4fa3a532eeee1 (diff)
downloadFreeBSD-src-78a86ea4e590add6ce0880dd52499356075225be.zip
FreeBSD-src-78a86ea4e590add6ce0880dd52499356075225be.tar.gz
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
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.dep.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk
index df23b49..d31dc8b 100644
--- a/share/mk/bsd.dep.mk
+++ b/share/mk/bsd.dep.mk
@@ -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'.
OpenPOWER on IntegriCloud