build/CMake: Finish removal of add_llvm_library_dependencies.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145420 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2011-11-29 19:25:30 +00:00
parent 6e7a13db85
commit d782bae970
78 changed files with 0 additions and 574 deletions

View File

@ -35,9 +35,6 @@ macro(add_llvm_library name)
target_link_libraries(${name} ${lib_deps}) target_link_libraries(${name} ${lib_deps})
endmacro(add_llvm_library name) endmacro(add_llvm_library name)
macro(add_llvm_library_dependencies name)
endmacro(add_llvm_library_dependencies name)
macro(add_llvm_loadable_module name) macro(add_llvm_loadable_module name)
if( NOT LLVM_ON_UNIX OR CYGWIN ) if( NOT LLVM_ON_UNIX OR CYGWIN )
message(STATUS "Loadable modules not supported on this platform. message(STATUS "Loadable modules not supported on this platform.

View File

@ -58,10 +58,4 @@ add_llvm_library(LLVMAnalysis
ValueTracking.cpp ValueTracking.cpp
) )
add_llvm_library_dependencies(LLVMAnalysis
LLVMCore
LLVMSupport
LLVMTarget
)
add_subdirectory(IPA) add_subdirectory(IPA)

View File

@ -5,9 +5,3 @@ add_llvm_library(LLVMipa
GlobalsModRef.cpp GlobalsModRef.cpp
IPA.cpp IPA.cpp
) )
add_llvm_library_dependencies(LLVMipa
LLVMAnalysis
LLVMCore
LLVMSupport
)

View File

@ -3,9 +3,3 @@ add_llvm_library(LLVMArchive
ArchiveReader.cpp ArchiveReader.cpp
ArchiveWriter.cpp ArchiveWriter.cpp
) )
add_llvm_library_dependencies(LLVMArchive
LLVMBitReader
LLVMCore
LLVMSupport
)

View File

@ -4,8 +4,3 @@ add_llvm_library(LLVMAsmParser
LLParser.cpp LLParser.cpp
Parser.cpp Parser.cpp
) )
add_llvm_library_dependencies(LLVMAsmParser
LLVMCore
LLVMSupport
)

View File

@ -2,8 +2,3 @@ add_llvm_library(LLVMBitReader
BitReader.cpp BitReader.cpp
BitcodeReader.cpp BitcodeReader.cpp
) )
add_llvm_library_dependencies(LLVMBitReader
LLVMCore
LLVMSupport
)

View File

@ -4,8 +4,3 @@ add_llvm_library(LLVMBitWriter
BitcodeWriterPass.cpp BitcodeWriterPass.cpp
ValueEnumerator.cpp ValueEnumerator.cpp
) )
add_llvm_library_dependencies(LLVMBitWriter
LLVMCore
LLVMSupport
)

View File

@ -12,13 +12,3 @@ add_llvm_library(LLVMAsmPrinter
OcamlGCPrinter.cpp OcamlGCPrinter.cpp
Win64Exception.cpp Win64Exception.cpp
) )
add_llvm_library_dependencies(LLVMAsmPrinter
LLVMAnalysis
LLVMCodeGen
LLVMCore
LLVMMC
LLVMMCParser
LLVMSupport
LLVMTarget
)

View File

@ -99,15 +99,5 @@ add_llvm_library(LLVMCodeGen
VirtRegMap.cpp VirtRegMap.cpp
) )
add_llvm_library_dependencies(LLVMCodeGen
LLVMAnalysis
LLVMCore
LLVMMC
LLVMScalarOpts
LLVMSupport
LLVMTarget
LLVMTransformUtils
)
add_subdirectory(SelectionDAG) add_subdirectory(SelectionDAG)
add_subdirectory(AsmPrinter) add_subdirectory(AsmPrinter)

View File

@ -20,13 +20,3 @@ add_llvm_library(LLVMSelectionDAG
TargetLowering.cpp TargetLowering.cpp
TargetSelectionDAGInfo.cpp TargetSelectionDAGInfo.cpp
) )
add_llvm_library_dependencies(LLVMSelectionDAG
LLVMAnalysis
LLVMCodeGen
LLVMCore
LLVMMC
LLVMSupport
LLVMTarget
LLVMTransformUtils
)

View File

@ -10,7 +10,3 @@ add_llvm_library(LLVMDebugInfo
DWARFDebugLine.cpp DWARFDebugLine.cpp
DWARFFormValue.cpp DWARFFormValue.cpp
) )
add_llvm_library_dependencies(LLVMDebugInfo
LLVMSupport
)

