Adding tests for the Intel JIT event listener's MCJIT support.
[oota-llvm.git] / tools / llvm-jitlistener / Makefile
1 ##===- tools/llvm-jitlistener/Makefile ---------------------*- Makefile -*-===##\r
2 #\r
3 #                     The LLVM Compiler Infrastructure\r
4 #\r
5 # This file is distributed under the University of Illinois Open Source\r
6 # License. See LICENSE.TXT for details.\r
7 #\r
8 ##===----------------------------------------------------------------------===##\r
9 \r
10 LEVEL := ../..\r
11 TOOLNAME := llvm-jitlistener\r
12 \r
13 include $(LEVEL)/Makefile.config\r
14 \r
15 LINK_COMPONENTS := mcjit jit interpreter nativecodegen bitreader asmparser selectiondag Object\r
16 \r
17 # If Intel JIT Events support is configured, link against the LLVM Intel JIT\r
18 # Events interface library.  If not, this tool will do nothing useful, but it\r
19 # will build correctly.\r
20 ifeq ($(USE_INTEL_JITEVENTS), 1)\r
21   LINK_COMPONENTS += inteljitevents\r
22 endif\r
23 \r
24 # This tool has no plugins, optimize startup time.\r
25 TOOL_NO_EXPORTS := 1\r
26 \r
27 include $(LLVM_SRC_ROOT)/Makefile.rules\r