CMakeLists.txt revision de8f33c199f3bf2049b0b732169f2bd8717469c6
1set(LLVM_TARGET_DEFINITIONS Sparc.td) 2 3llvm_tablegen(SparcGenRegisterInfo.inc -gen-register-info) 4llvm_tablegen(SparcGenInstrInfo.inc -gen-instr-info) 5llvm_tablegen(SparcGenAsmWriter.inc -gen-asm-writer) 6llvm_tablegen(SparcGenDAGISel.inc -gen-dag-isel) 7llvm_tablegen(SparcGenSubtargetInfo.inc -gen-subtarget) 8llvm_tablegen(SparcGenCallingConv.inc -gen-callingconv) 9add_public_tablegen_target(SparcCommonTableGen) 10 11add_llvm_target(SparcCodeGen 12 DelaySlotFiller.cpp 13 FPMover.cpp 14 SparcAsmPrinter.cpp 15 SparcInstrInfo.cpp 16 SparcISelDAGToDAG.cpp 17 SparcISelLowering.cpp 18 SparcFrameLowering.cpp 19 SparcRegisterInfo.cpp 20 SparcSubtarget.cpp 21 SparcTargetMachine.cpp 22 SparcSelectionDAGInfo.cpp 23 ) 24 25add_llvm_library_dependencies(LLVMSparcCodeGen 26 LLVMAsmPrinter 27 LLVMCodeGen 28 LLVMCore 29 LLVMMC 30 LLVMSelectionDAG 31 LLVMSparcDesc 32 LLVMSparcInfo 33 LLVMSupport 34 LLVMTarget 35 ) 36 37add_subdirectory(TargetInfo) 38add_subdirectory(MCTargetDesc) 39