CMake: Builds all targets.
[oota-llvm.git] / lib / Target / Sparc / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Sparc.td)
2
3 tablegen(SparcGenRegisterInfo.h.inc -gen-register-desc-header)
4 tablegen(SparcGenRegisterNames.inc -gen-register-enums)
5 tablegen(SparcGenRegisterInfo.inc -gen-register-desc)
6 tablegen(SparcGenInstrNames.inc -gen-instr-enums)
7 tablegen(SparcGenInstrInfo.inc -gen-instr-desc)
8 tablegen(SparcGenAsmWriter.inc -gen-asm-writer)
9 tablegen(SparcGenDAGISel.inc -gen-dag-isel)
10 tablegen(SparcGenSubtarget.inc -gen-subtarget)
11 tablegen(SparcGenCallingConv.inc -gen-callingconv)
12
13 add_llvm_target(Sparc
14   DelaySlotFiller.cpp
15   FPMover.cpp
16   SparcAsmPrinter.cpp
17   SparcInstrInfo.cpp
18   SparcISelDAGToDAG.cpp
19   SparcISelLowering.cpp
20   SparcRegisterInfo.cpp
21   SparcSubtarget.cpp
22   SparcTargetAsmInfo.cpp
23   SparcTargetMachine.cpp
24   )