View File

@ -4,13 +4,6 @@ add_llvm_library(LLVMExecutionEngine
TargetSelect.cpp TargetSelect.cpp
) )
add_llvm_library_dependencies(LLVMExecutionEngine
LLVMCore
LLVMMC
LLVMSupport
LLVMTarget
)
add_subdirectory(Interpreter) add_subdirectory(Interpreter)
add_subdirectory(JIT) add_subdirectory(JIT)
add_subdirectory(MCJIT) add_subdirectory(MCJIT)

View File

@ -12,14 +12,6 @@ add_llvm_library(LLVMInterpreter
Interpreter.cpp Interpreter.cpp
) )
add_llvm_library_dependencies(LLVMInterpreter
LLVMCodeGen
LLVMCore
LLVMExecutionEngine
LLVMSupport
LLVMTarget
)
if( LLVM_ENABLE_FFI ) if( LLVM_ENABLE_FFI )
target_link_libraries( LLVMInterpreter ${FFI_LIBRARY_PATH} ) target_link_libraries( LLVMInterpreter ${FFI_LIBRARY_PATH} )
endif() endif()

View File

@ -10,13 +10,3 @@ add_llvm_library(LLVMJIT
JITMemoryManager.cpp JITMemoryManager.cpp
OProfileJITEventListener.cpp OProfileJITEventListener.cpp
) )
add_llvm_library_dependencies(LLVMJIT
LLVMCodeGen
LLVMCore
LLVMExecutionEngine
LLVMMC
LLVMRuntimeDyld
LLVMSupport
LLVMTarget
)

View File

@ -2,11 +2,3 @@ add_llvm_library(LLVMMCJIT
MCJIT.cpp MCJIT.cpp
Intercept.cpp Intercept.cpp
) )
add_llvm_library_dependencies(LLVMMCJIT
LLVMCore
LLVMExecutionEngine
LLVMRuntimeDyld
LLVMSupport
LLVMTarget
)

View File

@ -2,8 +2,3 @@ add_llvm_library(LLVMRuntimeDyld
RuntimeDyld.cpp RuntimeDyld.cpp
RuntimeDyldMachO.cpp RuntimeDyldMachO.cpp
) )
add_llvm_library_dependencies(LLVMRuntimeDyld
LLVMObject
LLVMSupport
)

View File

@ -4,11 +4,3 @@ add_llvm_library(LLVMLinker
LinkModules.cpp LinkModules.cpp
Linker.cpp Linker.cpp
) )
add_llvm_library_dependencies(LLVMLinker
LLVMArchive
LLVMBitReader
LLVMCore
LLVMSupport
LLVMTransformUtils
)

View File

@ -45,10 +45,5 @@ add_llvm_library(LLVMMC
WinCOFFStreamer.cpp WinCOFFStreamer.cpp
) )
add_llvm_library_dependencies(LLVMMC
LLVMObject
LLVMSupport
)
add_subdirectory(MCParser) add_subdirectory(MCParser)
add_subdirectory(MCDisassembler) add_subdirectory(MCDisassembler)

View File

@ -6,9 +6,3 @@ add_llvm_library(LLVMMCDisassembler
EDOperand.cpp EDOperand.cpp
EDToken.cpp EDToken.cpp
) )
add_llvm_library_dependencies(LLVMMCDisassembler
LLVMMC
LLVMMCParser
LLVMSupport
)

View File

@ -9,8 +9,3 @@ add_llvm_library(LLVMMCParser
MCAsmParserExtension.cpp MCAsmParserExtension.cpp
MCTargetAsmParser.cpp MCTargetAsmParser.cpp
) )
add_llvm_library_dependencies(LLVMMCParser
LLVMMC
LLVMSupport
)

View File

@ -9,8 +9,3 @@ add_llvm_library(LLVMObject
Object.cpp Object.cpp
ObjectFile.cpp ObjectFile.cpp
) )
add_llvm_library_dependencies(LLVMObject
LLVMCore
LLVMSupport
)

View File

@ -10,7 +10,3 @@ add_llvm_library(LLVMTableGen
TGLexer.cpp TGLexer.cpp
TGParser.cpp TGParser.cpp
) )
add_llvm_library_dependencies(LLVMTableGen
LLVMSupport
)

View File

@ -6,11 +6,3 @@ add_llvm_library(LLVMARMAsmParser
) )
add_dependencies(LLVMARMAsmParser ARMCommonTableGen) add_dependencies(LLVMARMAsmParser ARMCommonTableGen)
add_llvm_library_dependencies(LLVMARMAsmParser
LLVMARMDesc
LLVMARMInfo
LLVMMC
LLVMMCParser
LLVMSupport
)

