2000-03-08 16:34:58 +03:00
|
|
|
# $NetBSD: Makefile,v 1.5 2000/03/08 13:34:58 cjs Exp $
|
|
|
|
|
|
|
|
include <bsd.own.mk> # Use /etc/mk.conf.
|
1998-10-16 05:36:45 +04:00
|
|
|
|
1999-09-20 12:18:31 +04:00
|
|
|
SUBDIR= instkernel #floppy-GENERIC
|
1998-10-16 05:36:45 +04:00
|
|
|
|
1999-06-30 22:36:37 +04:00
|
|
|
ITARGET= ${RELEASEDIR}/installation
|
|
|
|
IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} \
|
|
|
|
-o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
|
|
|
|
|
|
|
|
.ifndef RELEASEDIR
|
|
|
|
release:
|
|
|
|
@echo setenv RELEASEDIR first
|
|
|
|
@false
|
|
|
|
.else
|
1999-11-20 16:03:09 +03:00
|
|
|
CDHDTAPEOBJ != cd instkernel/cd-hd-tape; make print-objdir
|
|
|
|
FDSETOBJ != cd instkernel/fdset; make print-objdir
|
|
|
|
INSTKERNOBJ != cd instkernel/instkernel; make print-objdir
|
|
|
|
GENERICOBJ != cd floppy-GENERIC; make print-objdir
|
|
|
|
|
1999-06-30 22:36:37 +04:00
|
|
|
release:
|
|
|
|
.for i in floppy diskimage instkernel tapeimage
|
|
|
|
${IINST} README.files ${ITARGET}/$i/.
|
|
|
|
.endfor
|
1999-11-20 16:03:09 +03:00
|
|
|
${IINST} ${CDHDTAPEOBJ}/cdhdtape ${ITARGET}/diskimage/.
|
|
|
|
${IINST} ${FDSETOBJ}/disk1of2 ${ITARGET}/floppy/.
|
|
|
|
${IINST} ${FDSETOBJ}/disk2of2 ${ITARGET}/floppy/.
|
|
|
|
${IINST} ${INSTKERNOBJ}/netbsd.gz ${ITARGET}/instkernel/.
|
|
|
|
#${IINST} ${GENERICOBJ}/GENERIC.fs ${ITARGET}/misc/.
|
1999-06-30 22:36:37 +04:00
|
|
|
.endif
|
|
|
|
|
1998-10-16 05:36:45 +04:00
|
|
|
.include <bsd.subdir.mk>
|