NetBSD/distrib/macppc/Makefile

27 lines
713 B
Makefile

# $NetBSD: Makefile,v 1.7 2001/04/09 20:28:22 tsubai Exp $
.include <bsd.own.mk> # Use /etc/mk.conf.
ITARGET= ${RELEASEDIR}/installation
IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} \
-o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
SUBDIR= floppies
.include <bsd.subdir.mk>
.ifndef RELEASEDIR
release:
@echo setenv RELEASEDIR first
@false
.else
BOOTFLOPOBJ != cd ${.CURDIR}/floppies/bootfloppy; ${MAKE} print-objdir
BOOTOBJ != cd ${.CURDIR}/../../sys/arch/macppc/stand/ofwboot; ${MAKE} print-objdir
release:
${IINST} ${BOOTOBJ}/ofwboot.elf ${ITARGET}/
${IINST} ${BOOTOBJ}/ofwboot.xcf ${ITARGET}/
${IINST} ${BOOTFLOPOBJ}/boot.fs ${ITARGET}/
cd ${.CURDIR}/floppies/md-kernel && ${MAKE} release
.endif