11.7Schristos# $NetBSD: Makefile.boot,v 1.7 2017/04/08 19:53:21 christos Exp $ 21.1Suwe 31.1SuwePROG?= boot 41.1Suwe 51.1SuweNEWVERSWHAT?= "Boot" 61.1Suwe 71.1SuweSRCS= boot.S boot2.c bootinfo.c conf.c devopen.c monitor.c 81.1SuweSRCS+= delay.c getsecs.c 91.1SuweSRCS+= bios.S 101.1SuweSRCS+= biosdisk.c biosdisk_ll.c 111.1SuweSRCS+= scifcons.c cons.c prf.c 121.1Suwe 131.1SuweLDFLAGS+= -e boot_start 141.1Suwe 151.1SuweCFLAGS= 161.2StsutsuiCPPFLAGS= -DSUPPORT_FFSv1 171.2StsutsuiCPPFLAGS+= -DSUPPORT_FFSv2 181.1SuweCPPFLAGS+= -DSUPPORT_DOSFS 191.3StsutsuiCPPFLAGS+= -DSUPPORT_USTARFS 201.1SuweCPPFLAGS+= -DDBMONITOR 211.5StsutsuiCPPFLAGS+= -DLIBSA_ENABLE_LS_OP 221.1Suwe#CPPFLAGS+= -DDEBUG 231.1Suwe 241.1SuweSAMISCMAKEFLAGS+="SA_USE_CREAD=yes" 251.1SuweSAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes" 261.5StsutsuiSAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes" 271.1Suwe 281.1Suwe.include "../Makefile.bootprogs" 291.1Suwe 301.1SuweLIBLIST= ${LIBSA} ${LIBZ} ${LIBKERN} 311.1Suwe 321.7SchristosCLEANFILES+= ${PROG}.sym ${PROG}.map 331.1Suwe 341.1Suwe 351.1Suwe${PROG}: ${OBJS} ${LIBLIST} 361.6Smatt ${_MKTARGET_LINK} 371.1Suwe ${LD} -o ${PROG}.sym ${LDFLAGS} -Ttext ${SECONDARY_LOAD_ADDRESS} \ 381.1Suwe -Map ${PROG}.map -cref ${OBJS} ${LIBLIST} 391.1Suwe ${OBJCOPY} -O binary ${PROG}.sym ${PROG} 401.1Suwe 411.7Schristos.include "${S}/conf/newvers_stand.mk" 421.7Schristos 431.1Suwe.include <bsd.prog.mk> 44