llvm-config-2: Switch to using real library dependency table.
[oota-llvm.git] / tools / llvm-ld / Makefile
index 2c6496263208046b99efddfb013b1e175250f3fc..2ec6e0a43affc1258a4fcde29984a6e2dfb39afb 100644 (file)
@@ -1,16 +1,14 @@
-##===- 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