From: Argyrios Kyrtzidis Date: Fri, 16 Mar 2012 19:31:34 +0000 (+0000) Subject: After r150615, which tablegens the group of a diagnostic as an index into the *.inc... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e052bda1f3f8b857fa02abeef7b97f66308225fd;p=clang After r150615, which tablegens the group of a diagnostic as an index into the *.inc file, all diagnostic *.inc files depend on all other diagnostic *.td files, because a diagnostic group can be introduced at any of the diagnostic *.td files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152937 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/Makefile b/include/clang/Basic/Makefile index e986339b2a..702afac1e6 100644 --- a/include/clang/Basic/Makefile +++ b/include/clang/Basic/Makefile @@ -30,7 +30,7 @@ else CLANG_HAS_VERSION_PATCHLEVEL := 1 endif -$(ObjDir)/Diagnostic%Kinds.inc.tmp : Diagnostic.td Diagnostic%Kinds.td $(CLANG_TBLGEN) $(ObjDir)/.dir +$(ObjDir)/Diagnostic%Kinds.inc.tmp : Diagnostic.td $(INPUT_TDS) $(CLANG_TBLGEN) $(ObjDir)/.dir $(Echo) "Building Clang $(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) diagnostic tables with tblgen" $(Verb) $(ClangTableGen) -gen-clang-diags-defs -clang-component=$(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) -o $(call SYSPATH, $@) $<