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
|
|
|
|
2002-03-06 00:23:28 +03:00
|
|
|
.include <bsd.own.mk>
|
2002-05-02 22:02:14 +04:00
|
|
|
.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}
|
2002-05-02 22:02:14 +04:00
|
|
|
${RELEASE_INSTALL} ${KFILES} ${RELEASEDIR}/installation/floppy
|
2002-04-12 18:52:57 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|