diff options
Diffstat (limited to 'include/clang/Sema/Makefile')
-rw-r--r-- | include/clang/Sema/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/clang/Sema/Makefile b/include/clang/Sema/Makefile new file mode 100644 index 0000000..f6662d6 --- /dev/null +++ b/include/clang/Sema/Makefile @@ -0,0 +1,27 @@ +CLANG_LEVEL := ../../.. +TD_SRC_DIR = $(PROJ_SRC_DIR)/../Basic +BUILT_SOURCES = AttrTemplateInstantiate.inc AttrParsedAttrList.inc AttrParsedAttrKinds.inc + +TABLEGEN_INC_FILES_COMMON = 1 + +include $(CLANG_LEVEL)/Makefile + +$(ObjDir)/AttrTemplateInstantiate.inc.tmp : $(TD_SRC_DIR)/Attr.td \ + $(CLANG_TBLGEN) $(ObjDir)/.dir + $(Echo) "Building Clang attribute template instantiate code with tablegen" + $(Verb) $(ClangTableGen) -gen-clang-attr-template-instantiate -o \ + $(call SYSPATH, $@) -I $(PROJ_SRC_DIR)/../../ $< + +$(ObjDir)/AttrParsedAttrList.inc.tmp : $(TD_SRC_DIR)/Attr.td \ + $(CLANG_TBLGEN) $(ObjDir)/.dir + $(Echo) "Building Clang parsed attribute list with tablegen" + $(Verb) $(ClangTableGen) -gen-clang-attr-parsed-attr-list -o \ + $(call SYSPATH, $@) -I $(PROJ_SRC_DIR)/../../ $< + +$(ObjDir)/AttrParsedAttrKinds.inc.tmp : $(TD_SRC_DIR)/Attr.td \ + $(CLANG_TBLGEN) $(ObjDir)/.dir + $(Echo) "Building Clang parsed attribute kinds with tablegen" + $(Verb) $(ClangTableGen) -gen-clang-attr-parsed-attr-kinds -o \ + $(call SYSPATH, $@) -I $(PROJ_SRC_DIR)/../../ $< + + |