Fix up the CMake build for the new files added in r146960, they're
[oota-llvm.git] / lib / Target / PowerPC / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS PPC.td)
2
3 tablegen(LLVM PPCGenAsmWriter.inc -gen-asm-writer)
4 tablegen(LLVM PPCGenCodeEmitter.inc -gen-emitter)
5 tablegen(LLVM PPCGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
6 tablegen(LLVM PPCGenRegisterInfo.inc -gen-register-info)
7 tablegen(LLVM PPCGenInstrInfo.inc -gen-instr-info)
8 tablegen(LLVM PPCGenDAGISel.inc -gen-dag-isel)
9 tablegen(LLVM PPCGenCallingConv.inc -gen-callingconv)
10 tablegen(LLVM PPCGenSubtargetInfo.inc -gen-subtarget)
11 add_public_tablegen_target(PowerPCCommonTableGen)
12
13 add_llvm_target(PowerPCCodeGen
14   PPCAsmPrinter.cpp
15   PPCBranchSelector.cpp
16   PPCCodeEmitter.cpp
17   PPCHazardRecognizers.cpp
18   PPCInstrInfo.cpp
19   PPCISelDAGToDAG.cpp
20   PPCISelLowering.cpp
21   PPCFrameLowering.cpp
22   PPCJITInfo.cpp
23   PPCMCInstLower.cpp
24   PPCMachineFunctionInfo.cpp
25   PPCRegisterInfo.cpp
26   PPCSubtarget.cpp
27   PPCTargetMachine.cpp
28   PPCSelectionDAGInfo.cpp
29   )
30
31 add_subdirectory(InstPrinter)
32 add_subdirectory(TargetInfo)
33 add_subdirectory(MCTargetDesc)