2000-11-07 20:41:51 +03:00
|
|
|
# $NetBSD: Makefile,v 1.10 2000/11/07 17:41:51 matt Exp $
|
2000-03-08 16:34:58 +03:00
|
|
|
|
2000-03-08 17:28:54 +03:00
|
|
|
.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
|
2000-10-26 08:53:56 +04:00
|
|
|
CDHDTAPEOBJ != cd ${.CURDIR}/instkernel/cd-hd-tape; ${MAKE} print-objdir
|
|
|
|
FDSETOBJ != cd ${.CURDIR}/instkernel/fdset; ${MAKE} print-objdir
|
|
|
|
INSTKERNOBJ != cd ${.CURDIR}/instkernel/instkernel; ${MAKE} print-objdir
|
|
|
|
GENERICOBJ != cd ${.CURDIR}/floppy-GENERIC; ${MAKE} print-objdir
|
1999-11-20 16:03:09 +03:00
|
|
|
|
1999-06-30 22:36:37 +04:00
|
|
|
release:
|
|
|
|
.for i in floppy diskimage instkernel tapeimage
|
2000-11-07 20:41:51 +03:00
|
|
|
${IINST} ${.CURDIR}/README.files ${ITARGET}/$i/.
|
1999-06-30 22:36:37 +04:00
|
|
|
.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>
|