Makefile revision c3cd2b0d538e4db78f1bcbedd0085e2005ce5c51
1CLANG_LEVEL := ../../.. 2TD_SRC_DIR = $(PROJ_SRC_DIR)/../Basic 3BUILT_SOURCES = Attrs.inc AttrImpl.inc AttrDump.inc \ 4 StmtNodes.inc DeclNodes.inc \ 5 CommentNodes.inc CommentHTMLTags.inc \ 6 CommentHTMLTagsProperties.inc CommentCommandInfo.inc 7 8TABLEGEN_INC_FILES_COMMON = 1 9 10include $(CLANG_LEVEL)/Makefile 11 12$(ObjDir)/Attrs.inc.tmp : $(TD_SRC_DIR)/Attr.td $(CLANG_TBLGEN) \ 13 $(ObjDir)/.dir 14 $(Echo) "Building Clang attribute classes with tblgen" 15 $(Verb) $(ClangTableGen) -gen-clang-attr-classes -o $(call SYSPATH, $@) \ 16 -I $(PROJ_SRC_DIR)/../../ $< 17 18$(ObjDir)/AttrImpl.inc.tmp : $(TD_SRC_DIR)/Attr.td $(CLANG_TBLGEN) \ 19 $(ObjDir)/.dir 20 $(Echo) "Building Clang attribute implementations with tblgen" 21 $(Verb) $(ClangTableGen) -gen-clang-attr-impl -o $(call SYSPATH, $@) \ 22 -I $(PROJ_SRC_DIR)/../../ $< 23 24$(ObjDir)/AttrDump.inc.tmp : $(TD_SRC_DIR)/Attr.td $(CLANG_TBLGEN) \ 25 $(ObjDir)/.dir 26 $(Echo) "Building Clang attribute dumper with tblgen" 27 $(Verb) $(ClangTableGen) -gen-clang-attr-dump -o $(call SYSPATH, $@) \ 28 -I $(PROJ_SRC_DIR)/../../ $< 29 30$(ObjDir)/StmtNodes.inc.tmp : $(TD_SRC_DIR)/StmtNodes.td $(CLANG_TBLGEN) \ 31 $(ObjDir)/.dir 32 $(Echo) "Building Clang statement node tables with tblgen" 33 $(Verb) $(ClangTableGen) -gen-clang-stmt-nodes -o $(call SYSPATH, $@) $< 34 35$(ObjDir)/DeclNodes.inc.tmp : $(TD_SRC_DIR)/DeclNodes.td $(CLANG_TBLGEN) \ 36 $(ObjDir)/.dir 37 $(Echo) "Building Clang declaration node tables with tblgen" 38 $(Verb) $(ClangTableGen) -gen-clang-decl-nodes -o $(call SYSPATH, $@) $< 39 40$(ObjDir)/CommentNodes.inc.tmp : $(TD_SRC_DIR)/CommentNodes.td $(CLANG_TBLGEN) \ 41 $(ObjDir)/.dir 42 $(Echo) "Building Clang comment node tables with tblgen" 43 $(Verb) $(ClangTableGen) -gen-clang-comment-nodes -o $(call SYSPATH, $@) $< 44 45$(ObjDir)/CommentHTMLTags.inc.tmp : $(PROJ_SRC_DIR)/CommentHTMLTags.td $(CLANG_TBLGEN) \ 46 $(ObjDir)/.dir 47 $(Echo) "Building Clang comment HTML tag matchers with tblgen" 48 $(Verb) $(ClangTableGen) -gen-clang-comment-html-tags -o $(call SYSPATH, $@) $< 49 50$(ObjDir)/CommentHTMLTagsProperties.inc.tmp : $(PROJ_SRC_DIR)/CommentHTMLTags.td \ 51 $(CLANG_TBLGEN) $(ObjDir)/.dir 52 $(Echo) "Building Clang comment HTML tag properties with tblgen" 53 $(Verb) $(ClangTableGen) -gen-clang-comment-html-tags-properties -o $(call SYSPATH, $@) $< 54 55$(ObjDir)/CommentCommandInfo.inc.tmp : $(PROJ_SRC_DIR)/CommentCommands.td \ 56 $(CLANG_TBLGEN) $(ObjDir)/.dir 57 $(Echo) "Building Clang comment command info with tblgen" 58 $(Verb) $(ClangTableGen) -gen-clang-comment-command-info -o $(call SYSPATH, $@) $< 59 60