Major update to CMake build to reflect changes in r135219 in the
[oota-llvm.git] / lib / Target / Blackfin / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Blackfin.td)
2
3 tablegen(BlackfinGenRegisterInfo.inc -gen-register-info)
4 tablegen(BlackfinGenInstrInfo.inc -gen-instr-info)
5 tablegen(BlackfinGenAsmWriter.inc -gen-asm-writer)
6 tablegen(BlackfinGenDAGISel.inc -gen-dag-isel)
7 tablegen(BlackfinGenSubtargetInfo.inc -gen-subtarget)
8 tablegen(BlackfinGenCallingConv.inc -gen-callingconv)
9 tablegen(BlackfinGenIntrinsics.inc -gen-tgt-intrinsic)
10
11 add_llvm_target(BlackfinCodeGen
12   BlackfinAsmPrinter.cpp
13   BlackfinInstrInfo.cpp
14   BlackfinIntrinsicInfo.cpp
15   BlackfinISelDAGToDAG.cpp
16   BlackfinISelLowering.cpp
17   BlackfinFrameLowering.cpp
18   BlackfinRegisterInfo.cpp
19   BlackfinSubtarget.cpp
20   BlackfinTargetMachine.cpp
21   BlackfinSelectionDAGInfo.cpp
22   )
23
24 add_subdirectory(TargetInfo)
25 add_subdirectory(MCTargetDesc)