Add support for source and line information to IntelJITEventListener for object emitt...
[oota-llvm.git] / tools / lli / Makefile
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 interpreter nativecodegen bitreader asmparser 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