summaryrefslogtreecommitdiff
path: root/tools/llc/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/llc/Makefile
parent54eae9e1ec35db90a6f33dd8053c533861771bb6 (diff)
downloadllvm-aea932d27fa41bebaa8576b6002637e74054a7c4.tar.gz
llvm-aea932d27fa41bebaa8576b6002637e74054a7c4.tar.bz2
llvm-aea932d27fa41bebaa8576b6002637e74054a7c4.tar.xz
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/llc/Makefile')
-rw-r--r--tools/llc/Makefile18
1 files changed, 2 insertions, 16 deletions
diff --git a/tools/llc/Makefile b/tools/llc/Makefile
index 812e59a224..847a175d25 100644
--- a/tools/llc/Makefile
+++ b/tools/llc/Makefile
@@ -13,24 +13,10 @@ REQUIRES_EH := 1
# Include this here so we can get the configuration of the targets
# that have been configured for construction. We have to do this
-# early so we can set up USEDLIBS properly before includeing Makefile.rules
+# early so we can set up LINK_COMPONENTS before including Makefile.rules
include $(LEVEL)/Makefile.config
-USEDLIBS := $(addprefix LLVM,$(TARGETS_TO_BUILD)) \
- LLVMTarget.a \
- LLVMCodeGen.a \
- LLVMSelectionDAG.a \
- LLVMipa.a \
- LLVMTransforms.a \
- LLVMScalarOpts.a \
- LLVMTransformUtils.a \
- LLVMAnalysis.a \
- LLVMBCReader.a \
- LLVMBCWriter.a \
- LLVMCore.a \
- LLVMSupport.a \
- LLVMbzip2.a \
- LLVMSystem.a
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) bcreader
include $(LLVM_SRC_ROOT)/Makefile.rules