Peter Collingbourne | bc05163 | 2015-06-09 21:50:22 +0000 | [diff] [blame] | 1 | ##===- lib/LibDriver/Makefile ------------------------------*- Makefile -*-===## |
| 2 | # |
| 3 | # The LLVM Compiler Infrastructure |
| 4 | # |
| 5 | # This file is distributed under the University of Illinois Open Source |
| 6 | # License. See LICENSE.TXT for details. |
| 7 | # |
| 8 | ##===----------------------------------------------------------------------===## |
| 9 | |
| 10 | LEVEL = ../.. |
| 11 | LIBRARYNAME = LLVMLibDriver |
| 12 | BUILD_ARCHIVE := 1 |
| 13 | BUILT_SOURCES = Options.inc |
| 14 | TABLEGEN_INC_FILES_COMMON = 1 |
| 15 | |
| 16 | include $(LEVEL)/Makefile.common |
| 17 | |
| 18 | $(ObjDir)/Options.inc.tmp : Options.td $(LLVM_TBLGEN) $(ObjDir)/.dir |
| 19 | $(Echo) "Building lib Driver Option tables with tblgen" |
| 20 | $(Verb) $(LLVMTableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $< |