Normalize makefile comments and sort cmake file lists.
[oota-llvm.git] / lib / Target / SystemZ / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS SystemZ.td)
2
3 tablegen(SystemZGenRegisterInfo.h.inc -gen-register-desc-header)
4 tablegen(SystemZGenRegisterNames.inc -gen-register-enums)
5 tablegen(SystemZGenRegisterInfo.inc -gen-register-desc)
6 tablegen(SystemZGenInstrNames.inc -gen-instr-enums)
7 tablegen(SystemZGenInstrInfo.inc -gen-instr-desc)
8 tablegen(SystemZGenAsmWriter.inc -gen-asm-writer)
9 tablegen(SystemZGenDAGISel.inc -gen-dag-isel)
10 tablegen(SystemZGenCallingConv.inc -gen-callingconv)
11 tablegen(SystemZGenSubtarget.inc -gen-subtarget)
12
13 add_llvm_target(SystemZCodeGen
14   SystemZISelDAGToDAG.cpp
15   SystemZISelLowering.cpp
16   SystemZInstrInfo.cpp
17   SystemZMCAsmInfo.cpp
18   SystemZRegisterInfo.cpp
19   SystemZSubtarget.cpp
20   SystemZTargetMachine.cpp
21   )
22
23 target_link_libraries (LLVMSystemZCodeGen LLVMSelectionDAG)