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

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



Changes in directory llvm/tools/llc:

Makefile updated: 1.89 -> 1.90
---
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 -16)

 Makefile |   18 ++----------------
 1 files changed, 2 insertions(+), 16 deletions(-)


Index: llvm/tools/llc/Makefile
diff -u llvm/tools/llc/Makefile:1.89 llvm/tools/llc/Makefile:1.90
--- llvm/tools/llc/Makefile:1.89	Sun Sep  3 23:04:41 2006
+++ llvm/tools/llc/Makefile	Mon Sep  4 00:59:09 2006
@@ -13,24 +13,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 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
 






More information about the llvm-commits mailing list