aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-jitlistener/Makefile
blob: b13222731745215430fc1c62f6cae1f1a27b33e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
##===- tools/llvm-jitlistener/Makefile ---------------------*- Makefile -*-===##
#
#                     The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##

LEVEL := ../..
TOOLNAME := llvm-jitlistener

include $(LEVEL)/Makefile.config

LINK_COMPONENTS := mcjit jit interpreter nativecodegen bitreader asmparser irreader selectiondag Object

# If Intel JIT Events support is configured, link against the LLVM Intel JIT
# Events interface library.  If not, this tool will do nothing useful, but it
# will build correctly.
ifeq ($(USE_INTEL_JITEVENTS), 1)
  LINK_COMPONENTS += debuginfo inteljitevents
endif

# This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS := 1

include $(LLVM_SRC_ROOT)/Makefile.rules