1CLANG_LEVEL := ../../.. 2TD_SRC_DIR = $(PROJ_SRC_DIR)/../Basic 3BUILT_SOURCES = AttrPCHRead.inc AttrPCHWrite.inc 4 5TABLEGEN_INC_FILES_COMMON = 1 6 7include $(CLANG_LEVEL)/Makefile 8 9$(ObjDir)/AttrPCHRead.inc.tmp : $(TD_SRC_DIR)/Attr.td $(CLANG_TBLGEN) \ 10 $(ObjDir)/.dir 11 $(Echo) "Building Clang PCH reader with tblgen" 12 $(Verb) $(ClangTableGen) -gen-clang-attr-pch-read -o $(call SYSPATH, $@) \ 13 -I $(PROJ_SRC_DIR)/../../ $< 14 15$(ObjDir)/AttrPCHWrite.inc.tmp : $(TD_SRC_DIR)/Attr.td $(CLANG_TBLGEN) \ 16 $(ObjDir)/.dir 17 $(Echo) "Building Clang PCH writer with tblgen" 18 $(Verb) $(ClangTableGen) -gen-clang-attr-pch-write -o $(call SYSPATH, $@) \ 19 -I $(PROJ_SRC_DIR)/../../ $< 20