Tell bsd.dep.mk which depend files to dinclude.

This allows the _SKIP_DEPEND optimization to work, avoiding reading
the files when not needed.  It also fixes META_MODE incorrectly
reading these files when not needed.

Sponsored by:	Dell EMC Isilon
This commit is contained in:
Bryan Drewery 2017-11-10 20:09:15 +00:00
parent 068306e969
commit ddf95e2ae8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325678
2 changed files with 2 additions and 20 deletions

View File

@ -790,16 +790,7 @@ clang/StaticAnalyzer/Checkers/Checkers.inc: \
${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers/Checkers.td
TGHDRS+= clang/StaticAnalyzer/Checkers/Checkers.inc
.for dep in ${TGHDRS:C/$/.d/}
. if ${MAKE_VERSION} < 20160220
. if !make(depend)
. sinclude "${dep}"
. endif
. else
. dinclude "${dep}"
. endif
.endfor
DEPENDFILES+= ${TGHDRS:C/$/.d/}
DPSRCS+= ${TGHDRS}
CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/}

View File

@ -1412,16 +1412,7 @@ TGHDRS+= X86GenRegisterBank.inc
TGHDRS+= X86GenRegisterInfo.inc
TGHDRS+= X86GenSubtargetInfo.inc
.for dep in ${TGHDRS:C/$/.d/}
. if ${MAKE_VERSION} < 20160220
. if !make(depend)
. sinclude "${dep}"
. endif
. else
. dinclude "${dep}"
. endif
.endfor
DEPENDFILES+= ${TGHDRS:C/$/.d/}
DPSRCS+= ${TGHDRS}
CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/}