aboutsummaryrefslogtreecommitdiffstats
path: root/tools/opt/Makefile
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-04 05:59:09 +0000
committerChris Lattner <sabre@nondot.org>2006-09-04 05:59:09 +0000
commitaea932d27fa41bebaa8576b6002637e74054a7c4 (patch)
tree79307bf652e355249255cdae9ad82c5c2d997f5d /tools/opt/Makefile
parent54eae9e1ec35db90a6f33dd8053c533861771bb6 (diff)
downloadexternal_llvm-aea932d27fa41bebaa8576b6002637e74054a7c4.zip
external_llvm-aea932d27fa41bebaa8576b6002637e74054a7c4.tar.gz
external_llvm-aea932d27fa41bebaa8576b6002637e74054a7c4.tar.bz2
Use LINK_COMPONENTS to specify *components* to link against instead of
using USED_LIBS to specify *libraries* to link against. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/Makefile')
-rw-r--r--tools/opt/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/opt/Makefile b/tools/opt/Makefile
index 4bb9ed5..787136e 100644
--- a/tools/opt/Makefile
+++ b/tools/opt/Makefile
@@ -10,9 +10,7 @@ LEVEL = ../..
TOOLNAME = opt
REQUIRES_EH := 1
-USEDLIBS = LLVMBCReader.a LLVMBCWriter.a LLVMInstrumentation.a \
- LLVMScalarOpts.a LLVMipo.a LLVMipa.a LLVMDataStructure \
- LLVMTransforms.a LLVMTarget.a LLVMTransformUtils.a LLVMAnalysis.a \
- LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a
+LINK_COMPONENTS := bcreader bcwriter instrumentation scalaropts ipo \
+ datastructure transforms
include $(LEVEL)/Makefile.common