-LEVEL = ../..
+##===- tools/llvm-link/Makefile ----------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
-TOOLNAME = llvm-link
-USEDLIBS = bcreader bcwriter transformutils.a vmcore support.a
+LEVEL := ../..
+TOOLNAME := llvm-link
+LINK_COMPONENTS := linker bitreader bitwriter asmparser irreader
+
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS := 1
include $(LEVEL)/Makefile.common