blob: 8309330d8bd50f981bf9ab08cc6df4099509d266 [file] [log] [blame]
Daniel Dunbarafed0992010-06-08 20:34:18 +00001CLANG_LEVEL := ../../..
Stephen Hinesc568f1e2014-07-21 00:47:37 -07002BUILT_SOURCES = Options.inc
Daniel Dunbar64bdce32009-11-19 01:03:50 +00003
4TABLEGEN_INC_FILES_COMMON = 1
5
Daniel Dunbarafed0992010-06-08 20:34:18 +00006include $(CLANG_LEVEL)/Makefile
Daniel Dunbar64bdce32009-11-19 01:03:50 +00007
Hans Wennborg69813302013-07-27 00:23:45 +00008$(ObjDir)/Options.inc.tmp : Options.td CC1Options.td CLCompatOptions.td $(LLVM_TBLGEN) $(ObjDir)/.dir
Daniel Dunbar64bdce32009-11-19 01:03:50 +00009 $(Echo) "Building Clang Driver Option tables with tblgen"
Reid Klecknerb1e25a12013-06-14 17:17:23 +000010 $(Verb) $(LLVMTableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $<