Sync usage with man page.
[netbsd-mini2440.git] / distrib / prep / floppies / bootfloppy-common / Makefile.inc
blob68a5cef264b637c231403857fb7d89eba556fba6
1 #       $NetBSD: Makefile.inc,v 1.11 2008/04/30 21:15:33 garbled Exp $
3 .include <bsd.own.mk>
4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 # Required variables:
7 #       IMAGE
8 #       KERNEL
10 MDEC?=          ${DESTDIR}/usr/mdec
11 BOOTLOADER?=    ${MDEC}/boot_com0
12 TMPKERNEL=      ${.OBJDIR}/netbsd
14 ${IMAGE}: ${KERNEL}
15         gzip -cd ${KERNEL} > ${TMPKERNEL}
16         ${TOOL_POWERPCMKBOOTIMAGE} -m ${MACHINE} -b ${BOOTLOADER}       \
17                 -k ${TMPKERNEL} ${.TARGET}
18         -rm -f ${TMPKERNEL}
20 KFILES= ${IMAGE}
22 CLEANFILES+=    ${KFILES}
25 realall: ${KFILES}
27 release: check_RELEASEDIR .WAIT ${KFILES}
28         ${RELEASE_INSTALL} ${KFILES} \
29             ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/floppy
31 .include <bsd.prog.mk>