From 7bfe2b5a4aed4e542e9553efaa47c643688e026c Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Fri, 16 Mar 2012 19:31:34 +0000 Subject: [PATCH] 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. llvm-svn: 152937 --- clang/include/clang/Basic/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/include/clang/Basic/Makefile b/clang/include/clang/Basic/Makefile index e986339b2a56..702afac1e6b9 100644 --- a/clang/include/clang/Basic/Makefile +++ b/clang/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, $@) $<