0491229f61ac11b9119fbd2c62a1b2ae7c961a7b
[oota-llvm.git] / lib / Target / Sparc / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Sparc.td)
2
3 tablegen(SparcGenRegisterInfo.inc -gen-register-info)
4 tablegen(SparcGenInstrInfo.inc -gen-instr-info)
5 tablegen(SparcGenAsmWriter.inc -gen-asm-writer)
6 tablegen(SparcGenDAGISel.inc -gen-dag-isel)
7 tablegen(SparcGenSubtargetInfo.inc -gen-subtarget)
8 tablegen(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   SparcRegisterInfo.cpp
20   SparcSubtarget.cpp
21   SparcTargetMachine.cpp
22   SparcSelectionDAGInfo.cpp
23   )
24
25 add_llvm_library_dependencies(LLVMSparcCodeGen
26   LLVMAsmPrinter
27   LLVMCodeGen
28   LLVMCore
29   LLVMMC
30   LLVMSelectionDAG
31   LLVMSparcDesc
32   LLVMSparcInfo
33   LLVMSupport
34   LLVMTarget
35   )
36
37 add_subdirectory(TargetInfo)
38 add_subdirectory(MCTargetDesc)