]> granicus.if.org Git - clang/commitdiff
Updating the makefile to reflect CMake; addendum to r193989.
authorAaron Ballman <aaron@aaronballman.com>
Mon, 4 Nov 2013 13:02:44 +0000 (13:02 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 4 Nov 2013 13:02:44 +0000 (13:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193990 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Parse/Makefile

index 203d1525663d9018658151fc2a995c579641f32e..00d41fafddeb031b1d1bd84e99dd54a3689807f0 100644 (file)
@@ -1,6 +1,6 @@
 CLANG_LEVEL := ../../..
 TD_SRC_DIR = $(PROJ_SRC_DIR)/../Basic
-BUILT_SOURCES = AttrIdentifierArg.inc AttrLateParsed.inc
+BUILT_SOURCES = AttrIdentifierArg.inc AttrLateParsed.inc AttrTypeArg.inc
 
 TABLEGEN_INC_FILES_COMMON = 1
 
@@ -12,6 +12,12 @@ $(ObjDir)/AttrIdentifierArg.inc.tmp : $(TD_SRC_DIR)/Attr.td $(CLANG_TBLGEN) \
        $(Verb) $(ClangTableGen) -gen-clang-attr-identifier-arg-list -o $(call SYSPATH, $@) \
                -I $(PROJ_SRC_DIR)/../../ $<
 
+$(ObjDir)/AttrTypeArg.inc.tmp : $(TD_SRC_DIR)/Attr.td $(CLANG_TBLGEN) \
+                                   $(ObjDir)/.dir
+       $(Echo) "Building Clang attribute type argument table with tblgen"
+       $(Verb) $(ClangTableGen) -gen-clang-attr-type-arg-list -o $(call SYSPATH, $@) \
+               -I $(PROJ_SRC_DIR)/../../ $<
+
 $(ObjDir)/AttrLateParsed.inc.tmp : $(TD_SRC_DIR)/Attr.td $(CLANG_TBLGEN) \
                                    $(ObjDir)/.dir
        $(Echo) "Building Clang attribute late-parsed table with tblgen"