11.1Stsutsui# $NetBSD: Makefile,v 1.1 2019/01/12 16:44:47 tsutsui Exp $ 21.1Stsutsui 31.1Stsutsui# Silicon Graphics "IRIS" series MIPS processors machine. 41.1StsutsuiSTRIPFLAG= 51.1Stsutsui# If you try to use ARCBIOS(Indy or Indigo R4000) machine, Please comment it out! 61.1Stsutsui# Be sure to edit /sgimips/stand/common/iris_machdep.h! 71.1StsutsuiPRE_ARCS= yes 81.1Stsutsui 91.1Stsutsui.if defined(PRE_ARCS) 101.1StsutsuiSRCS= iris_start.S 111.1Stsutsui.else 121.1StsutsuiSRCS= start.S arcbios_calls.S 131.1Stsutsui.endif 141.1Stsutsui 151.1StsutsuiSRCS+= iris_boot.c 161.1StsutsuiSRCS+= bootinfo.c 171.1StsutsuiSRCS+= iris_prf.c iris_cons.c iris_zs.c 181.1StsutsuiSRCS+= iris_parse.c 191.1StsutsuiSRCS+= iris_autoconf.c iris_scsi.c 201.1StsutsuiSRCS+= iris_disk.c 211.1StsutsuiSRCS+= iris_scsictl.c 221.1StsutsuiSRCS+= iris_conf.c 231.1StsutsuiSRCS+= iris_devopen.c 241.1Stsutsui 251.1StsutsuiPROG= irisboot 261.1Stsutsui${PROG}: ip12boot 271.1Stsutsui.if ${MACHINE_ARCH} == "mipseb" 281.1Stsutsui cp ip12boot ip12boot.tmp 291.1Stsutsui ${MIPS_ELF2ECOFF} ip12boot.tmp ${.TARGET} 301.1Stsutsui.else 311.1Stsutsui touch ${.TARGET} 321.1Stsutsui.endif 331.1Stsutsui 341.1Stsutsui# XXX Temporary hack to install the ELF version, too. 351.1StsutsuiFILES+= ip12boot 361.1StsutsuiCLEANFILES+= ip12boot ip12boot.elf 371.1Stsutsui 381.1StsutsuiCLEANFILES+= ip12boot.map 391.1Stsutsui 401.1StsutsuiCLEANFILES+= ip12boot.tmp 411.1Stsutsui 421.1Stsutsui.include "../Makefile.booters" 431.1Stsutsui 441.1Stsutsuiip12boot: ${OBJS} ${LIBS} 451.1Stsutsui ${_MKTARGET_LINK} 461.1Stsutsui.if defined(PRE_ARCS) 471.1Stsutsui ${LD} -Map ${.TARGET}.map -N -x -Ttext ${LOAD_ADDRESS_IP12} ${LDBUG} \ 481.1Stsutsui -m elf32btsmip -e start -o ${.TARGET}.elf ${OBJS} ${LIBS} 491.1Stsutsui.else 501.1Stsutsui ${LD} -Map ${.TARGET}.map -N -x -Ttext ${LOAD_ADDRESS} ${LDBUG} \ 511.1Stsutsui -m elf32btsmip -e start -o ${.TARGET}.elf ${OBJS} ${LIBS} 521.1Stsutsui.endif 531.1Stsutsui @${STRIP} -s ${.TARGET}.elf -o ${.TARGET} 541.1Stsutsui @${SIZE} ${.TARGET} 551.1Stsutsui 561.1Stsutsuicleandir distclean: .WAIT cleanlibdir 571.1Stsutsuicleanlibdir: 581.1Stsutsui -rm -rf lib 59