Now that the default for Darwin platforms is to place the LSDA into the TEXT
[oota-llvm.git] / lib / Target / PowerPC / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS PPC.td)
2
3 tablegen(PPCGenInstrNames.inc -gen-instr-enums)
4 tablegen(PPCGenRegisterNames.inc -gen-register-enums)
5 tablegen(PPCGenAsmWriter.inc -gen-asm-writer)
6 tablegen(PPCGenCodeEmitter.inc -gen-emitter)
7 tablegen(PPCGenRegisterInfo.h.inc -gen-register-desc-header)
8 tablegen(PPCGenRegisterInfo.inc -gen-register-desc)
9 tablegen(PPCGenInstrInfo.inc -gen-instr-desc)
10 tablegen(PPCGenDAGISel.inc -gen-dag-isel)
11 tablegen(PPCGenCallingConv.inc -gen-callingconv)
12 tablegen(PPCGenSubtarget.inc -gen-subtarget)
13
14 add_llvm_target(PowerPCCodeGen
15   PPCBranchSelector.cpp
16   PPCCodeEmitter.cpp
17   PPCHazardRecognizers.cpp
18   PPCInstrInfo.cpp
19   PPCISelDAGToDAG.cpp
20   PPCISelLowering.cpp
21   PPCJITInfo.cpp
22   PPCMCAsmInfo.cpp
23   PPCPredicates.cpp
24   PPCRegisterInfo.cpp
25   PPCSubtarget.cpp
26   PPCTargetMachine.cpp
27   )
28
29 target_link_libraries (LLVMPowerPCCodeGen LLVMSelectionDAG)