aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2010-09-28 22:39:14 +0000
committerOscar Fuentes <ofv@wanadoo.es>2010-09-28 22:39:14 +0000
commit335edd1b5f4d10458376cf20cda536fc291f5a10 (patch)
tree4161cae699669172dfe5d8f311eed713e5223e7f /lib/Target
parent4d6e66825229bb1c387680d19eae514e97127f7d (diff)
downloadexternal_llvm-335edd1b5f4d10458376cf20cda536fc291f5a10.zip
external_llvm-335edd1b5f4d10458376cf20cda536fc291f5a10.tar.gz
external_llvm-335edd1b5f4d10458376cf20cda536fc291f5a10.tar.bz2
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
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/ARM/CMakeLists.txt5
-rw-r--r--lib/Target/Alpha/CMakeLists.txt2
-rw-r--r--lib/Target/CellSPU/CMakeLists.txt2
-rw-r--r--lib/Target/MBlaze/CMakeLists.txt2
-rw-r--r--lib/Target/MSP430/CMakeLists.txt2
-rw-r--r--lib/Target/Mips/CMakeLists.txt2
-rw-r--r--lib/Target/PIC16/AsmPrinter/CMakeLists.txt4
-rw-r--r--lib/Target/PTX/CMakeLists.txt2
-rw-r--r--lib/Target/PowerPC/CMakeLists.txt2
-rw-r--r--lib/Target/Sparc/CMakeLists.txt2
-rw-r--r--lib/Target/SystemZ/CMakeLists.txt2
11 files changed, 4 insertions, 23 deletions
diff --git a/lib/Target/ARM/CMakeLists.txt b/lib/Target/ARM/CMakeLists.txt
index 8bd0c06..4912058 100644
--- a/lib/Target/ARM/CMakeLists.txt
+++ b/lib/Target/ARM/CMakeLists.txt
@@ -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)
diff --git a/lib/Target/Alpha/CMakeLists.txt b/lib/Target/Alpha/CMakeLists.txt
index fbf7f3a..175ca66 100644
--- a/lib/Target/Alpha/CMakeLists.txt
+++ b/lib/Target/Alpha/CMakeLists.txt
@@ -25,5 +25,3 @@ add_llvm_target(AlphaCodeGen
AlphaTargetMachine.cpp
AlphaSelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMAlphaCodeGen LLVMSelectionDAG)
diff --git a/lib/Target/CellSPU/CMakeLists.txt b/lib/Target/CellSPU/CMakeLists.txt
index ddfca37..213dea9 100644
--- a/lib/Target/CellSPU/CMakeLists.txt
+++ b/lib/Target/CellSPU/CMakeLists.txt
@@ -23,5 +23,3 @@ add_llvm_target(CellSPUCodeGen
SPUTargetMachine.cpp
SPUSelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMCellSPUCodeGen LLVMSelectionDAG)
diff --git a/lib/Target/MBlaze/CMakeLists.txt b/lib/Target/MBlaze/CMakeLists.txt
index 7f85bf8..7b470ee 100644
--- a/lib/Target/MBlaze/CMakeLists.txt
+++ b/lib/Target/MBlaze/CMakeLists.txt
@@ -24,5 +24,3 @@ add_llvm_target(MBlazeCodeGen
MBlazeIntrinsicInfo.cpp
MBlazeSelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMMBlazeCodeGen LLVMSelectionDAG)
diff --git a/lib/Target/MSP430/CMakeLists.txt b/lib/Target/MSP430/CMakeLists.txt
index a3f60d2..2360ffd 100644
--- a/lib/Target/MSP430/CMakeLists.txt
+++ b/lib/Target/MSP430/CMakeLists.txt
@@ -21,5 +21,3 @@ add_llvm_target(MSP430CodeGen
MSP430TargetMachine.cpp
MSP430SelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMMSP430CodeGen LLVMSelectionDAG)
diff --git a/lib/Target/Mips/CMakeLists.txt b/lib/Target/Mips/CMakeLists.txt
index a77802a..78767e5 100644
--- a/lib/Target/Mips/CMakeLists.txt
+++ b/lib/Target/Mips/CMakeLists.txt
@@ -22,5 +22,3 @@ add_llvm_target(MipsCodeGen
MipsTargetObjectFile.cpp
MipsSelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMMipsCodeGen LLVMSelectionDAG)
diff --git a/lib/Target/PIC16/AsmPrinter/CMakeLists.txt b/lib/Target/PIC16/AsmPrinter/CMakeLists.txt
index 32f4bc4..f24c78a 100644
--- a/lib/Target/PIC16/AsmPrinter/CMakeLists.txt
+++ b/lib/Target/PIC16/AsmPrinter/CMakeLists.txt
@@ -7,8 +7,4 @@ add_llvm_library(LLVMPIC16AsmPrinter
PIC16AsmPrinter.cpp
)
-target_link_libraries(LLVMPIC16AsmPrinter
- LLVMPIC16CodeGen
- )
-
add_dependencies(LLVMPIC16AsmPrinter PIC16CodeGenTable_gen)
diff --git a/lib/Target/PTX/CMakeLists.txt b/lib/Target/PTX/CMakeLists.txt
index 5104f2b..1f5fcbb 100644
--- a/lib/Target/PTX/CMakeLists.txt
+++ b/lib/Target/PTX/CMakeLists.txt
@@ -18,5 +18,3 @@ add_llvm_target(PTXCodeGen
PTXSubtarget.cpp
PTXTargetMachine.cpp
)
-
-target_link_libraries (LLVMPTXCodeGen LLVMSelectionDAG)
diff --git a/lib/Target/PowerPC/CMakeLists.txt b/lib/Target/PowerPC/CMakeLists.txt
index 7ffc5eb..5f48bd0 100644
--- a/lib/Target/PowerPC/CMakeLists.txt
+++ b/lib/Target/PowerPC/CMakeLists.txt
@@ -26,5 +26,3 @@ add_llvm_target(PowerPCCodeGen
PPCTargetMachine.cpp
PPCSelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMPowerPCCodeGen LLVMSelectionDAG)
diff --git a/lib/Target/Sparc/CMakeLists.txt b/lib/Target/Sparc/CMakeLists.txt
index 684cadf..b789fa7 100644
--- a/lib/Target/Sparc/CMakeLists.txt
+++ b/lib/Target/Sparc/CMakeLists.txt
@@ -22,5 +22,3 @@ add_llvm_target(SparcCodeGen
SparcTargetMachine.cpp
SparcSelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMSparcCodeGen LLVMSelectionDAG)
diff --git a/lib/Target/SystemZ/CMakeLists.txt b/lib/Target/SystemZ/CMakeLists.txt
index 880e56f..e780934 100644
--- a/lib/Target/SystemZ/CMakeLists.txt
+++ b/lib/Target/SystemZ/CMakeLists.txt
@@ -20,5 +20,3 @@ add_llvm_target(SystemZCodeGen
SystemZTargetMachine.cpp
SystemZSelectionDAGInfo.cpp
)
-
-target_link_libraries (LLVMSystemZCodeGen LLVMSelectionDAG)