llvm-config-2: Switch to using real library dependency table.
[oota-llvm.git] / tools / llvm-ld / Makefile
index eb2158a252a1d5516f11d2a1a6f0d618857aaa9d..2ec6e0a43affc1258a4fcde29984a6e2dfb39afb 100644 (file)
@@ -2,17 +2,13 @@
 # 
 #                     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 = LLVMipo.a LLVMTransforms.a LLVMScalarOpts.a LLVMAnalysis.a \
-          LLVMipa.a LLVMTransformUtils.a LLVMTarget.a LLVMLinker.a \
-          LLVMArchive.a LLVMBCReader.a LLVMBCWriter.a \
-          LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a
+LEVEL := ../..
+TOOLNAME := llvm-ld
+LINK_COMPONENTS := ipo scalaropts linker archive bitwriter
 
 include $(LEVEL)/Makefile.common