1 ##===- lib/LibDriver/Makefile ------------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
11 LIBRARYNAME = LLVMLibDriver
13 BUILT_SOURCES = Options.inc
14 TABLEGEN_INC_FILES_COMMON = 1
16 include $(LEVEL)/Makefile.common
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, $@) $<