Removed a bunch of unnecessary target_link_libraries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114999 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Oscar Fuentes 2010-09-28 22:39:14 +00:00
parent 44258d1da6
commit 3609eb0de2
20 changed files with 4 additions and 39 deletions

View File

@ -50,5 +50,3 @@ add_llvm_library(LLVMAnalysis
TypeBasedAliasAnalysis.cpp
ValueTracking.cpp
)
target_link_libraries (LLVMAnalysis LLVMSupport)

View File

@ -8,4 +8,3 @@ add_llvm_library(LLVMAsmPrinter
OcamlGCPrinter.cpp
)
target_link_libraries (LLVMAsmPrinter LLVMMCParser)

View File

@ -82,5 +82,3 @@ add_llvm_library(LLVMCodeGen
VirtRegMap.cpp
VirtRegRewriter.cpp
)
target_link_libraries (LLVMCodeGen LLVMCore LLVMScalarOpts)

View File

@ -21,5 +21,3 @@ add_llvm_library(LLVMSelectionDAG
TargetLowering.cpp
TargetSelectionDAGInfo.cpp
)
target_link_libraries (LLVMSelectionDAG LLVMAnalysis LLVMAsmPrinter LLVMCodeGen)

View File

@ -45,5 +45,3 @@ add_llvm_library(LLVMSupport
regfree.c
regstrlcpy.c
)
target_link_libraries (LLVMSupport LLVMSystem)

View File

@ -49,4 +49,7 @@ add_llvm_target(ARMCodeGen
Thumb2SizeReduction.cpp
)
target_link_libraries (LLVMARMCodeGen LLVMARMAsmPrinter LLVMSelectionDAG)
# The ARM CodeGen library depends on the AsmPrinter for just an
# vtable, but GenLibDeps.pl is unable to detect it. So without this
# the build fails with "undefined reference to `vtable for ..."
target_link_libraries(LLVMARMCodeGen LLVMARMAsmPrinter)

View File

@ -25,5 +25,3 @@ add_llvm_target(AlphaCodeGen
AlphaTargetMachine.cpp
AlphaSelectionDAGInfo.cpp
)
target_link_libraries (LLVMAlphaCodeGen LLVMSelectionDAG)

View File

@ -23,5 +23,3 @@ add_llvm_target(CellSPUCodeGen
SPUTargetMachine.cpp
SPUSelectionDAGInfo.cpp
)
target_link_libraries (LLVMCellSPUCodeGen LLVMSelectionDAG)

View File

@ -24,5 +24,3 @@ add_llvm_target(MBlazeCodeGen
MBlazeIntrinsicInfo.cpp
MBlazeSelectionDAGInfo.cpp
)
target_link_libraries (LLVMMBlazeCodeGen LLVMSelectionDAG)

View File

@ -21,5 +21,3 @@ add_llvm_target(MSP430CodeGen
MSP430TargetMachine.cpp
MSP430SelectionDAGInfo.cpp
)
target_link_libraries (LLVMMSP430CodeGen LLVMSelectionDAG)

View File

@ -22,5 +22,3 @@ add_llvm_target(MipsCodeGen
MipsTargetObjectFile.cpp
MipsSelectionDAGInfo.cpp
)
target_link_libraries (LLVMMipsCodeGen LLVMSelectionDAG)

View File

@ -7,8 +7,4 @@ add_llvm_library(LLVMPIC16AsmPrinter
PIC16AsmPrinter.cpp
)
target_link_libraries(LLVMPIC16AsmPrinter
LLVMPIC16CodeGen
)
add_dependencies(LLVMPIC16AsmPrinter PIC16CodeGenTable_gen)

View File

@ -18,5 +18,3 @@ add_llvm_target(PTXCodeGen
PTXSubtarget.cpp
PTXTargetMachine.cpp
)
target_link_libraries (LLVMPTXCodeGen LLVMSelectionDAG)

View File

@ -26,5 +26,3 @@ add_llvm_target(PowerPCCodeGen
PPCTargetMachine.cpp
PPCSelectionDAGInfo.cpp
)
target_link_libraries (LLVMPowerPCCodeGen LLVMSelectionDAG)

View File

@ -22,5 +22,3 @@ add_llvm_target(SparcCodeGen
SparcTargetMachine.cpp
SparcSelectionDAGInfo.cpp
)
target_link_libraries (LLVMSparcCodeGen LLVMSelectionDAG)

View File

@ -20,5 +20,3 @@ add_llvm_target(SystemZCodeGen
SystemZTargetMachine.cpp
SystemZSelectionDAGInfo.cpp
)
target_link_libraries (LLVMSystemZCodeGen LLVMSelectionDAG)

View File

@ -23,5 +23,3 @@ add_llvm_library(LLVMipo
StripSymbols.cpp
StructRetPromotion.cpp
)
target_link_libraries (LLVMipo LLVMScalarOpts LLVMInstCombine)

View File

@ -13,5 +13,3 @@ add_llvm_library(LLVMInstCombine
InstCombineSimplifyDemanded.cpp
InstCombineVectorOps.cpp
)
target_link_libraries (LLVMInstCombine LLVMTransformUtils)

View File

@ -31,5 +31,3 @@ add_llvm_library(LLVMScalarOpts
TailDuplication.cpp
TailRecursionElimination.cpp
)
target_link_libraries (LLVMScalarOpts LLVMTransformUtils)

View File

@ -25,4 +25,3 @@ add_llvm_library(LLVMTransformUtils
ValueMapper.cpp
)
target_link_libraries (LLVMTransformUtils LLVMSupport)