Starting to refactor Target to separate out code that's needed to fully describe
[oota-llvm.git] / lib / Target / Sparc / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Sparc.td)
2
3 tablegen(SparcGenRegisterNames.inc -gen-register-enums)
4 tablegen(SparcGenRegisterDesc.inc -gen-register-desc)
5 tablegen(SparcGenRegisterInfo.h.inc -gen-register-info-header)
6 tablegen(SparcGenRegisterInfo.inc -gen-register-info)
7 tablegen(SparcGenInstrNames.inc -gen-instr-enums)
8 tablegen(SparcGenInstrInfo.inc -gen-instr-desc)
9 tablegen(SparcGenAsmWriter.inc -gen-asm-writer)
10 tablegen(SparcGenDAGISel.inc -gen-dag-isel)
11 tablegen(SparcGenSubtarget.inc -gen-subtarget)
12 tablegen(SparcGenCallingConv.inc -gen-callingconv)
13
14 add_llvm_target(SparcCodeGen
15   DelaySlotFiller.cpp
16   FPMover.cpp
17   SparcAsmPrinter.cpp
18   SparcInstrInfo.cpp
19   SparcISelDAGToDAG.cpp
20   SparcISelLowering.cpp
21   SparcFrameLowering.cpp
22   SparcMCAsmInfo.cpp
23   SparcRegisterInfo.cpp
24   SparcSubtarget.cpp
25   SparcTargetMachine.cpp
26   SparcSelectionDAGInfo.cpp
27   )
28
29 add_subdirectory(TargetInfo)