Normalize makefile comments and sort cmake file lists.
[oota-llvm.git] / lib / Target / MSP430 / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS MSP430.td)
2
3 tablegen(MSP430GenRegisterInfo.h.inc -gen-register-desc-header)
4 tablegen(MSP430GenRegisterNames.inc -gen-register-enums)
5 tablegen(MSP430GenRegisterInfo.inc -gen-register-desc)
6 tablegen(MSP430GenInstrNames.inc -gen-instr-enums)
7 tablegen(MSP430GenInstrInfo.inc -gen-instr-desc)
8 tablegen(MSP430GenAsmWriter.inc -gen-asm-writer)
9 tablegen(MSP430GenDAGISel.inc -gen-dag-isel)
10 tablegen(MSP430GenCallingConv.inc -gen-callingconv)
11 tablegen(MSP430GenSubtarget.inc -gen-subtarget)
12
13 add_llvm_target(MSP430CodeGen
14   MSP430InstrInfo.cpp
15   MSP430ISelDAGToDAG.cpp
16   MSP430ISelLowering.cpp
17   MSP430MCAsmInfo.cpp
18   MSP430RegisterInfo.cpp
19   MSP430Subtarget.cpp
20   MSP430TargetMachine.cpp
21   )
22
23 target_link_libraries (LLVMMSP430CodeGen LLVMSelectionDAG)