Use the new -d option that was added to tblgen between llvm/clang 3.3
and 3.4 to generate dependency files for the '.inc.h' files generated from .td files, and .sinclude those dependency files in clang.build.mk. This will make future incremental builds of lib/clang and usr.bin/clang work correctly, whenever any of the .td files get modified. Note that this will not fix any problems with incremental builds from *before* this revision, since there will not yet be any generated dependency files. A quick workaround is to run the following: find /usr/obj -type f -name '*.inc.h' | xargs rm and then a regular incremental buildworld (e.g. with -DNO_CLEAN). MFC after: 3 days
This commit is contained in:
parent
5af79f0adb
commit
069e8594f2
@ -43,17 +43,9 @@ CXXFLAGS+= -fno-exceptions -fno-rtti
|
|||||||
TBLGEN?= tblgen
|
TBLGEN?= tblgen
|
||||||
CLANG_TBLGEN?= clang-tblgen
|
CLANG_TBLGEN?= clang-tblgen
|
||||||
|
|
||||||
Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td \
|
Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
|
||||||
${LLVM_SRCS}/include/llvm/IR/IntrinsicsARM.td \
|
${TBLGEN} -gen-intrinsic \
|
||||||
${LLVM_SRCS}/include/llvm/IR/IntrinsicsHexagon.td \
|
-I ${LLVM_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
${LLVM_SRCS}/include/llvm/IR/IntrinsicsMips.td \
|
|
||||||
${LLVM_SRCS}/include/llvm/IR/IntrinsicsNVVM.td \
|
|
||||||
${LLVM_SRCS}/include/llvm/IR/IntrinsicsPowerPC.td \
|
|
||||||
${LLVM_SRCS}/include/llvm/IR/IntrinsicsR600.td \
|
|
||||||
${LLVM_SRCS}/include/llvm/IR/IntrinsicsX86.td \
|
|
||||||
${LLVM_SRCS}/include/llvm/IR/IntrinsicsXCore.td
|
|
||||||
${TBLGEN} -I ${LLVM_SRCS}/include \
|
|
||||||
-gen-intrinsic -o ${.TARGET} \
|
|
||||||
${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
|
${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
|
||||||
.for arch in \
|
.for arch in \
|
||||||
ARM/ARM Mips/Mips PowerPC/PPC Sparc/Sparc X86/X86
|
ARM/ARM Mips/Mips PowerPC/PPC Sparc/Sparc X86/X86
|
||||||
@ -72,144 +64,167 @@ Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td \
|
|||||||
RegisterInfo/-gen-register-info \
|
RegisterInfo/-gen-register-info \
|
||||||
SubtargetInfo/-gen-subtarget
|
SubtargetInfo/-gen-subtarget
|
||||||
${arch:T}Gen${hdr:H:C/$/.inc.h/}: ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
|
${arch:T}Gen${hdr:H:C/$/.inc.h/}: ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
|
||||||
${TBLGEN} -I ${LLVM_SRCS}/include -I ${LLVM_SRCS}/lib/Target/${arch:H} \
|
${TBLGEN} ${hdr:T:C/,/ /g} \
|
||||||
${hdr:T:C/,/ /g} -o ${.TARGET} \
|
-I ${LLVM_SRCS}/include -I ${LLVM_SRCS}/lib/Target/${arch:H} \
|
||||||
|
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
|
${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
|
||||||
. endfor
|
. endfor
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
Attrs.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
Attrs.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-attr-classes \
|
||||||
-gen-clang-attr-classes -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
|
${.ALLSRC}
|
||||||
|
|
||||||
AttrDump.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
AttrDump.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-attr-dump \
|
||||||
-gen-clang-attr-dump -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
|
${.ALLSRC}
|
||||||
|
|
||||||
AttrIdentifierArg.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
AttrIdentifierArg.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-attr-identifier-arg-list \
|
||||||
-gen-clang-attr-identifier-arg-list -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
|
${.ALLSRC}
|
||||||
|
|
||||||
AttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
AttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-attr-impl \
|
||||||
-gen-clang-attr-impl -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
|
${.ALLSRC}
|
||||||
|
|
||||||
AttrLateParsed.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
AttrLateParsed.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-attr-late-parsed-list \
|
||||||
-gen-clang-attr-late-parsed-list -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
|
${.ALLSRC}
|
||||||
|
|
||||||
AttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
AttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-attr-list \
|
||||||
-gen-clang-attr-list -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
|
${.ALLSRC}
|
||||||
|
|
||||||
AttrParsedAttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
AttrParsedAttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-attr-parsed-attr-impl \
|
||||||
-gen-clang-attr-parsed-attr-impl -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
|
${.ALLSRC}
|
||||||
|
|
||||||
AttrParsedAttrKinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
AttrParsedAttrKinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-attr-parsed-attr-kinds \
|
||||||
-gen-clang-attr-parsed-attr-kinds -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
|
${.ALLSRC}
|
||||||
|
|
||||||
AttrParsedAttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
AttrParsedAttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-attr-parsed-attr-list \
|
||||||
-gen-clang-attr-parsed-attr-list -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
|
${.ALLSRC}
|
||||||
|
|
||||||
AttrPCHRead.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
AttrPCHRead.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-attr-pch-read \
|
||||||
-gen-clang-attr-pch-read -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
|
${.ALLSRC}
|
||||||
|
|
||||||
AttrPCHWrite.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
AttrPCHWrite.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-attr-pch-write \
|
||||||
-gen-clang-attr-pch-write -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
|
${.ALLSRC}
|
||||||
|
|
||||||
AttrSpellings.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
AttrSpellings.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-attr-spelling-list \
|
||||||
-gen-clang-attr-spelling-list -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
|
${.ALLSRC}
|
||||||
|
|
||||||
AttrSpellingListIndex.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
AttrSpellingListIndex.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-attr-spelling-index \
|
||||||
-gen-clang-attr-spelling-index -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
|
${.ALLSRC}
|
||||||
|
|
||||||
AttrTemplateInstantiate.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
AttrTemplateInstantiate.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-attr-template-instantiate \
|
||||||
-gen-clang-attr-template-instantiate -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
|
${.ALLSRC}
|
||||||
|
|
||||||
AttrTypeArg.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
AttrTypeArg.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-attr-type-arg-list \
|
||||||
-gen-clang-attr-type-arg-list -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
|
${.ALLSRC}
|
||||||
|
|
||||||
CommentCommandInfo.inc.h: ${CLANG_SRCS}/include/clang/AST/CommentCommands.td
|
CommentCommandInfo.inc.h: ${CLANG_SRCS}/include/clang/AST/CommentCommands.td
|
||||||
${CLANG_TBLGEN} \
|
${CLANG_TBLGEN} -gen-clang-comment-command-info \
|
||||||
-gen-clang-comment-command-info -o ${.TARGET} ${.ALLSRC}
|
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} ${.ALLSRC}
|
||||||
|
|
||||||
CommentCommandList.inc.h: ${CLANG_SRCS}/include/clang/AST/CommentCommands.td
|
CommentCommandList.inc.h: ${CLANG_SRCS}/include/clang/AST/CommentCommands.td
|
||||||
${CLANG_TBLGEN} \
|
${CLANG_TBLGEN} -gen-clang-comment-command-list \
|
||||||
-gen-clang-comment-command-list -o ${.TARGET} ${.ALLSRC}
|
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} ${.ALLSRC}
|
||||||
|
|
||||||
CommentHTMLNamedCharacterReferences.inc.h: \
|
CommentHTMLNamedCharacterReferences.inc.h: \
|
||||||
${CLANG_SRCS}/include/clang/AST/CommentHTMLNamedCharacterReferences.td
|
${CLANG_SRCS}/include/clang/AST/CommentHTMLNamedCharacterReferences.td
|
||||||
${CLANG_TBLGEN} \
|
${CLANG_TBLGEN} -gen-clang-comment-html-named-character-references \
|
||||||
-gen-clang-comment-html-named-character-references -o ${.TARGET} \
|
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} ${.ALLSRC}
|
||||||
${.ALLSRC}
|
|
||||||
|
|
||||||
CommentHTMLTags.inc.h: ${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
|
CommentHTMLTags.inc.h: ${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
|
||||||
${CLANG_TBLGEN} \
|
${CLANG_TBLGEN} -gen-clang-comment-html-tags \
|
||||||
-gen-clang-comment-html-tags -o ${.TARGET} ${.ALLSRC}
|
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} ${.ALLSRC}
|
||||||
|
|
||||||
CommentHTMLTagsProperties.inc.h: \
|
CommentHTMLTagsProperties.inc.h: \
|
||||||
${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
|
${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
|
||||||
${CLANG_TBLGEN} \
|
${CLANG_TBLGEN} -gen-clang-comment-html-tags-properties \
|
||||||
-gen-clang-comment-html-tags-properties -o ${.TARGET} ${.ALLSRC}
|
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} ${.ALLSRC}
|
||||||
|
|
||||||
CommentNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/CommentNodes.td
|
CommentNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/CommentNodes.td
|
||||||
${CLANG_TBLGEN} \
|
${CLANG_TBLGEN} -gen-clang-comment-nodes \
|
||||||
-gen-clang-comment-nodes -o ${.TARGET} ${.ALLSRC}
|
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} ${.ALLSRC}
|
||||||
|
|
||||||
DeclNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/DeclNodes.td
|
DeclNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/DeclNodes.td
|
||||||
${CLANG_TBLGEN} \
|
${CLANG_TBLGEN} -gen-clang-decl-nodes \
|
||||||
-gen-clang-decl-nodes -o ${.TARGET} ${.ALLSRC}
|
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} ${.ALLSRC}
|
||||||
|
|
||||||
StmtNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/StmtNodes.td
|
StmtNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/StmtNodes.td
|
||||||
${CLANG_TBLGEN} \
|
${CLANG_TBLGEN} -gen-clang-stmt-nodes \
|
||||||
-gen-clang-stmt-nodes -o ${.TARGET} ${.ALLSRC}
|
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} ${.ALLSRC}
|
||||||
|
|
||||||
arm_neon.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
|
arm_neon.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
|
||||||
${CLANG_TBLGEN} \
|
${CLANG_TBLGEN} -gen-arm-neon \
|
||||||
-gen-arm-neon -o ${.TARGET} ${.ALLSRC}
|
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} ${.ALLSRC}
|
||||||
|
|
||||||
arm_neon.inc.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
|
arm_neon.inc.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
|
||||||
${CLANG_TBLGEN} \
|
${CLANG_TBLGEN} -gen-arm-neon-sema \
|
||||||
-gen-arm-neon-sema -o ${.TARGET} ${.ALLSRC}
|
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} ${.ALLSRC}
|
||||||
|
|
||||||
DiagnosticGroups.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
|
DiagnosticGroups.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic \
|
${CLANG_TBLGEN} -gen-clang-diag-groups \
|
||||||
-gen-clang-diag-groups -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/\.h$/.d/} \
|
||||||
|
-o ${.TARGET} ${.ALLSRC}
|
||||||
|
|
||||||
DiagnosticIndexName.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
|
DiagnosticIndexName.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic \
|
${CLANG_TBLGEN} -gen-clang-diags-index-name \
|
||||||
-gen-clang-diags-index-name -o ${.TARGET} ${.ALLSRC}
|
-I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/\.h$/.d/} \
|
||||||
|
-o ${.TARGET} ${.ALLSRC}
|
||||||
|
|
||||||
.for hdr in AST Analysis Comment Common Driver Frontend Lex Parse Sema Serialization
|
.for hdr in AST Analysis Comment Common Driver Frontend Lex Parse Sema Serialization
|
||||||
Diagnostic${hdr}Kinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
|
Diagnostic${hdr}Kinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic \
|
${CLANG_TBLGEN} -gen-clang-diags-defs -clang-component=${hdr} \
|
||||||
-gen-clang-diags-defs -clang-component=${hdr} -o ${.TARGET} \
|
-I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/\.h$/.d/} \
|
||||||
${.ALLSRC}
|
-o ${.TARGET} ${.ALLSRC}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/Options.td
|
Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/Options.td
|
||||||
${TBLGEN} -I ${LLVM_SRCS}/include -I ${CLANG_SRCS}/include/clang/Driver \
|
${TBLGEN} -gen-opt-parser-defs \
|
||||||
-gen-opt-parser-defs -o ${.TARGET} ${.ALLSRC}
|
-I ${LLVM_SRCS}/include -I ${CLANG_SRCS}/include/clang/Driver \
|
||||||
|
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} ${.ALLSRC}
|
||||||
|
|
||||||
CC1AsOptions.inc.h: ${CLANG_SRCS}/include/clang/Driver/CC1AsOptions.td
|
CC1AsOptions.inc.h: ${CLANG_SRCS}/include/clang/Driver/CC1AsOptions.td
|
||||||
${TBLGEN} -I ${LLVM_SRCS}/include -I ${CLANG_SRCS}/include/clang/Driver \
|
${TBLGEN} -gen-opt-parser-defs \
|
||||||
-gen-opt-parser-defs -o ${.TARGET} ${.ALLSRC}
|
-I ${LLVM_SRCS}/include -I ${CLANG_SRCS}/include/clang/Driver \
|
||||||
|
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} ${.ALLSRC}
|
||||||
|
|
||||||
Checkers.inc.h: ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td \
|
Checkers.inc.h: ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td \
|
||||||
${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers/CheckerBase.td
|
${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers/CheckerBase.td
|
||||||
${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \
|
${CLANG_TBLGEN} -gen-clang-sa-checkers \
|
||||||
-gen-clang-sa-checkers -o ${.TARGET} \
|
-I ${CLANG_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||||
${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td
|
${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td
|
||||||
|
|
||||||
|
.for dep in ${TGHDRS:C/$/.inc.d/}
|
||||||
|
. sinclude "${dep}"
|
||||||
|
.endfor
|
||||||
|
|
||||||
SRCS+= ${TGHDRS:C/$/.inc.h/}
|
SRCS+= ${TGHDRS:C/$/.inc.h/}
|
||||||
DPADD+= ${TGHDRS:C/$/.inc.h/}
|
DPADD+= ${TGHDRS:C/$/.inc.h/}
|
||||||
CLEANFILES+= ${TGHDRS:C/$/.inc.h/}
|
CLEANFILES+= ${TGHDRS:C/$/.inc.h/} ${TGHDRS:C/$/.inc.d/}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user