1##===- unittests/Option/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 10LEVEL = ../.. 11TESTNAME = Option 12LINK_COMPONENTS := option support 13 14BUILT_SOURCES = Opts.inc 15TABLEGEN_INC_FILES_COMMON = 1 16 17include $(LEVEL)/Makefile.config 18 19include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest 20 21$(ObjDir)/Opts.inc.tmp : Opts.td $(LLVM_TBLGEN) $(ObjDir)/.dir 22 $(Echo) "Building Driver Option tables with tblgen" 23 $(Verb) $(LLVMTableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $< 24