summaryrefslogtreecommitdiffstats
path: root/include/clang/Sema/Makefile
blob: f6662d6b08ebae4d884873d180f91f8bf5162824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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)/../../ $<


OpenPOWER on IntegriCloud