Add a disassembler to the PowerPC backend
[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 PPCGenAsmMatcher.inc -gen-asm-matcher)
5 tablegen(LLVM PPCGenCodeEmitter.inc -gen-emitter)
6 tablegen(LLVM PPCGenDisassemblerTables.inc -gen-disassembler)
7 tablegen(LLVM PPCGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
8 tablegen(LLVM PPCGenRegisterInfo.inc -gen-register-info)
9 tablegen(LLVM PPCGenInstrInfo.inc -gen-instr-info)
10 tablegen(LLVM PPCGenDAGISel.inc -gen-dag-isel)
11 tablegen(LLVM PPCGenFastISel.inc -gen-fast-isel)
12 tablegen(LLVM PPCGenCallingConv.inc -gen-callingconv)
13 tablegen(LLVM PPCGenSubtargetInfo.inc -gen-subtarget)
14 add_public_tablegen_target(PowerPCCommonTableGen)
15
16 add_llvm_target(PowerPCCodeGen
17   PPCAsmPrinter.cpp
18   PPCBranchSelector.cpp
19   PPCCodeEmitter.cpp
20   PPCCTRLoops.cpp
21   PPCHazardRecognizers.cpp
22   PPCInstrInfo.cpp
23   PPCISelDAGToDAG.cpp
24   PPCISelLowering.cpp
25   PPCFastISel.cpp
26   PPCFrameLowering.cpp
27   PPCJITInfo.cpp
28   PPCMCInstLower.cpp
29   PPCMachineFunctionInfo.cpp
30   PPCRegisterInfo.cpp
31   PPCSubtarget.cpp
32   PPCTargetMachine.cpp
33   PPCTargetObjectFile.cpp
34   PPCTargetTransformInfo.cpp
35   PPCSelectionDAGInfo.cpp
36   )
37
38 add_subdirectory(AsmParser)
39 add_subdirectory(Disassembler)
40 add_subdirectory(InstPrinter)
41 add_subdirectory(TargetInfo)
42 add_subdirectory(MCTargetDesc)