Switch to using llvm-config to select components to link in.
authorChris Lattner <sabre@nondot.org>
Mon, 4 Sep 2006 04:47:49 +0000 (04:47 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 4 Sep 2006 04:47:49 +0000 (04:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30085 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-as/Makefile

index bd7c3d3eec0d5714b94255d6c5b939e0818bd731..aa64d066674e658fa215af80740ef01bc08ee00b 100644 (file)
@@ -6,10 +6,10 @@
 # the University of Illinois Open Source License. See LICENSE.TXT for details.
 # 
 ##===----------------------------------------------------------------------===##
+
 LEVEL = ../..
 TOOLNAME = llvm-as
-USEDLIBS = LLVMAsmParser.a LLVMBCWriter.a LLVMCore.a \
-           LLVMSupport.a LLVMbzip2.a LLVMSystem.a
+LINK_COMPONENTS := asmparser bcwriter
 REQUIRES_EH := 1
 
 include $(LEVEL)/Makefile.common