CMakeLists.txt revision de8f33c199f3bf2049b0b732169f2bd8717469c6
1set(LLVM_TARGET_DEFINITIONS SystemZ.td)
2
3llvm_tablegen(SystemZGenRegisterInfo.inc -gen-register-info)
4llvm_tablegen(SystemZGenInstrInfo.inc -gen-instr-info)
5llvm_tablegen(SystemZGenAsmWriter.inc -gen-asm-writer)
6llvm_tablegen(SystemZGenDAGISel.inc -gen-dag-isel)
7llvm_tablegen(SystemZGenCallingConv.inc -gen-callingconv)
8llvm_tablegen(SystemZGenSubtargetInfo.inc -gen-subtarget)
9add_public_tablegen_target(SystemZCommonTableGen)
10
11add_llvm_target(SystemZCodeGen
12  SystemZAsmPrinter.cpp
13  SystemZISelDAGToDAG.cpp
14  SystemZISelLowering.cpp
15  SystemZInstrInfo.cpp
16  SystemZFrameLowering.cpp
17  SystemZRegisterInfo.cpp
18  SystemZSubtarget.cpp
19  SystemZTargetMachine.cpp
20  SystemZSelectionDAGInfo.cpp
21  )
22
23add_llvm_library_dependencies(LLVMSystemZCodeGen
24  LLVMAsmPrinter
25  LLVMCodeGen
26  LLVMCore
27  LLVMMC
28  LLVMSelectionDAG
29  LLVMSupport
30  LLVMSystemZDesc
31  LLVMSystemZInfo
32  LLVMTarget
33  )
34
35add_subdirectory(TargetInfo)
36add_subdirectory(MCTargetDesc)
37