Normalize makefile comments and sort cmake file lists.
[oota-llvm.git] / lib / Target / Sparc / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Sparc.td)
2
3 tablegen(SparcGenRegisterInfo.h.inc -gen-register-desc-header)
4 tablegen(SparcGenRegisterNames.inc -gen-register-enums)
5 tablegen(SparcGenRegisterInfo.inc -gen-register-desc)
6 tablegen(SparcGenInstrNames.inc -gen-instr-enums)
7 tablegen(SparcGenInstrInfo.inc -gen-instr-desc)
8 tablegen(SparcGenAsmWriter.inc -gen-asm-writer)
9 tablegen(SparcGenDAGISel.inc -gen-dag-isel)
10 tablegen(SparcGenSubtarget.inc -gen-subtarget)
11 tablegen(SparcGenCallingConv.inc -gen-callingconv)
12
13 add_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
25 target_link_libraries (LLVMSparcCodeGen LLVMSelectionDAG)