diff options
Diffstat (limited to 'clang')
-rw-r--r-- | clang/include/clang/Basic/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/clang/include/clang/Basic/Makefile b/clang/include/clang/Basic/Makefile index f8fefcf84d8..ba9d0977fe0 100644 --- a/clang/include/clang/Basic/Makefile +++ b/clang/include/clang/Basic/Makefile @@ -2,8 +2,8 @@ LEVEL = ../../../../.. BUILT_SOURCES = DiagnosticAnalysisKinds.inc DiagnosticASTKinds.inc \ DiagnosticCommonKinds.inc DiagnosticDriverKinds.inc \ DiagnosticFrontendKinds.inc DiagnosticLexKinds.inc \ - DiagnosticParseKinds.inc DiagnosticSemaKinds.inc -# DiagnosticGroups.inc + DiagnosticParseKinds.inc DiagnosticSemaKinds.inc \ + DiagnosticGroups.inc TABLEGEN_INC_FILES_COMMON = 1 @@ -11,11 +11,12 @@ 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) -$(MKDIR) $(@D) $(Verb) $(TableGen) -gen-clang-diags-defs -clang-component=$(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) -o $(call SYSPATH, $@) $< - - -# DiagnosticGroups.inc +$(ObjDir)/DiagnosticGroups.inc.tmp : Diagnostic.td $(wildcard Diagnostic*Kinds.td) $(TBLGEN) + $(Echo) "Building Clang diagnostic groups with tblgen" + $(Verb) -$(MKDIR) $(@D) + $(Verb) $(TableGen) -gen-clang-diag-groups -o $(call SYSPATH, $@) $< |