Use the new tool_output_file in several tools. This fixes a variety
[oota-llvm.git] / tools / llvm-dis / Makefile
index 0bd888e95536d4d474a0724a302a3e45956d243f..22c9ecc300ecc2b0d562e4b8707f72b10424fef2 100644 (file)
@@ -1,7 +1,17 @@
+##===- tools/llvm-dis/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 = dis
-USEDLIBS = bcreader vmcore support cwriter
-include $(LEVEL)/Makefile.common
+TOOLNAME = llvm-dis
+LINK_COMPONENTS := bitreader
 
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
 
+include $(LEVEL)/Makefile.common