CMakeLists.txt revision d782bae970e888572f0458ac05369bbd7752f05a
1set(LLVM_TARGET_DEFINITIONS Sparc.td)
2
3tablegen(LLVM SparcGenRegisterInfo.inc -gen-register-info)
4tablegen(LLVM SparcGenInstrInfo.inc -gen-instr-info)
5tablegen(LLVM SparcGenAsmWriter.inc -gen-asm-writer)
6tablegen(LLVM SparcGenDAGISel.inc -gen-dag-isel)
7tablegen(LLVM SparcGenSubtargetInfo.inc -gen-subtarget)
8tablegen(LLVM SparcGenCallingConv.inc -gen-callingconv)
9add_public_tablegen_target(SparcCommonTableGen)
10
11add_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
25add_subdirectory(TargetInfo)
26add_subdirectory(MCTargetDesc)
27