1 CLANG_LEVEL := ../../.. 2 TD_SRC_DIR = $(PROJ_SRC_DIR)/../Basic 3 BUILT_SOURCES = AttrTemplateInstantiate.inc AttrParsedAttrList.inc AttrParsedAttrKinds.inc \ 4 AttrSpellingListIndex.inc AttrParsedAttrImpl.inc 5 6 TABLEGEN_INC_FILES_COMMON = 1 7 8 include $(CLANG_LEVEL)/Makefile 9 10 $(ObjDir)/AttrTemplateInstantiate.inc.tmp : $(TD_SRC_DIR)/Attr.td \ 11 $(CLANG_TBLGEN) $(ObjDir)/.dir 12 $(Echo) "Building Clang attribute template instantiate code with tablegen" 13 $(Verb) $(ClangTableGen) -gen-clang-attr-template-instantiate -o \ 14 $(call SYSPATH, $@) -I $(PROJ_SRC_DIR)/../../ $< 15 16 $(ObjDir)/AttrParsedAttrList.inc.tmp : $(TD_SRC_DIR)/Attr.td \ 17 $(CLANG_TBLGEN) $(ObjDir)/.dir 18 $(Echo) "Building Clang parsed attribute list with tablegen" 19 $(Verb) $(ClangTableGen) -gen-clang-attr-parsed-attr-list -o \ 20 $(call SYSPATH, $@) -I $(PROJ_SRC_DIR)/../../ $< 21 22 $(ObjDir)/AttrParsedAttrKinds.inc.tmp : $(TD_SRC_DIR)/Attr.td \ 23 $(CLANG_TBLGEN) $(ObjDir)/.dir 24 $(Echo) "Building Clang parsed attribute kinds with tablegen" 25 $(Verb) $(ClangTableGen) -gen-clang-attr-parsed-attr-kinds -o \ 26 $(call SYSPATH, $@) -I $(PROJ_SRC_DIR)/../../ $< 27 28 $(ObjDir)/AttrSpellingListIndex.inc.tmp : $(TD_SRC_DIR)/Attr.td \ 29 $(CLANG_TBLGEN) $(ObjDir)/.dir 30 $(Echo) "Building Clang attribute spelling list index with tablegen" 31 $(Verb) $(ClangTableGen) -gen-clang-attr-spelling-index -o \ 32 $(call SYSPATH, $@) -I $(PROJ_SRC_DIR)/../../ $< 33 34 $(ObjDir)/AttrParsedAttrImpl.inc.tmp : $(TD_SRC_DIR)/Attr.td \ 35 $(CLANG_TBLGEN) $(ObjDir)/.dir 36 $(Echo) "Building Clang parsed attribute list impl with tablegen" 37 $(Verb) $(ClangTableGen) -gen-clang-attr-parsed-attr-impl -o \ 38 $(call SYSPATH, $@) -I $(PROJ_SRC_DIR)/../../ $< 39 40