Jeffrey Yasskin | df5a7da | 2009-06-25 02:04:04 +0000 | [diff] [blame] | 1 | ##===- unittests/ExecutionEngine/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 = ../.. |
Jeffrey Yasskin | 0a96231 | 2009-08-04 23:53:16 +0000 | [diff] [blame] | 11 | TESTNAME = ExecutionEngine |
| 12 | LINK_COMPONENTS := engine interpreter |
Jeffrey Yasskin | df5a7da | 2009-06-25 02:04:04 +0000 | [diff] [blame] | 13 | |
| 14 | include $(LEVEL)/Makefile.config |
| 15 | |
Eli Bendersky | 61b1851 | 2012-03-13 08:33:15 +0000 | [diff] [blame] | 16 | SOURCES := ExecutionEngineTest.cpp \ |
| 17 | JITEventListenerTest.cpp |
| 18 | |
| 19 | ifeq ($(USE_INTEL_JITEVENTS), 1) |
| 20 | # Build the Intel JIT Events interface tests |
| 21 | SOURCES += IntelJITEventListenerTest.cpp |
| 22 | |
| 23 | # Add the Intel JIT Events include directory |
| 24 | CPPFLAGS += -I$(INTEL_JITEVENTS_INCDIR) |
| 25 | |
| 26 | # Link against the LLVM Intel JIT Evens interface library |
| 27 | LINK_COMPONENTS += inteljitevents |
| 28 | endif |
| 29 | |
| 30 | ifeq ($(USE_OPROFILE), 1) |
| 31 | # Build the OProfile JIT interface tests |
| 32 | SOURCES += OProfileJITEventListenerTest.cpp |
| 33 | |
| 34 | # Link against the LLVM oprofile interface library |
| 35 | LINK_COMPONENTS += oprofilejit |
| 36 | endif |
| 37 | |
| 38 | |
Jeffrey Yasskin | df5a7da | 2009-06-25 02:04:04 +0000 | [diff] [blame] | 39 | PARALLEL_DIRS = JIT |
| 40 | |
Jeffrey Yasskin | 0a96231 | 2009-08-04 23:53:16 +0000 | [diff] [blame] | 41 | include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest |