Home | History | Annotate | Download | only in lli
      1 ##===- tools/lli/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 TOOLNAME := lli
     12 
     13 PARALLEL_DIRS := ChildTarget
     14 
     15 include $(LEVEL)/Makefile.config
     16 
     17 LINK_COMPONENTS := mcjit jit instrumentation interpreter nativecodegen bitreader asmparser irreader selectiondag native
     18 
     19 # If Intel JIT Events support is confiured, link against the LLVM Intel JIT
     20 # Events interface library
     21 ifeq ($(USE_INTEL_JITEVENTS), 1)
     22   LINK_COMPONENTS += debuginfo inteljitevents object
     23 endif
     24 
     25 # If oprofile support is confiured, link against the LLVM oprofile interface
     26 # library
     27 ifeq ($(USE_OPROFILE), 1)
     28   LINK_COMPONENTS += oprofilejit
     29 endif
     30 
     31 include $(LLVM_SRC_ROOT)/Makefile.rules
     32