summaryrefslogtreecommitdiffstats
path: root/include/clang/Lex/Makefile
blob: 9874bcffb3e1dc234526f5a44a28199ead99832a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CLANG_LEVEL := ../../..
TD_SRC_DIR = $(PROJ_SRC_DIR)/../Basic
BUILT_SOURCES = AttrSpellings.inc 

TABLEGEN_INC_FILES_COMMON = 1

include $(CLANG_LEVEL)/Makefile

$(ObjDir)/AttrSpellings.inc.tmp : $(TD_SRC_DIR)/Attr.td $(TBLGEN) \
                                  $(ObjDir)/.dir
	$(Echo) "Building Clang attribute spellings with tblgen"
	$(Verb) $(TableGen) -gen-clang-attr-spelling-list -o $(call SYSPATH, $@) \
		-I $(PROJ_SRC_DIR)/../../ $<
OpenPOWER on IntegriCloud