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