move PPCAsmPrinter into the main PPC library, like ARM and X86.
[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   PPCAsmPrinter.cpp
16   PPCBranchSelector.cpp
17   PPCCodeEmitter.cpp
18   PPCHazardRecognizers.cpp
19   PPCInstrInfo.cpp
20   PPCISelDAGToDAG.cpp
21   PPCISelLowering.cpp
22   PPCJITInfo.cpp
23   PPCMCAsmInfo.cpp
24   PPCPredicates.cpp
25   PPCRegisterInfo.cpp
26   PPCSubtarget.cpp
27   PPCTargetMachine.cpp
28   PPCSelectionDAGInfo.cpp
29   )