CMakeLists.txt revision b4f770b68a2f1890e17f634b695d19bb7d07168d
1set(LLVM_TARGET_DEFINITIONS Sparc.td)
2
3tablegen(SparcGenRegisterInfo.h.inc -gen-register-desc-header)
4tablegen(SparcGenRegisterNames.inc -gen-register-enums)
5tablegen(SparcGenRegisterInfo.inc -gen-register-desc)
6tablegen(SparcGenInstrNames.inc -gen-instr-enums)
7tablegen(SparcGenInstrInfo.inc -gen-instr-desc)
8tablegen(SparcGenAsmWriter.inc -gen-asm-writer)
9tablegen(SparcGenDAGISel.inc -gen-dag-isel)
10tablegen(SparcGenSubtarget.inc -gen-subtarget)
11tablegen(SparcGenCallingConv.inc -gen-callingconv)
12
13add_llvm_target(SparcCodeGen
14  DelaySlotFiller.cpp
15  FPMover.cpp
16  SparcInstrInfo.cpp
17  SparcISelDAGToDAG.cpp
18  SparcISelLowering.cpp
19  SparcMCAsmInfo.cpp
20  SparcRegisterInfo.cpp
21  SparcSubtarget.cpp
22  SparcTargetMachine.cpp
23  )
24
25target_link_libraries (LLVMSparcCodeGen LLVMSelectionDAG)
26