Daniel Dunbar | afed099 | 2010-06-08 20:34:18 +0000 | [diff] [blame] | 1 | CLANG_LEVEL := ../../.. |
Stephen Hines | c568f1e | 2014-07-21 00:47:37 -0700 | [diff] [blame] | 2 | BUILT_SOURCES = Options.inc |
Daniel Dunbar | 64bdce3 | 2009-11-19 01:03:50 +0000 | [diff] [blame] | 3 | |
| 4 | TABLEGEN_INC_FILES_COMMON = 1 |
| 5 | |
Daniel Dunbar | afed099 | 2010-06-08 20:34:18 +0000 | [diff] [blame] | 6 | include $(CLANG_LEVEL)/Makefile |
Daniel Dunbar | 64bdce3 | 2009-11-19 01:03:50 +0000 | [diff] [blame] | 7 | |
Hans Wennborg | 6981330 | 2013-07-27 00:23:45 +0000 | [diff] [blame] | 8 | $(ObjDir)/Options.inc.tmp : Options.td CC1Options.td CLCompatOptions.td $(LLVM_TBLGEN) $(ObjDir)/.dir |
Daniel Dunbar | 64bdce3 | 2009-11-19 01:03:50 +0000 | [diff] [blame] | 9 | $(Echo) "Building Clang Driver Option tables with tblgen" |
Reid Kleckner | b1e25a1 | 2013-06-14 17:17:23 +0000 | [diff] [blame] | 10 | $(Verb) $(LLVMTableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $< |