1CLANG_LEVEL := ../../..
2TD_SRC_DIR = $(PROJ_SRC_DIR)/../Basic
3BUILT_SOURCES = AttrSpellings.inc 
4
5TABLEGEN_INC_FILES_COMMON = 1
6
7include $(CLANG_LEVEL)/Makefile
8
9$(ObjDir)/AttrSpellings.inc.tmp : $(TD_SRC_DIR)/Attr.td $(CLANG_TBLGEN) \
10                                  $(ObjDir)/.dir
11	$(Echo) "Building Clang attribute spellings with tblgen"
12	$(Verb) $(ClangTableGen) -gen-clang-attr-spelling-list -o $(call SYSPATH, $@) \
13		-I $(PROJ_SRC_DIR)/../../ $<
14