View File

@ -48,20 +48,6 @@ add_llvm_target(ARMCodeGen
Thumb2SizeReduction.cpp Thumb2SizeReduction.cpp
) )
add_llvm_library_dependencies(LLVMARMCodeGen
LLVMARMAsmPrinter
LLVMARMDesc
LLVMARMInfo
LLVMAnalysis
LLVMAsmPrinter
LLVMCodeGen
LLVMCore
LLVMMC
LLVMSelectionDAG
LLVMSupport
LLVMTarget
)
# workaround for hanging compilation on MSVC9, 10 # workaround for hanging compilation on MSVC9, 10
if( MSVC_VERSION EQUAL 1600 OR MSVC_VERSION EQUAL 1500 ) if( MSVC_VERSION EQUAL 1600 OR MSVC_VERSION EQUAL 1500 )
set_property( set_property(

View File

@ -11,11 +11,3 @@ set_property(
) )
endif() endif()
add_dependencies(LLVMARMDisassembler ARMCommonTableGen) add_dependencies(LLVMARMDisassembler ARMCommonTableGen)
add_llvm_library_dependencies(LLVMARMDisassembler
LLVMARMCodeGen
LLVMARMDesc
LLVMARMInfo
LLVMMC
LLVMSupport
)

View File

@ -5,8 +5,3 @@ add_llvm_library(LLVMARMAsmPrinter
) )
add_dependencies(LLVMARMAsmPrinter ARMCommonTableGen) add_dependencies(LLVMARMAsmPrinter ARMCommonTableGen)
add_llvm_library_dependencies(LLVMARMAsmPrinter
LLVMMC
LLVMSupport
)

View File

@ -10,10 +10,3 @@ add_dependencies(LLVMARMDesc ARMCommonTableGen)
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)
add_llvm_library_dependencies(LLVMARMDesc
LLVMARMAsmPrinter
LLVMARMInfo
LLVMMC
LLVMSupport
)

View File

@ -5,9 +5,3 @@ add_llvm_library(LLVMARMInfo
) )
add_dependencies(LLVMARMInfo ARMCommonTableGen) add_dependencies(LLVMARMInfo ARMCommonTableGen)
add_llvm_library_dependencies(LLVMARMInfo
LLVMMC
LLVMSupport
LLVMTarget
)

View File

@ -2,16 +2,4 @@ add_llvm_target(CBackendCodeGen
CBackend.cpp CBackend.cpp
) )
add_llvm_library_dependencies(LLVMCBackendCodeGen
LLVMAnalysis
LLVMCBackendInfo
LLVMCodeGen
LLVMCore
LLVMMC
LLVMScalarOpts
LLVMSupport
LLVMTarget
LLVMTransformUtils
)
add_subdirectory(TargetInfo) add_subdirectory(TargetInfo)

View File

@ -3,9 +3,3 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/
add_llvm_library(LLVMCBackendInfo add_llvm_library(LLVMCBackendInfo
CBackendTargetInfo.cpp CBackendTargetInfo.cpp
) )
add_llvm_library_dependencies(LLVMCBackendInfo
LLVMMC
LLVMSupport
LLVMTarget
)

View File

@ -13,12 +13,6 @@ add_llvm_library(LLVMTarget
TargetSubtargetInfo.cpp TargetSubtargetInfo.cpp
) )
add_llvm_library_dependencies(LLVMTarget
LLVMCore
LLVMMC
LLVMSupport
)
foreach(t ${LLVM_TARGETS_TO_BUILD}) foreach(t ${LLVM_TARGETS_TO_BUILD})
message(STATUS "Targeting ${t}") message(STATUS "Targeting ${t}")
add_subdirectory(${t}) add_subdirectory(${t})

View File

@ -23,17 +23,5 @@ add_llvm_target(CellSPUCodeGen
SPUNopFiller.cpp SPUNopFiller.cpp
) )
add_llvm_library_dependencies(LLVMCellSPUCodeGen
LLVMAsmPrinter
LLVMCellSPUDesc
LLVMCellSPUInfo
LLVMCodeGen
LLVMCore
LLVMMC
LLVMSelectionDAG
LLVMSupport
LLVMTarget
)
add_subdirectory(TargetInfo) add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc) add_subdirectory(MCTargetDesc)

View File

