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 10 LEVEL := ../.. 11 TOOLNAME := llvm-jitlistener 12 13 include $(LEVEL)/Makefile.config 14 15 LINK_COMPONENTS := mcjit jit 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. 20 ifeq ($(USE_INTEL_JITEVENTS), 1) 21 LINK_COMPONENTS += debuginfo inteljitevents 22 endif 23 24 # This tool has no plugins, optimize startup time. 25 TOOL_NO_EXPORTS := 1 26 27 include $(LLVM_SRC_ROOT)/Makefile.rules 28