Sync usage with man page.
[netbsd-mini2440.git] / distrib / vax / floppy / Makefile
blob8ad713e18894cff10e2deede6c1cc52181e8b2a3
1 # $NetBSD: Makefile,v 1.12 2003/07/10 10:34:16 lukem Exp $
3 .include <bsd.own.mk>
4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 .include <bsd.kernobj.mk>
8 INSTKERNOBJ!= cd ${.CURDIR}/../ramdisk-kernel && ${PRINTOBJDIR}
10 IMAGE= boot.fs
11 IMAGESIZE= 1200k
12 XXBOOT= ${DESTDIR}/usr/mdec/xxboot_ustarfs
14 IMAGEDEPENDS= ${XXBOOT} boot.vax netbsd.gz
15 CLEANFILES+= netbsd.gz boot.vax ${IMAGE}.tmp
17 realall: ${IMAGE} ${XXBOOT} ${DESTDIR}/usr/mdec/boot
19 netbsd.gz: ${INSTKERNOBJ}/install.ram.gz
20 cp -f ${.ALLSRC} ${.TARGET}
22 boot.vax: ${DESTDIR}/usr/mdec/boot
23 cp -f ${.ALLSRC} ${.TARGET}
25 ${IMAGE}: ${IMAGEDEPENDS}
26 cat ${XXBOOT} > ${IMAGE}.tmp
27 ${TOOL_PAX} -O -w -x ustar boot.vax netbsd.gz | dd of=${IMAGE}.tmp seek=16
28 dd if=${IMAGE}.tmp of=${IMAGE} bs=${IMAGESIZE} conv=sync
30 release: check_RELEASEDIR .WAIT ${IMAGE}
31 ${RELEASE_INSTALL} ${IMAGE} \
32 ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/bootfs
34 .include <bsd.prog.mk>