@ -3,9 +3,4 @@ add_llvm_library(LLVMCellSPUDesc
SPUMCAsmInfo.cpp SPUMCAsmInfo.cpp
) )
add_llvm_library_dependencies(LLVMCellSPUDesc
LLVMCellSPUInfo
LLVMMC
)
add_dependencies(LLVMCellSPUDesc CellSPUCommonTableGen) add_dependencies(LLVMCellSPUDesc CellSPUCommonTableGen)

View File

@ -4,10 +4,4 @@ add_llvm_library(LLVMCellSPUInfo
CellSPUTargetInfo.cpp CellSPUTargetInfo.cpp
) )
add_llvm_library_dependencies(LLVMCellSPUInfo
LLVMMC
LLVMSupport
LLVMTarget
)
add_dependencies(LLVMCellSPUInfo CellSPUCommonTableGen) add_dependencies(LLVMCellSPUInfo CellSPUCommonTableGen)

View File

@ -2,11 +2,4 @@ add_llvm_target(CppBackendCodeGen
CPPBackend.cpp CPPBackend.cpp
) )
add_llvm_library_dependencies(LLVMCppBackendCodeGen
LLVMCore
LLVMCppBackendInfo
LLVMSupport
LLVMTarget
)
add_subdirectory(TargetInfo) add_subdirectory(TargetInfo)

View File

@ -3,9 +3,3 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/
add_llvm_library(LLVMCppBackendInfo add_llvm_library(LLVMCppBackendInfo
CppBackendTargetInfo.cpp CppBackendTargetInfo.cpp
) )
add_llvm_library_dependencies(LLVMCppBackendInfo
LLVMMC
LLVMSupport
LLVMTarget
)

View File

@ -6,11 +6,4 @@ add_llvm_library(LLVMMBlazeAsmParser
MBlazeAsmParser.cpp MBlazeAsmParser.cpp
) )
add_llvm_library_dependencies(LLVMMBlazeAsmParser
LLVMMBlazeInfo
LLVMMC
LLVMMCParser
LLVMSupport
)
add_dependencies(LLVMMBlazeAsmParser MBlazeCommonTableGen) add_dependencies(LLVMMBlazeAsmParser MBlazeCommonTableGen)

View File

@ -29,19 +29,6 @@ add_llvm_target(MBlazeCodeGen
MBlazeELFWriterInfo.cpp MBlazeELFWriterInfo.cpp
) )
add_llvm_library_dependencies(LLVMMBlazeCodeGen
LLVMAsmPrinter
LLVMCodeGen
LLVMCore
LLVMMBlazeAsmPrinter
LLVMMBlazeDesc
LLVMMBlazeInfo
LLVMMC
LLVMSelectionDAG
LLVMSupport
LLVMTarget
)
add_subdirectory(AsmParser) add_subdirectory(AsmParser)
add_subdirectory(Disassembler) add_subdirectory(Disassembler)
add_subdirectory(InstPrinter) add_subdirectory(InstPrinter)

View File

@ -13,11 +13,4 @@ set_property(
) )
endif() endif()
add_llvm_library_dependencies(LLVMMBlazeDisassembler
LLVMMBlazeDesc
LLVMMBlazeInfo
LLVMMC
LLVMSupport
)
add_dependencies(LLVMMBlazeDisassembler MBlazeCommonTableGen) add_dependencies(LLVMMBlazeDisassembler MBlazeCommonTableGen)

View File

@ -5,9 +5,4 @@ add_llvm_library(LLVMMBlazeAsmPrinter
MBlazeInstPrinter.cpp MBlazeInstPrinter.cpp
) )
add_llvm_library_dependencies(LLVMMBlazeAsmPrinter
LLVMMC
LLVMSupport
)
add_dependencies(LLVMMBlazeAsmPrinter MBlazeCommonTableGen) add_dependencies(LLVMMBlazeAsmPrinter MBlazeCommonTableGen)

View File

@ -5,11 +5,4 @@ add_llvm_library(LLVMMBlazeDesc
MBlazeMCTargetDesc.cpp MBlazeMCTargetDesc.cpp
) )
add_llvm_library_dependencies(LLVMMBlazeDesc
LLVMMBlazeAsmPrinter
LLVMMBlazeInfo
LLVMMC
LLVMSupport
)
add_dependencies(LLVMMBlazeDesc MBlazeCommonTableGen) add_dependencies(LLVMMBlazeDesc MBlazeCommonTableGen)

View File

