Revert r194865 and r194874.
[oota-llvm.git] / lib / Target / SystemZ / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS SystemZ.td)
2
3 tablegen(LLVM SystemZGenAsmMatcher.inc -gen-asm-matcher)
4 tablegen(LLVM SystemZGenAsmWriter.inc -gen-asm-writer)
5 tablegen(LLVM SystemZGenCallingConv.inc -gen-callingconv)
6 tablegen(LLVM SystemZGenDAGISel.inc -gen-dag-isel)
7 tablegen(LLVM SystemZGenDisassemblerTables.inc -gen-disassembler)
8 tablegen(LLVM SystemZGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
9 tablegen(LLVM SystemZGenInstrInfo.inc -gen-instr-info)
10 tablegen(LLVM SystemZGenRegisterInfo.inc -gen-register-info)
11 tablegen(LLVM SystemZGenSubtargetInfo.inc -gen-subtarget)
12 add_public_tablegen_target(SystemZCommonTableGen)
13
14 add_llvm_target(SystemZCodeGen
15   SystemZAsmPrinter.cpp
16   SystemZCallingConv.cpp
17   SystemZConstantPoolValue.cpp
18   SystemZElimCompare.cpp
19   SystemZFrameLowering.cpp
20   SystemZISelDAGToDAG.cpp
21   SystemZISelLowering.cpp
22   SystemZInstrInfo.cpp
23   SystemZLongBranch.cpp
24   SystemZMCInstLower.cpp
25   SystemZRegisterInfo.cpp
26   SystemZSelectionDAGInfo.cpp
27   SystemZShortenInst.cpp
28   SystemZSubtarget.cpp
29   SystemZTargetMachine.cpp
30   )
31
32 add_dependencies(LLVMSystemZCodeGen SystemZCommonTableGen intrinsics_gen)
33
34 add_subdirectory(AsmParser)
35 add_subdirectory(Disassembler)
36 add_subdirectory(InstPrinter)
37 add_subdirectory(TargetInfo)
38 add_subdirectory(MCTargetDesc)