-##===- tools/gccld/Makefile --------------------------------*- Makefile -*-===##
+##===- tools/llvm-ld/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.
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
-LEVEL = ../..
-
-TOOLNAME = llvm-ld
-USEDLIBS = ipo.a transforms.a scalaropts.a analysis.a ipa.a transformutils.a \
- target.a bcreader bcwriter vmcore support.a LLVMsystem.a
+LEVEL := ../..
+TOOLNAME := llvm-ld
+LINK_COMPONENTS := ipo scalaropts linker archive bitwriter
include $(LEVEL)/Makefile.common