@ -5,10 +5,4 @@ add_llvm_library(LLVMMBlazeInfo
MBlazeTargetInfo.cpp MBlazeTargetInfo.cpp
) )
add_llvm_library_dependencies(LLVMMBlazeInfo
LLVMMC
LLVMSupport
LLVMTarget
)
add_dependencies(LLVMMBlazeInfo MBlazeCommonTableGen) add_dependencies(LLVMMBlazeInfo MBlazeCommonTableGen)

View File

@ -22,19 +22,6 @@ add_llvm_target(MSP430CodeGen
MSP430MCInstLower.cpp MSP430MCInstLower.cpp
) )
add_llvm_library_dependencies(LLVMMSP430CodeGen
LLVMAsmPrinter
LLVMCodeGen
LLVMCore
LLVMMC
LLVMMSP430AsmPrinter
LLVMMSP430Desc
LLVMMSP430Info
LLVMSelectionDAG
LLVMSupport
LLVMTarget
)
add_subdirectory(InstPrinter) add_subdirectory(InstPrinter)
add_subdirectory(TargetInfo) add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc) add_subdirectory(MCTargetDesc)

View File

@ -4,9 +4,4 @@ add_llvm_library(LLVMMSP430AsmPrinter
MSP430InstPrinter.cpp MSP430InstPrinter.cpp
) )
add_llvm_library_dependencies(LLVMMSP430AsmPrinter
LLVMMC
LLVMSupport
)
add_dependencies(LLVMMSP430AsmPrinter MSP430CommonTableGen) add_dependencies(LLVMMSP430AsmPrinter MSP430CommonTableGen)

View File

@ -3,12 +3,4 @@ add_llvm_library(LLVMMSP430Desc
MSP430MCAsmInfo.cpp MSP430MCAsmInfo.cpp
) )
add_llvm_library_dependencies(LLVMMSP430Desc
LLVMMC
LLVMMSP430AsmPrinter
LLVMMSP430Info
LLVMSupport
LLVMTarget
)
add_dependencies(LLVMMSP430Desc MSP430CommonTableGen) add_dependencies(LLVMMSP430Desc MSP430CommonTableGen)

View File

@ -4,10 +4,4 @@ add_llvm_library(LLVMMSP430Info
MSP430TargetInfo.cpp MSP430TargetInfo.cpp
) )
add_llvm_library_dependencies(LLVMMSP430Info
LLVMMC
LLVMSupport
LLVMTarget
)
add_dependencies(LLVMMSP430Info MSP430CommonTableGen) add_dependencies(LLVMMSP430Info MSP430CommonTableGen)

View File

@ -29,19 +29,6 @@ add_llvm_target(MipsCodeGen
MipsSelectionDAGInfo.cpp MipsSelectionDAGInfo.cpp
) )
add_llvm_library_dependencies(LLVMMipsCodeGen
LLVMAsmPrinter
LLVMCodeGen
LLVMCore
LLVMMC
LLVMMipsAsmPrinter
LLVMMipsDesc
LLVMMipsInfo
LLVMSelectionDAG
LLVMSupport
LLVMTarget
)
add_subdirectory(InstPrinter) add_subdirectory(InstPrinter)
add_subdirectory(TargetInfo) add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc) add_subdirectory(MCTargetDesc)

View File

@ -4,9 +4,4 @@ add_llvm_library(LLVMMipsAsmPrinter
MipsInstPrinter.cpp MipsInstPrinter.cpp
) )
add_llvm_library_dependencies(LLVMMipsAsmPrinter
LLVMMC
LLVMSupport
)
add_dependencies(LLVMMipsAsmPrinter MipsCommonTableGen) add_dependencies(LLVMMipsAsmPrinter MipsCommonTableGen)

View File

@ -5,11 +5,4 @@ add_llvm_library(LLVMMipsDesc
MipsMCTargetDesc.cpp MipsMCTargetDesc.cpp
) )
add_llvm_library_dependencies(LLVMMipsDesc
LLVMMC
LLVMMipsAsmPrinter
LLVMMipsInfo
LLVMSupport
)
add_dependencies(LLVMMipsDesc MipsCommonTableGen) add_dependencies(LLVMMipsDesc MipsCommonTableGen)

View File

@ -4,10 +4,4 @@ add_llvm_library(LLVMMipsInfo
MipsTargetInfo.cpp MipsTargetInfo.cpp
) )
add_llvm_library_dependencies(LLVMMipsInfo
LLVMMC
LLVMSupport
LLVMTarget
)
add_dependencies(LLVMMipsInfo MipsCommonTableGen) add_dependencies(LLVMMipsInfo MipsCommonTableGen)

