Fix up the CMake build for the new files added in r146960, they're
[oota-llvm.git] / lib / Target / Sparc / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Sparc.td)
2
3 tablegen(LLVM SparcGenRegisterInfo.inc -gen-register-info)
4 tablegen(LLVM SparcGenInstrInfo.inc -gen-instr-info)
5 tablegen(LLVM SparcGenAsmWriter.inc -gen-asm-writer)
6 tablegen(LLVM SparcGenDAGISel.inc -gen-dag-isel)
7 tablegen(LLVM SparcGenSubtargetInfo.inc -gen-subtarget)
8 tablegen(LLVM SparcGenCallingConv.inc -gen-callingconv)
9 add_public_tablegen_target(SparcCommonTableGen)
10
11 add_llvm_target(SparcCodeGen
12   DelaySlotFiller.cpp
13   FPMover.cpp
14   SparcAsmPrinter.cpp
15   SparcInstrInfo.cpp
16   SparcISelDAGToDAG.cpp
17   SparcISelLowering.cpp
18   SparcFrameLowering.cpp
19   SparcMachineFunctionInfo.cpp
20   SparcRegisterInfo.cpp
21   SparcSubtarget.cpp
22   SparcTargetMachine.cpp
23   SparcSelectionDAGInfo.cpp
24   )
25
26 add_subdirectory(TargetInfo)
27 add_subdirectory(MCTargetDesc)