Makefile.inc revision 1.6
1#	$NetBSD: Makefile.inc,v 1.6 2000/04/19 13:45:24 simonb Exp $
2#
3#	etc.pmax/Makefile.inc -- pmax-specific etc Makefile targets
4#
5
6# Set this for any kernels beyond GENERIC you want to include
7# in the distribution.
8#EXTRA_KERNELS+=
9
10# Set this for any kernels beyond GENERIC and ${EXTRA_KERNELS} you
11# need to build to make installation tools/media.
12BUILD_KERNELS+=INSTALL RAMDISK
13
14# Add any extra release directories to be made
15INSTALLATION_DIRS+=installation/diskimage installation/netboot
16
17# location and name of the stripped down NFS install kernel
18NFSCONF=		INSTALL
19NFSKERNNAME=		nfsnetbsd
20# We don't know about ${KERNOBJDIR} yet ...
21NFSKERNDIR=		${.CURDIR:C/[^\/]+$//}sys/arch/${MACHINE}/compile/${NFSCONF}
22NFSKERN=		${NFSKERNDIR}/${NFSKERNNAME}
23
24snap_md_post: ${DISKIMAGE} ${DISKIMAGE_TAR} ${INSTALLKERN}
25	${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
26		-m ${BINMODE} ${NFSKERN}.ecoff \
27		${RELEASEDIR}/binary/kernel/${NFSKERNNAME}
28	gzip -9 ${RELEASEDIR}/binary/kernel/${NFSKERNNAME}
29	cd ${.CURDIR}/../distrib/pmax && \
30	    ${MAKE} depend && ${MAKE} ${_J} && ${MAKE} install
31