Treat free operations as volatile, since they cannot be moved. This fixes
[oota-llvm.git] / tools / Makefile
index 9e5635c82e2bac77494059c5a146f2288c53dd6a..e2e4f6911d9cfbf79cfd7d814bc455af04e28cfa 100644 (file)
@@ -1,6 +1,25 @@
+##===- 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.
+# 
+##===----------------------------------------------------------------------===##
+
 LEVEL := ..
-PARALLEL_DIRS := as llvm-as dis llvm-dis opt gccas llc link lli gccld \
-                 analyze extract bugpoint
+PARALLEL_DIRS := llvm-as llvm-dis opt gccas llc llvm-link lli gccld llvm-stub \
+                 analyze extract llvm-nm llvm-prof llvm-ar llvm-ranlib \
+                 llvm-bcanalyzer llvmc llvm-ld llvm-db bugpoint
+
+include $(LEVEL)/Makefile.config
 
-include $(LEVEL)/Makefile.common
+# The bugpoint and llvm-db tools are not portable to Win32 because they depend
+# on fork(2) behavior that Win32 doesn't have. At some point they'll be 
+# rewritten to not depend on fork at which time they should be added back to
+# the list above.
+ifneq ($(LLVM_ON_UNIX),1)
+PARALLEL_DIRS := $(filter-out bugpoint llvm-db,$(PARALLEL_DIRS))
+endif
 
+include $(LLVM_SRC_ROOT)/Makefile.rules