NetBSD/distrib/prep/floppies/bootfloppy-common/Makefile.inc

31 lines
624 B
PHP
Raw Normal View History

2002-05-04 00:54:18 +04:00
# $NetBSD: Makefile.inc,v 1.7 2002/05/03 20:54:18 kleink Exp $
2001-01-16 19:53:57 +03:00
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
2001-01-16 19:53:57 +03:00
2002-04-12 18:52:57 +04:00
# Required variables:
# IMAGE
# KERNEL
2001-01-16 19:53:57 +03:00
MDEC?= ${DESTDIR}/usr/mdec
2002-05-04 00:54:18 +04:00
MKBOOTIMAGE?= ${PREPMKBOOTIMAGE}
2001-01-16 19:53:57 +03:00
BOOTLOADER?= ${MDEC}/boot_com0
2002-04-12 18:52:57 +04:00
${IMAGE}: ${KERNEL}
${MKBOOTIMAGE} ${BOOTLOADER} ${.TARGET} ${KERNEL} # XXXDISTRIB
2001-01-16 19:53:57 +03:00
2002-04-12 18:52:57 +04:00
${IMAGE}.gz: ${IMAGE}
gzip -9c ${IMAGE} > ${.TARGET}
2001-01-16 19:53:57 +03:00
2002-04-12 18:52:57 +04:00
KFILES= ${IMAGE} ${IMAGE}.gz
CLEANFILES+= ${KFILES}
2001-01-16 19:53:57 +03:00
2002-04-12 18:52:57 +04:00
realall: ${KFILES}
release: check_RELEASEDIR .WAIT ${KFILES}
${RELEASE_INSTALL} ${KFILES} ${RELEASEDIR}/installation/floppy
2002-04-12 18:52:57 +04:00
.include <bsd.prog.mk>