View File

@ -25,20 +25,6 @@ add_llvm_target(PTXCodeGen
PTXTargetMachine.cpp PTXTargetMachine.cpp
) )
add_llvm_library_dependencies(LLVMPTXCodeGen
LLVMAnalysis
LLVMAsmPrinter
LLVMCodeGen
LLVMCore
LLVMMC
LLVMPTXDesc
LLVMPTXInfo
LLVMSelectionDAG
LLVMSupport
LLVMTarget
LLVMTransformUtils
)
add_subdirectory(TargetInfo) add_subdirectory(TargetInfo)
add_subdirectory(InstPrinter) add_subdirectory(InstPrinter)
add_subdirectory(MCTargetDesc) add_subdirectory(MCTargetDesc)

View File

@ -6,8 +6,3 @@ add_llvm_library(LLVMPTXAsmPrinter
add_dependencies(LLVMPTXAsmPrinter PTXCommonTableGen) add_dependencies(LLVMPTXAsmPrinter PTXCommonTableGen)
add_llvm_library_dependencies(LLVMPTXAsmPrinter
LLVMMC
LLVMSupport
)

View File

@ -3,11 +3,4 @@ add_llvm_library(LLVMPTXDesc
PTXMCAsmInfo.cpp PTXMCAsmInfo.cpp
) )
add_llvm_library_dependencies(LLVMPTXDesc
LLVMMC
LLVMPTXAsmPrinter
LLVMPTXInfo
LLVMSupport
)
add_dependencies(LLVMPTXDesc PTXCommonTableGen) add_dependencies(LLVMPTXDesc PTXCommonTableGen)

View File

@ -4,10 +4,4 @@ add_llvm_library(LLVMPTXInfo
PTXTargetInfo.cpp PTXTargetInfo.cpp
) )
add_llvm_library_dependencies(LLVMPTXInfo
LLVMMC
LLVMSupport
LLVMTarget
)
add_dependencies(LLVMPTXInfo PTXCommonTableGen) add_dependencies(LLVMPTXInfo PTXCommonTableGen)

View File

@ -27,20 +27,6 @@ add_llvm_target(PowerPCCodeGen
PPCSelectionDAGInfo.cpp PPCSelectionDAGInfo.cpp
) )
add_llvm_library_dependencies(LLVMPowerPCCodeGen
LLVMAnalysis
LLVMAsmPrinter
LLVMCodeGen
LLVMCore
LLVMMC
LLVMPowerPCAsmPrinter
LLVMPowerPCDesc
LLVMPowerPCInfo
LLVMSelectionDAG
LLVMSupport
LLVMTarget
)
add_subdirectory(InstPrinter) add_subdirectory(InstPrinter)
add_subdirectory(TargetInfo) add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc) add_subdirectory(MCTargetDesc)

View File

@ -4,9 +4,4 @@ add_llvm_library(LLVMPowerPCAsmPrinter
PPCInstPrinter.cpp PPCInstPrinter.cpp
) )
add_llvm_library_dependencies(LLVMPowerPCAsmPrinter
LLVMMC
LLVMSupport
)
add_dependencies(LLVMPowerPCAsmPrinter PowerPCCommonTableGen) add_dependencies(LLVMPowerPCAsmPrinter PowerPCCommonTableGen)

View File

@ -6,11 +6,4 @@ add_llvm_library(LLVMPowerPCDesc
PPCPredicates.cpp PPCPredicates.cpp
) )
add_llvm_library_dependencies(LLVMPowerPCDesc
LLVMMC
LLVMPowerPCAsmPrinter
LLVMPowerPCInfo
LLVMSupport
)
add_dependencies(LLVMPowerPCDesc PowerPCCommonTableGen) add_dependencies(LLVMPowerPCDesc PowerPCCommonTableGen)

View File

@ -4,10 +4,4 @@ add_llvm_library(LLVMPowerPCInfo
PowerPCTargetInfo.cpp PowerPCTargetInfo.cpp
) )
add_llvm_library_dependencies(LLVMPowerPCInfo
LLVMMC
LLVMSupport
LLVMTarget
)
add_dependencies(LLVMPowerPCInfo PowerPCCommonTableGen) add_dependencies(LLVMPowerPCInfo PowerPCCommonTableGen)

View File

