[cfe-commits] r69207 - /cfe/trunk/include/clang/Basic/Makefile

Chris Lattner sabre at nondot.org
Wed Apr 15 12:58:08 PDT 2009


Author: lattner
Date: Wed Apr 15 14:58:08 2009
New Revision: 69207

URL: http://llvm.org/viewvc/llvm-project?rev=69207&view=rev
Log:
move clang specific makefile goop to clang instead of llvm.  This may require
updating the llvm tree.

Modified:
    cfe/trunk/include/clang/Basic/Makefile

Modified: cfe/trunk/include/clang/Basic/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Makefile?rev=69207&r1=69206&r2=69207&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/Makefile (original)
+++ cfe/trunk/include/clang/Basic/Makefile Wed Apr 15 14:58:08 2009
@@ -3,7 +3,19 @@
 	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
+
+





More information about the cfe-commits mailing list