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