Home | History | Annotate | Download | only in Option
      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 
     10 LEVEL = ../..
     11 TESTNAME = Option
     12 LINK_COMPONENTS := option support
     13 
     14 BUILT_SOURCES = Opts.inc
     15 TABLEGEN_INC_FILES_COMMON = 1
     16 
     17 include $(LEVEL)/Makefile.config
     18 
     19 include $(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