Attempt to unbreak cmake-based builds
[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   PPCFrameInfo.cpp
23   PPCJITInfo.cpp
24   PPCMCAsmInfo.cpp
25   PPCMCInstLower.cpp
26   PPCPredicates.cpp
27   PPCRegisterInfo.cpp
28   PPCSubtarget.cpp
29   PPCTargetMachine.cpp
30   PPCSelectionDAGInfo.cpp
31   )