X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=unittests%2FExecutionEngine%2FMakefile;h=38e667ff98885f2264a23a53e9c35f96f6786353;hb=fe532525cc4912ec0d1b4e91fa0396122dd087b3;hp=ffa05be87d282426864ff3fba50ca3a771dce3c7;hpb=61b1851a205cb8dd29c1d3d4231efb8f8f7da283;p=oota-llvm.git diff --git a/unittests/ExecutionEngine/Makefile b/unittests/ExecutionEngine/Makefile index ffa05be87d2..38e667ff988 100644 --- a/unittests/ExecutionEngine/Makefile +++ b/unittests/ExecutionEngine/Makefile @@ -9,33 +9,12 @@ LEVEL = ../.. TESTNAME = ExecutionEngine -LINK_COMPONENTS := engine interpreter +LINK_COMPONENTS :=interpreter include $(LEVEL)/Makefile.config -SOURCES := ExecutionEngineTest.cpp \ - JITEventListenerTest.cpp - -ifeq ($(USE_INTEL_JITEVENTS), 1) - # Build the Intel JIT Events interface tests - SOURCES += IntelJITEventListenerTest.cpp - - # Add the Intel JIT Events include directory - CPPFLAGS += -I$(INTEL_JITEVENTS_INCDIR) - - # Link against the LLVM Intel JIT Evens interface library - LINK_COMPONENTS += inteljitevents -endif - -ifeq ($(USE_OPROFILE), 1) - # Build the OProfile JIT interface tests - SOURCES += OProfileJITEventListenerTest.cpp - - # Link against the LLVM oprofile interface library - LINK_COMPONENTS += oprofilejit +ifeq ($(TARGET_HAS_JIT),1) + PARALLEL_DIRS = JIT MCJIT endif - -PARALLEL_DIRS = JIT - include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest