Next round of MC refactoring. This patch factor MC table instantiations, MC
[oota-llvm.git] / lib / Target / SystemZ / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS SystemZ.td)
2
3 tablegen(SystemZGenRegisterInfo.inc -gen-register-info)
4 tablegen(SystemZGenInstrInfo.inc -gen-instr-info)
5 tablegen(SystemZGenAsmWriter.inc -gen-asm-writer)
6 tablegen(SystemZGenDAGISel.inc -gen-dag-isel)
7 tablegen(SystemZGenCallingConv.inc -gen-callingconv)
8 tablegen(SystemZGenSubtargetInfo.inc -gen-subtarget)
9
10 add_llvm_target(SystemZCodeGen
11   SystemZAsmPrinter.cpp
12   SystemZISelDAGToDAG.cpp
13   SystemZISelLowering.cpp
14   SystemZInstrInfo.cpp
15   SystemZFrameLowering.cpp
16   SystemZMCAsmInfo.cpp
17   SystemZRegisterInfo.cpp
18   SystemZSubtarget.cpp
19   SystemZTargetMachine.cpp
20   SystemZSelectionDAGInfo.cpp
21   )
22
23 add_subdirectory(TargetInfo)
24 add_subdirectory(MCTargetDesc)