Home | History | Annotate | Download | only in Serialization
      1 CLANG_LEVEL := ../../..
      2 TD_SRC_DIR = $(PROJ_SRC_DIR)/../Basic
      3 BUILT_SOURCES = AttrPCHRead.inc AttrPCHWrite.inc
      4 
      5 TABLEGEN_INC_FILES_COMMON = 1
      6 
      7 include $(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