[llvm-commits] CVS: llvm/tools/lto/Makefile

Chris Lattner lattner at cs.uiuc.edu
Sun Sep 3 22:59:51 PDT 2006



Changes in directory llvm/tools/lto:

Makefile updated: 1.4 -> 1.5
---
Log message:

Use LINK_COMPONENTS to specify *components* to link against instead of
using USED_LIBS to specify *libraries* to link against.


---
Diffs of the changes:  (+2 -6)

 Makefile |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)


Index: llvm/tools/lto/Makefile
diff -u llvm/tools/lto/Makefile:1.4 llvm/tools/lto/Makefile:1.5
--- llvm/tools/lto/Makefile:1.4	Thu Aug  3 12:26:30 2006
+++ llvm/tools/lto/Makefile	Mon Sep  4 00:59:09 2006
@@ -17,14 +17,10 @@
 
 # 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 includeing Makefile.rules
 include $(LEVEL)/Makefile.config
 
-USEDLIBS := $(addprefix LLVM,$(TARGETS_TO_BUILD)) \
-	LLVMSelectionDAG.a LLVMCodeGen.a LLVMipo.a LLVMTransforms.a \
-	LLVMScalarOpts.a LLVMipa.a LLVMTransformUtils.a LLVMAnalysis.a \
-	LLVMTarget.a LLVMBCReader.a LLVMBCWriter.a LLVMSystem.a LLVMLinker.a \
-	LLVMCore.a LLVMSupport.a LLVMbzip2.a
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts bcreader bcwriter
 
 include $(LEVEL)/Makefile.common
 






More information about the llvm-commits mailing list