Normalize makefile comments and sort cmake file lists.
[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   PPCMachOWriterInfo.cpp
23   PPCMCAsmInfo.cpp
24   PPCPredicates.cpp
25   PPCRegisterInfo.cpp
26   PPCSubtarget.cpp
27   PPCTargetMachine.cpp
28   )
29
30 target_link_libraries (LLVMPowerPCCodeGen LLVMSelectionDAG)