@ -22,17 +22,5 @@ add_llvm_target(SparcCodeGen
SparcSelectionDAGInfo.cpp SparcSelectionDAGInfo.cpp
) )
add_llvm_library_dependencies(LLVMSparcCodeGen
LLVMAsmPrinter
LLVMCodeGen
LLVMCore
LLVMMC
LLVMSelectionDAG
LLVMSparcDesc
LLVMSparcInfo
LLVMSupport
LLVMTarget
)
add_subdirectory(TargetInfo) add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc) add_subdirectory(MCTargetDesc)

View File

@ -3,10 +3,4 @@ add_llvm_library(LLVMSparcDesc
SparcMCAsmInfo.cpp SparcMCAsmInfo.cpp
) )
add_llvm_library_dependencies(LLVMSparcDesc
LLVMMC
LLVMSparcInfo
LLVMSupport
)
add_dependencies(LLVMSparcDesc SparcCommonTableGen) add_dependencies(LLVMSparcDesc SparcCommonTableGen)

View File

@ -4,10 +4,4 @@ add_llvm_library(LLVMSparcInfo
SparcTargetInfo.cpp SparcTargetInfo.cpp
) )
add_llvm_library_dependencies(LLVMSparcInfo
LLVMMC
LLVMSupport
LLVMTarget
)
add_dependencies(LLVMSparcInfo SparcCommonTableGen) add_dependencies(LLVMSparcInfo SparcCommonTableGen)

View File

@ -5,12 +5,4 @@ add_llvm_library(LLVMX86AsmParser
X86AsmParser.cpp X86AsmParser.cpp
) )
add_llvm_library_dependencies(LLVMX86AsmParser
LLVMMC
LLVMMCParser
LLVMSupport
LLVMX86Desc
LLVMX86Info
)
add_dependencies(LLVMX86AsmParser X86CommonTableGen) add_dependencies(LLVMX86AsmParser X86CommonTableGen)

View File

@ -51,21 +51,6 @@ endif()
add_llvm_target(X86CodeGen ${sources}) add_llvm_target(X86CodeGen ${sources})
add_llvm_library_dependencies(LLVMX86CodeGen
LLVMAnalysis
LLVMAsmPrinter
LLVMCodeGen
LLVMCore
LLVMMC
LLVMSelectionDAG
LLVMSupport
LLVMTarget
LLVMX86AsmPrinter
LLVMX86Desc
LLVMX86Info
LLVMX86Utils
)
add_subdirectory(AsmParser) add_subdirectory(AsmParser)
add_subdirectory(Disassembler) add_subdirectory(Disassembler)
add_subdirectory(InstPrinter) add_subdirectory(InstPrinter)

View File

@ -5,12 +5,6 @@ add_llvm_library(LLVMX86Disassembler
X86DisassemblerDecoder.c X86DisassemblerDecoder.c
) )
add_llvm_library_dependencies(LLVMX86Disassembler
LLVMMC
LLVMSupport
LLVMX86Info
)
# workaround for hanging compilation on MSVC9 and 10 # workaround for hanging compilation on MSVC9 and 10
if( MSVC_VERSION EQUAL 1400 OR MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 ) if( MSVC_VERSION EQUAL 1400 OR MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 )
set_property( set_property(

View File

@ -6,10 +6,4 @@ add_llvm_library(LLVMX86AsmPrinter
X86InstComments.cpp X86InstComments.cpp
) )
add_llvm_library_dependencies(LLVMX86AsmPrinter
LLVMMC
LLVMSupport
LLVMX86Utils
)
add_dependencies(LLVMX86AsmPrinter X86CommonTableGen) add_dependencies(LLVMX86AsmPrinter X86CommonTableGen)

View File

@ -6,13 +6,6 @@ add_llvm_library(LLVMX86Desc
X86MachObjectWriter.cpp X86MachObjectWriter.cpp
) )
add_llvm_library_dependencies(LLVMX86Desc
LLVMMC
LLVMSupport
LLVMX86AsmPrinter
LLVMX86Info
)
add_dependencies(LLVMX86Desc X86CommonTableGen) add_dependencies(LLVMX86Desc X86CommonTableGen)
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers

View File

@ -4,10 +4,4 @@ add_llvm_library(LLVMX86Info
X86TargetInfo.cpp X86TargetInfo.cpp
) )
add_llvm_library_dependencies(LLVMX86Info
LLVMMC
LLVMSupport
LLVMTarget
)
add_dependencies(LLVMX86Info X86CommonTableGen) add_dependencies(LLVMX86Info X86CommonTableGen)

View File

