Target/*/CMakeLists.txt: Add the dependency to CommonTableGen explicitly for each...
[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   SystemZSubtarget.cpp
28   SystemZTargetMachine.cpp
29   )
30
31 add_dependencies(LLVMSystemZCodeGen SystemZCommonTableGen intrinsics_gen)
32
33 add_subdirectory(AsmParser)
34 add_subdirectory(Disassembler)
35 add_subdirectory(InstPrinter)
36 add_subdirectory(TargetInfo)
37 add_subdirectory(MCTargetDesc)