3e06109a391df807e00fec45210fb5826ca1a7db
[oota-llvm.git] / lib / Target / SystemZ / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS SystemZ.td)
2
3 tablegen(SystemZGenRegisterNames.inc -gen-register-enums)
4 tablegen(SystemZGenRegisterDesc.inc -gen-register-desc)
5 tablegen(SystemZGenRegisterInfo.h.inc -gen-register-info-header)
6 tablegen(SystemZGenRegisterInfo.inc -gen-register-info)
7 tablegen(SystemZGenInstrNames.inc -gen-instr-enums)
8 tablegen(SystemZGenInstrInfo.inc -gen-instr-desc)
9 tablegen(SystemZGenAsmWriter.inc -gen-asm-writer)
10 tablegen(SystemZGenDAGISel.inc -gen-dag-isel)
11 tablegen(SystemZGenCallingConv.inc -gen-callingconv)
12 tablegen(SystemZGenSubtarget.inc -gen-subtarget)
13
14 add_llvm_target(SystemZCodeGen
15   SystemZAsmPrinter.cpp
16   SystemZISelDAGToDAG.cpp
17   SystemZISelLowering.cpp
18   SystemZInstrInfo.cpp
19   SystemZFrameLowering.cpp
20   SystemZMCAsmInfo.cpp
21   SystemZRegisterInfo.cpp
22   SystemZSubtarget.cpp
23   SystemZTargetMachine.cpp
24   SystemZSelectionDAGInfo.cpp
25   )
26
27 add_subdirectory(TargetInfo)