-LEVEL = ../..
+##===- 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.
+#
+##===----------------------------------------------------------------------===##
-TOOLNAME = dis
-USEDLIBS = bcreader cwriter ipa.a vmcore support.a
-include $(LEVEL)/Makefile.common
+LEVEL := ../..
+TOOLNAME := llvm-dis
+LINK_COMPONENTS := bitreader analysis
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS := 1
+include $(LEVEL)/Makefile.common