1CLANG_LEVEL := ../../..
2BUILT_SOURCES = Options.inc
3
4TABLEGEN_INC_FILES_COMMON = 1
5
6include $(CLANG_LEVEL)/Makefile
7
8$(ObjDir)/Options.inc.tmp : Options.td CC1Options.td CLCompatOptions.td $(LLVM_TBLGEN) $(ObjDir)/.dir
9	$(Echo) "Building Clang Driver Option tables with tblgen"
10	$(Verb) $(LLVMTableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $<
11