NetBSD/distrib/macppc/Makefile

27 lines
701 B
Makefile
Raw Normal View History

2001-11-14 03:58:48 +03:00
# $NetBSD: Makefile,v 1.8 2001/11/14 00:58:49 tv 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
2001-11-14 03:58:48 +03:00
BOOTFLOPOBJ != cd ${.CURDIR}/floppies/bootfloppy && ${PRINTOBJDIR}
BOOTOBJ != cd ${.CURDIR}/../../sys/arch/macppc/stand/ofwboot && ${PRINTOBJDIR}
release:
${IINST} ${BOOTOBJ}/ofwboot.elf ${ITARGET}/
${IINST} ${BOOTOBJ}/ofwboot.xcf ${ITARGET}/
2000-06-23 21:59:03 +04:00
${IINST} ${BOOTFLOPOBJ}/boot.fs ${ITARGET}/
cd ${.CURDIR}/floppies/md-kernel && ${MAKE} release
.endif