diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2012-11-21 20:38:26 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2012-11-21 20:38:26 +0000 |
commit | 238f34a706a60bf9606d70122bac0f77265e3431 (patch) | |
tree | 45dc277c05eabb92433b19189e1614d79793bf86 /tools/llvm-jitlistener/Makefile | |
parent | d43e06de594e734513eb4e24193eb2dd5288c0c4 (diff) | |
download | external_llvm-238f34a706a60bf9606d70122bac0f77265e3431.zip external_llvm-238f34a706a60bf9606d70122bac0f77265e3431.tar.gz external_llvm-238f34a706a60bf9606d70122bac0f77265e3431.tar.bz2 |
Adding tests for the Intel JIT event listener's MCJIT support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-jitlistener/Makefile')
-rw-r--r-- | tools/llvm-jitlistener/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/llvm-jitlistener/Makefile b/tools/llvm-jitlistener/Makefile new file mode 100644 index 0000000..0971e6a --- /dev/null +++ b/tools/llvm-jitlistener/Makefile @@ -0,0 +1,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 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 += inteljitevents
+endif
+
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS := 1
+
+include $(LLVM_SRC_ROOT)/Makefile.rules
|