Target/*/CMakeLists.txt: Add the dependency to CommonTableGen explicitly for each...
[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 PPCGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
7 tablegen(LLVM PPCGenRegisterInfo.inc -gen-register-info)
8 tablegen(LLVM PPCGenInstrInfo.inc -gen-instr-info)
9 tablegen(LLVM PPCGenDAGISel.inc -gen-dag-isel)
10 tablegen(LLVM PPCGenFastISel.inc -gen-fast-isel)
11 tablegen(LLVM PPCGenCallingConv.inc -gen-callingconv)
12 tablegen(LLVM PPCGenSubtargetInfo.inc -gen-subtarget)
13 add_public_tablegen_target(PowerPCCommonTableGen)
14
15 add_llvm_target(PowerPCCodeGen
16   PPCAsmPrinter.cpp
17   PPCBranchSelector.cpp
18   PPCCodeEmitter.cpp
19   PPCCTRLoops.cpp
20   PPCHazardRecognizers.cpp
21   PPCInstrInfo.cpp
22   PPCISelDAGToDAG.cpp
23   PPCISelLowering.cpp
24   PPCFastISel.cpp
25   PPCFrameLowering.cpp
26   PPCJITInfo.cpp
27   PPCMCInstLower.cpp
28   PPCMachineFunctionInfo.cpp
29   PPCRegisterInfo.cpp
30   PPCSubtarget.cpp
31   PPCTargetMachine.cpp
32   PPCTargetObjectFile.cpp
33   PPCTargetTransformInfo.cpp
34   PPCSelectionDAGInfo.cpp
35   )
36
37 add_dependencies(LLVMPowerPCCodeGen PowerPCCommonTableGen intrinsics_gen)
38
39 add_subdirectory(AsmParser)
40 add_subdirectory(InstPrinter)
41 add_subdirectory(TargetInfo)
42 add_subdirectory(MCTargetDesc)