[Sparc] Add initial implementation of disassembler for sparc
[oota-llvm.git] / lib / Target / Sparc / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Sparc.td)
2
3 tablegen(LLVM SparcGenRegisterInfo.inc -gen-register-info)
4 tablegen(LLVM SparcGenInstrInfo.inc -gen-instr-info)
5 tablegen(LLVM SparcGenCodeEmitter.inc -gen-emitter)
6 tablegen(LLVM SparcGenDisassemblerTables.inc -gen-disassembler)
7 tablegen(LLVM SparcGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
8 tablegen(LLVM SparcGenAsmWriter.inc -gen-asm-writer)
9 tablegen(LLVM SparcGenAsmMatcher.inc -gen-asm-matcher)
10 tablegen(LLVM SparcGenDAGISel.inc -gen-dag-isel)
11 tablegen(LLVM SparcGenSubtargetInfo.inc -gen-subtarget)
12 tablegen(LLVM SparcGenCallingConv.inc -gen-callingconv)
13 add_public_tablegen_target(SparcCommonTableGen)
14
15 add_llvm_target(SparcCodeGen
16   DelaySlotFiller.cpp
17   SparcAsmPrinter.cpp
18   SparcInstrInfo.cpp
19   SparcISelDAGToDAG.cpp
20   SparcISelLowering.cpp
21   SparcFrameLowering.cpp
22   SparcMachineFunctionInfo.cpp
23   SparcRegisterInfo.cpp
24   SparcSubtarget.cpp
25   SparcTargetMachine.cpp
26   SparcSelectionDAGInfo.cpp
27   SparcJITInfo.cpp
28   SparcCodeEmitter.cpp
29   SparcMCInstLower.cpp
30   )
31
32 add_subdirectory(TargetInfo)
33 add_subdirectory(MCTargetDesc)
34 add_subdirectory(InstPrinter)
35 add_subdirectory(AsmParser)
36 add_subdirectory(Disassembler)