NetBSD/distrib/playstation2/Makefile
2001-10-15 16:22:50 +00:00

33 lines
710 B
Makefile

# $NetBSD: Makefile,v 1.1 2001/10/15 16:22:50 uch Exp $
.include "../Makefile.inc"
.include <bsd.own.mk>
.include <bsd.obj.mk>
.include <bsd.kernobj.mk>
SUBDIR=
ITARGET= ${RELEASEDIR}/installation
IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} \
-o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
.ifndef RELEASEDIR
release:
@echo setenv RELEASEDIR first
@false
.else
MINIROOTDIR = ${.CURDIR}/../miniroot
MINIROOTOBJ != cd ${MINIROOTDIR}; ${MAKE} print-objdir
release:
rm -f netbsd netbsd.gz
cp ${KERNOBJDIR}/RAMDISK/netbsd .
mdsetimage netbsd ${MINIROOTOBJ}/miniroot.fs
gzip -9 netbsd
${IINST} netbsd.gz ${ITARGET}/.
${.CURDIR}/../sets/makesums -t ${ITARGET} '*.gz'
.endif
.include <bsd.subdir.mk>