build/CMake: Finish removal of add_llvm_library_dependencies.
[oota-llvm.git] / lib / Target / CellSPU / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS SPU.td)
2
3 tablegen(LLVM SPUGenAsmWriter.inc -gen-asm-writer)
4 tablegen(LLVM SPUGenCodeEmitter.inc -gen-emitter)
5 tablegen(LLVM SPUGenRegisterInfo.inc -gen-register-info)
6 tablegen(LLVM SPUGenInstrInfo.inc -gen-instr-info)
7 tablegen(LLVM SPUGenDAGISel.inc -gen-dag-isel)
8 tablegen(LLVM SPUGenSubtargetInfo.inc -gen-subtarget)
9 tablegen(LLVM SPUGenCallingConv.inc -gen-callingconv)
10 add_public_tablegen_target(CellSPUCommonTableGen)
11
12 add_llvm_target(CellSPUCodeGen
13   SPUAsmPrinter.cpp
14   SPUHazardRecognizers.cpp
15   SPUInstrInfo.cpp
16   SPUISelDAGToDAG.cpp
17   SPUISelLowering.cpp
18   SPUFrameLowering.cpp
19   SPURegisterInfo.cpp
20   SPUSubtarget.cpp
21   SPUTargetMachine.cpp
22   SPUSelectionDAGInfo.cpp
23   SPUNopFiller.cpp
24   )
25
26 add_subdirectory(TargetInfo)
27 add_subdirectory(MCTargetDesc)