1218557Snyan# $FreeBSD$ 2218557Snyan 3218557SnyanFILES= ${BOOT} 4218557SnyanCLEANFILES= ${BOOT} ${BOOT}.part 5218557Snyan 6218557SnyanBOOT= pc98boot 7218595Snyan 8218595Snyan.if exists(${.OBJDIR}/../boot0) 9218595SnyanBOOT0= ${.OBJDIR}/../boot0/boot0 10218595Snyan.else 11218557SnyanBOOT0= ${.CURDIR}/../boot0/boot0 12218595Snyan.endif 13218595Snyan.if exists(${.OBJDIR}/../boot0.5) 14218595SnyanBOOT05= ${.OBJDIR}/../boot0.5/boot0.5 15218595Snyan.else 16218557SnyanBOOT05= ${.CURDIR}/../boot0.5/boot0.5 17218595Snyan.endif 18218557Snyan 19218595Snyan${BOOT}: ${BOOT0} ${BOOT05} ${BOOT}.part 20218557Snyan cat ${BOOT0} ${BOOT}.part ${BOOT05} > ${.TARGET} 21218557Snyan 22218557Snyan${BOOT}.part: 23218557Snyan dd if=/dev/zero of=${.TARGET} bs=512 count=1 24218557Snyan 25218557Snyan.include <bsd.prog.mk> 26