move clang-specific makefile goop to clang makefile.
authorChris Lattner <sabre@nondot.org>
Wed, 15 Apr 2009 19:57:42 +0000 (19:57 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 15 Apr 2009 19:57:42 +0000 (19:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69206 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index e6c266af7f408a4e0c773aa7f55df15e7d306d1f..af980d65047c54f3a3e6a8cb54a2c22793ddd63b 100644 (file)
@@ -1363,10 +1363,6 @@ ifdef LLVMC_BUILD_AUTOGENERATED_INC
 TABLEGEN_INC_FILES_COMMON = 1
 endif
 
-ifdef CLANG_BUILD_DIAGNOSTICS_INC
-TABLEGEN_INC_FILES_COMMON = 1
-endif
-
 ifdef TABLEGEN_INC_FILES_COMMON
 
 INCFiles := $(filter %.inc,$(BUILT_SOURCES))
@@ -1481,15 +1477,6 @@ $(ObjDir)/AutoGenerated.inc.tmp: $(LLVMCPluginSrc) $(ObjDir)/.dir \
 
 endif # LLVMC_BUILD_AUTOGENERATED_INC
 
-ifdef CLANG_BUILD_DIAGNOSTICS_INC
-
-$(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, $@) $<
-
-endif
-
 ###############################################################################
 # OTHER RULES: Other rules needed
 ###############################################################################