41b4c78bee22e19b4690b47c03d16558d3714a96
[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 add_public_tablegen_target(SystemZCommonTableGen)
10
11 add_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
23 add_llvm_library_dependencies(LLVMSystemZCodeGen
24   LLVMAsmPrinter
25   LLVMCodeGen
26   LLVMCore
27   LLVMMC
28   LLVMSelectionDAG
29   LLVMSupport
30   LLVMSystemZDesc
31   LLVMSystemZInfo
32   LLVMTarget
33   )
34
35 add_subdirectory(TargetInfo)
36 add_subdirectory(MCTargetDesc)