diff options
Diffstat (limited to 'clang')
-rw-r--r-- | clang/include/clang/Basic/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/Makefile b/clang/include/clang/Basic/Makefile index 39193111b3f..f8fefcf84d8 100644 --- a/clang/include/clang/Basic/Makefile +++ b/clang/include/clang/Basic/Makefile @@ -3,7 +3,19 @@ BUILT_SOURCES = DiagnosticAnalysisKinds.inc DiagnosticASTKinds.inc \ DiagnosticCommonKinds.inc DiagnosticDriverKinds.inc \ DiagnosticFrontendKinds.inc DiagnosticLexKinds.inc \ DiagnosticParseKinds.inc DiagnosticSemaKinds.inc +# DiagnosticGroups.inc -CLANG_BUILD_DIAGNOSTICS_INC = 1 +TABLEGEN_INC_FILES_COMMON = 1 include $(LEVEL)/Makefile.common + +$(ObjDir)/Diagnostic%Kinds.inc.tmp : Diagnostic.td Diagnostic%Kinds.td $(TBLGEN) + $(Echo) "Building Clang $(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) diagnostic tables with tblgen" + $(Verb) $(MKDIR) $(@D) + $(Verb) $(TableGen) -gen-clang-diags-defs -clang-component=$(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) -o $(call SYSPATH, $@) $< + + + +# DiagnosticGroups.inc + + |