Makefile.boot revision 1.5
11.5Stsutsui# $NetBSD: Makefile.boot,v 1.5 2011/12/25 06:09:09 tsutsui Exp $ 21.1Suwe 31.1SuwePROG?= boot 41.1Suwe 51.1SuweNEWVERSWHAT?= "Boot" 61.1SuweVERSIONFILE?= ${.CURDIR}/../version 71.1Suwe 81.1SuweSRCS= boot.S boot2.c bootinfo.c conf.c devopen.c monitor.c 91.1SuweSRCS+= delay.c getsecs.c 101.1SuweSRCS+= bios.S 111.1SuweSRCS+= biosdisk.c biosdisk_ll.c 121.1SuweSRCS+= scifcons.c cons.c prf.c 131.1Suwe.if !make(depend) 141.1SuweSRCS+= vers.c 151.1Suwe.endif 161.1Suwe 171.1SuweLDFLAGS+= -e boot_start 181.1Suwe 191.1SuweCFLAGS= 201.2StsutsuiCPPFLAGS= -DSUPPORT_FFSv1 211.2StsutsuiCPPFLAGS+= -DSUPPORT_FFSv2 221.1SuweCPPFLAGS+= -DSUPPORT_DOSFS 231.3StsutsuiCPPFLAGS+= -DSUPPORT_USTARFS 241.1SuweCPPFLAGS+= -DDBMONITOR 251.5StsutsuiCPPFLAGS+= -DLIBSA_ENABLE_LS_OP 261.1Suwe#CPPFLAGS+= -DDEBUG 271.1Suwe 281.1SuweSAMISCMAKEFLAGS+="SA_USE_CREAD=yes" 291.1SuweSAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes" 301.5StsutsuiSAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes" 311.1Suwe 321.1Suwe.include "../Makefile.bootprogs" 331.1Suwe 341.1SuweLIBLIST= ${LIBSA} ${LIBZ} ${LIBKERN} 351.1Suwe 361.1SuweCLEANFILES+= ${PROG}.sym ${PROG}.map vers.c 371.1Suwe 381.1Suwevers.c: ${VERSIONFILE} ${SOURCES} ${.CURDIR}/../Makefile.boot 391.4Sjoerg ${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \ 401.4Sjoerg ${VERSIONFILE} ${MACHINE} ${NEWVERSWHAT} 411.1Suwe 421.1Suwe${PROG}: ${OBJS} ${LIBLIST} 431.1Suwe ${LD} -o ${PROG}.sym ${LDFLAGS} -Ttext ${SECONDARY_LOAD_ADDRESS} \ 441.1Suwe -Map ${PROG}.map -cref ${OBJS} ${LIBLIST} 451.1Suwe ${OBJCOPY} -O binary ${PROG}.sym ${PROG} 461.1Suwe 471.1Suwe.include <bsd.prog.mk> 48