diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-11-10 20:09:15 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-11-10 20:09:15 +0000 |
commit | ddf95e2ae8a502edf2f391de631a2ae1e73a5a8a (patch) | |
tree | dae268c24db44e0bced0869011cccfcd256c7b35 /lib | |
parent | 068306e969a903d0308b22afdfb2d8c485189ff5 (diff) | |
download | src-ddf95e2ae8a502edf2f391de631a2ae1e73a5a8a.tar.gz src-ddf95e2ae8a502edf2f391de631a2ae1e73a5a8a.zip |
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
Notes
Notes:
svn path=/head/; revision=325678
Diffstat (limited to 'lib')
-rw-r--r-- | lib/clang/libclang/Makefile | 11 | ||||
-rw-r--r-- | lib/clang/libllvm/Makefile | 11 |
2 files changed, 2 insertions, 20 deletions
diff --git a/lib/clang/libclang/Makefile b/lib/clang/libclang/Makefile index 544f7d4596ce..6a0d1dfc049d 100644 --- a/lib/clang/libclang/Makefile +++ b/lib/clang/libclang/Makefile @@ -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/} diff --git a/lib/clang/libllvm/Makefile b/lib/clang/libllvm/Makefile index aa1a3f313b43..e7d9541c60bf 100644 --- a/lib/clang/libllvm/Makefile +++ b/lib/clang/libllvm/Makefile @@ -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/} |