Simplify memory ownership with std::unique_ptr.
[oota-llvm.git] / unittests / ExecutionEngine / Makefile
index d4ef92ffb392fb1d3d272bbea38ce95415db79dd..38e667ff98885f2264a23a53e9c35f96f6786353 100644 (file)
@@ -9,10 +9,12 @@
 
 LEVEL = ../..
 TESTNAME = ExecutionEngine
-LINK_COMPONENTS := engine interpreter
+LINK_COMPONENTS :=interpreter
 
 include $(LEVEL)/Makefile.config
 
-PARALLEL_DIRS = JIT
+ifeq ($(TARGET_HAS_JIT),1)
+  PARALLEL_DIRS = JIT MCJIT
+endif
 
 include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest