[SROA] More range-based cleanups to SROA, these brought to you by
[oota-llvm.git] / lib / ExecutionEngine / Makefile
index 930f410b685037dbc01766a93761bdb67ee45fa3..cf714324e3b6e7ef84acffad46f960d847e986d8 100644 (file)
@@ -1,6 +1,24 @@
+##===- lib/ExecutionEngine/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 = lli
-USEDLIBS = bcreader vmcore analysis support target transforms
-TOOLLINKOPTS = -L$(LEVEL)/test/Libraries/Output -linstr32 -ldl
+LIBRARYNAME = LLVMExecutionEngine
 
-include $(LEVEL)/Makefile.common
+include $(LEVEL)/Makefile.config
+
+PARALLEL_DIRS = Interpreter MCJIT RuntimeDyld
+
+ifeq ($(USE_INTEL_JITEVENTS), 1)
+PARALLEL_DIRS += IntelJITEvents
+endif
+
+ifeq ($(USE_OPROFILE), 1)
+PARALLEL_DIRS += OProfileJIT
+endif
+
+include $(LLVM_SRC_ROOT)/Makefile.rules