1##===- tools/llvm-jitlistener/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 := llvm-jitlistener
12
13include $(LEVEL)/Makefile.config
14
15LINK_COMPONENTS := mcjit interpreter nativecodegen bitreader asmparser irreader selectiondag Object
16
17# If Intel JIT Events support is configured, link against the LLVM Intel JIT
18# Events interface library.  If not, this tool will do nothing useful, but it
19# will build correctly.
20ifeq ($(USE_INTEL_JITEVENTS), 1)
21  LINK_COMPONENTS += debuginfo inteljitevents
22endif
23
24# This tool has no plugins, optimize startup time.
25TOOL_NO_EXPORTS := 1
26
27include $(LLVM_SRC_ROOT)/Makefile.rules
28