e81ba6fa8c81e72b0a377199df7ed7495dfcff8d
[oota-llvm.git] / lib / Target / Mips / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Mips.td)
2
3 tablegen(LLVM MipsGenRegisterInfo.inc -gen-register-info)
4 tablegen(LLVM MipsGenInstrInfo.inc -gen-instr-info)
5 tablegen(LLVM MipsGenCodeEmitter.inc -gen-emitter)
6 tablegen(LLVM MipsGenAsmWriter.inc -gen-asm-writer)
7 tablegen(LLVM MipsGenDAGISel.inc -gen-dag-isel)
8 tablegen(LLVM MipsGenCallingConv.inc -gen-callingconv)
9 tablegen(LLVM MipsGenSubtargetInfo.inc -gen-subtarget)
10 add_public_tablegen_target(MipsCommonTableGen)
11
12 add_llvm_target(MipsCodeGen
13   MipsAsmPrinter.cpp
14   MipsCodeEmitter.cpp
15   MipsDelaySlotFiller.cpp
16   MipsEmitGPRestore.cpp
17   MipsExpandPseudo.cpp
18   MipsJITInfo.cpp
19   MipsInstrInfo.cpp
20   MipsISelDAGToDAG.cpp
21   MipsISelLowering.cpp
22   MipsFrameLowering.cpp
23   MipsMCInstLower.cpp
24   MipsMCSymbolRefExpr.cpp
25   MipsRegisterInfo.cpp
26   MipsSubtarget.cpp
27   MipsTargetMachine.cpp
28   MipsTargetObjectFile.cpp
29   MipsSelectionDAGInfo.cpp
30   )
31
32 add_llvm_library_dependencies(LLVMMipsCodeGen
33   LLVMAsmPrinter
34   LLVMCodeGen
35   LLVMCore
36   LLVMMC
37   LLVMMipsAsmPrinter
38   LLVMMipsDesc
39   LLVMMipsInfo
40   LLVMSelectionDAG
41   LLVMSupport
42   LLVMTarget
43   )
44
45 add_subdirectory(InstPrinter)
46 add_subdirectory(TargetInfo)
47 add_subdirectory(MCTargetDesc)