SimplifyCFG: Range'ify some for-loops. No functional change.
[oota-llvm.git] / lib / ExecutionEngine / Makefile
index 522665f8bef7d2a66809254aa5677ba694cf161b..cf714324e3b6e7ef84acffad46f960d847e986d8 100644 (file)
@@ -1,11 +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 = ../..
-include $(LEVEL)/Makefile.common
+LIBRARYNAME = LLVMExecutionEngine
 
-all:: lli
-clean::        
-       rm -f lli
+include $(LEVEL)/Makefile.config
 
-lli : $(ObjectsG)
-       $(LinkG) -o $@ $(ObjectsG) \
-               -lopt -lbcreader -lbcwriter \
-               -lvmcore -lasmwriter -lanalysis -lsupport
+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