Implement support to read an arbitrary bitcode file. Next up, dumping the
[oota-llvm.git] / tools / Makefile
index 10aff58ac66f336e9662a524b4f31f5a296a025f..3d2c1f052e7dc9f10b318b46e4c126bf4f2a7642 100644 (file)
@@ -1,14 +1,29 @@
-LEVEL := ..
-PARALLEL_DIRS := as dis opt gccas llc link lli gccld analyze extract bugpoint
-
-include $(LEVEL)/Makefile.common
+##===- tools/Makefile --------------------------------------*- Makefile -*-===##
+# 
+#                     The LLVM Compiler Infrastructure
+#
+# This file was developed by the LLVM research group and is distributed under
+# the University of Illinois Open Source License. See LICENSE.TXT for details.
+# 
+##===----------------------------------------------------------------------===##
 
-#ifeq ($(ARCH),x86)
-# Only build jello when we are on X86
-#all     :: jello/.makeall
-#install :: jello/.makeinstall
-#clean   :: jello/.makeclean
-#endif
+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 llvm-upgrade \
+                 llc llvm-ranlib llvm-ar llvm-nm \
+                 llvm-ld llvmc llvm-prof llvm-link \
+                lli gccas gccld llvm-extract llvm-db llvm2cpp \
+                bugpoint llvm-stub llvm-bcanalyzer llvm-stub
+               
 
+include $(LEVEL)/Makefile.config
 
+# Disable liblto on Windows until compatability is determined.
+ifneq ($(OS), MingW)
+PARALLEL_DIRS += lto
+endif
 
+include $(LEVEL)/Makefile.common