Generalize support for analyzing loops to include SLE/SGE loop exit conditions
[oota-llvm.git] / tools / Makefile
index 10aff58ac66f336e9662a524b4f31f5a296a025f..2726c1f3e43e0ddc4c1c3ee4ca6f9f00b8f846ec 100644 (file)
@@ -1,14 +1,29 @@
-LEVEL := ..
-PARALLEL_DIRS := as dis opt gccas llc link lli gccld analyze extract bugpoint
+##===- tools/Makefile --------------------------------------*- Makefile -*-===##
+#
+#                     The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
 
-include $(LEVEL)/Makefile.common
+LEVEL := ..
+# NOTE: The tools are organized into five groups of four consisting of one
+# large and three small executables. This is done to minimize memory load
+# in parallel builds.  Please retain this ordering.
+PARALLEL_DIRS := llvm-config  \
+                 opt llvm-as llvm-dis \
+                 llc llvm-ranlib llvm-ar llvm-nm \
+                 llvm-ld llvm-prof llvm-link \
+                lli gccas gccld llvm-extract llvm-db \
+                bugpoint llvm-bcanalyzer llvm-stub llvmc
 
-#ifeq ($(ARCH),x86)
-# Only build jello when we are on X86
-#all     :: jello/.makeall
-#install :: jello/.makeinstall
-#clean   :: jello/.makeclean
-#endif
 
+include $(LEVEL)/Makefile.config
 
+# only build new lto project on Darwin for now
+ifeq ($(OS),Darwin)
+PARALLEL_DIRS += lto
+endif
 
+include $(LEVEL)/Makefile.common