set(LLVM_TARGET_DEFINITIONS Mos6502.td) tablegen(LLVM Mos6502GenRegisterInfo.inc -gen-register-info) tablegen(LLVM Mos6502GenInstrInfo.inc -gen-instr-info) tablegen(LLVM Mos6502GenDisassemblerTables.inc -gen-disassembler) tablegen(LLVM Mos6502GenMCCodeEmitter.inc -gen-emitter) tablegen(LLVM Mos6502GenAsmWriter.inc -gen-asm-writer) tablegen(LLVM Mos6502GenAsmMatcher.inc -gen-asm-matcher) tablegen(LLVM Mos6502GenDAGISel.inc -gen-dag-isel) tablegen(LLVM Mos6502GenSubtargetInfo.inc -gen-subtarget) tablegen(LLVM Mos6502GenCallingConv.inc -gen-callingconv) add_public_tablegen_target(Mos6502CommonTableGen) add_llvm_target(Mos6502CodeGen DelaySlotFiller.cpp Mos6502AsmPrinter.cpp Mos6502InstrInfo.cpp Mos6502ISelDAGToDAG.cpp Mos6502ISelLowering.cpp Mos6502FrameLowering.cpp Mos6502MachineFunctionInfo.cpp Mos6502RegisterInfo.cpp Mos6502Subtarget.cpp Mos6502TargetMachine.cpp Mos6502MCInstLower.cpp Mos6502TargetObjectFile.cpp ) add_subdirectory(TargetInfo) add_subdirectory(MCTargetDesc) add_subdirectory(InstPrinter) add_subdirectory(AsmParser) add_subdirectory(Disassembler)