2001-11-14 03:58:48 +03:00
|
|
|
# $NetBSD: Makefile,v 1.8 2001/11/14 00:58:49 tv Exp $
|
2000-06-08 21:39:44 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk> # Use /etc/mk.conf.
|
|
|
|
|
|
|
|
ITARGET= ${RELEASEDIR}/installation
|
|
|
|
IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} \
|
|
|
|
-o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
|
2000-06-07 01:00:31 +04:00
|
|
|
|
2000-06-08 21:39:44 +04:00
|
|
|
SUBDIR= floppies
|
2000-06-07 01:00:31 +04:00
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|
2000-06-08 21:39:44 +04:00
|
|
|
|
|
|
|
.ifndef RELEASEDIR
|
|
|
|
release:
|
|
|
|
@echo setenv RELEASEDIR first
|
|
|
|
@false
|
|
|
|
.else
|
2001-11-14 03:58:48 +03:00
|
|
|
BOOTFLOPOBJ != cd ${.CURDIR}/floppies/bootfloppy && ${PRINTOBJDIR}
|
|
|
|
BOOTOBJ != cd ${.CURDIR}/../../sys/arch/macppc/stand/ofwboot && ${PRINTOBJDIR}
|
2000-06-08 21:39:44 +04:00
|
|
|
|
|
|
|
release:
|
|
|
|
${IINST} ${BOOTOBJ}/ofwboot.elf ${ITARGET}/
|
2000-06-13 03:02:45 +04:00
|
|
|
${IINST} ${BOOTOBJ}/ofwboot.xcf ${ITARGET}/
|
2000-06-23 21:59:03 +04:00
|
|
|
${IINST} ${BOOTFLOPOBJ}/boot.fs ${ITARGET}/
|
2001-04-10 00:28:22 +04:00
|
|
|
cd ${.CURDIR}/floppies/md-kernel && ${MAKE} release
|
2000-06-08 21:39:44 +04:00
|
|
|
.endif
|