@ -4,9 +4,4 @@ add_llvm_library(LLVMX86Utils
X86ShuffleDecode.cpp X86ShuffleDecode.cpp
) )
add_llvm_library_dependencies(LLVMX86Utils
LLVMCore
LLVMSupport
)
add_dependencies(LLVMX86Utils X86CommonTableGen) add_dependencies(LLVMX86Utils X86CommonTableGen)

View File

@ -21,17 +21,5 @@ add_llvm_target(XCoreCodeGen
XCoreSelectionDAGInfo.cpp XCoreSelectionDAGInfo.cpp
) )
add_llvm_library_dependencies(LLVMXCoreCodeGen
LLVMAsmPrinter
LLVMCodeGen
LLVMCore
LLVMMC
LLVMSelectionDAG
LLVMSupport
LLVMTarget
LLVMXCoreDesc
LLVMXCoreInfo
)
add_subdirectory(TargetInfo) add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc) add_subdirectory(MCTargetDesc)

View File

@ -3,11 +3,6 @@ add_llvm_library(LLVMXCoreDesc
XCoreMCAsmInfo.cpp XCoreMCAsmInfo.cpp
) )
add_llvm_library_dependencies(LLVMXCoreDesc
LLVMMC
LLVMXCoreInfo
)
add_dependencies(LLVMXCoreDesc XCoreCommonTableGen) add_dependencies(LLVMXCoreDesc XCoreCommonTableGen)
# Hack: we need to include 'main' target directory to grab private headers # Hack: we need to include 'main' target directory to grab private headers

View File

@ -4,10 +4,4 @@ add_llvm_library(LLVMXCoreInfo
XCoreTargetInfo.cpp XCoreTargetInfo.cpp
) )
add_llvm_library_dependencies(LLVMXCoreInfo
LLVMMC
LLVMSupport
LLVMTarget
)
add_dependencies(LLVMXCoreInfo XCoreCommonTableGen) add_dependencies(LLVMXCoreInfo XCoreCommonTableGen)

View File

@ -20,14 +20,3 @@ add_llvm_library(LLVMipo
StripDeadPrototypes.cpp StripDeadPrototypes.cpp
StripSymbols.cpp StripSymbols.cpp
) )
add_llvm_library_dependencies(LLVMipo
LLVMAnalysis
LLVMCore
LLVMInstCombine
LLVMScalarOpts
LLVMSupport
LLVMTarget
LLVMTransformUtils
LLVMipa
)

View File

@ -13,11 +13,3 @@ add_llvm_library(LLVMInstCombine
InstCombineSimplifyDemanded.cpp InstCombineSimplifyDemanded.cpp
InstCombineVectorOps.cpp InstCombineVectorOps.cpp
) )
add_llvm_library_dependencies(LLVMInstCombine
LLVMAnalysis
LLVMCore
LLVMSupport
LLVMTarget
LLVMTransformUtils
)

View File

@ -7,10 +7,3 @@ add_llvm_library(LLVMInstrumentation
PathProfiling.cpp PathProfiling.cpp
ProfilingUtils.cpp ProfilingUtils.cpp
) )
add_llvm_library_dependencies(LLVMInstrumentation
LLVMAnalysis
LLVMCore
LLVMSupport
LLVMTransformUtils
)

View File

@ -32,12 +32,3 @@ add_llvm_library(LLVMScalarOpts
Sink.cpp Sink.cpp
TailRecursionElimination.cpp TailRecursionElimination.cpp
) )
add_llvm_library_dependencies(LLVMScalarOpts
LLVMAnalysis
LLVMCore
LLVMInstCombine
LLVMSupport
LLVMTarget
LLVMTransformUtils
)

View File

@ -28,11 +28,3 @@ add_llvm_library(LLVMTransformUtils
Utils.cpp Utils.cpp
ValueMapper.cpp ValueMapper.cpp
) )
add_llvm_library_dependencies(LLVMTransformUtils
LLVMAnalysis
LLVMCore
LLVMSupport
LLVMTarget
LLVMipa
)

View File

@ -37,5 +37,3 @@ add_llvm_library(LLVMCore
ValueTypes.cpp ValueTypes.cpp
Verifier.cpp Verifier.cpp
) )
add_llvm_library_dependencies(LLVMCore LLVMSupport)

View File

@ -40,11 +40,3 @@ add_llvm_library(gtest
add_llvm_library(gtest_main add_llvm_library(gtest_main
UnitTestMain/TestMain.cpp UnitTestMain/TestMain.cpp
) )
add_llvm_library_dependencies(gtest
LLVMSupport
)
add_llvm_library_dependencies(gtest_main
gtest
)