Home | History | Annotate | Line # | Download | only in etc.pmax
Makefile.inc revision 1.3.2.1
      1 #	$NetBSD: Makefile.inc,v 1.3.2.1 1999/10/20 23:10:56 he 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.
     12 BUILD_KERNELS+=INSTALL RAMDISK
     13 
     14 # Add any extra release directories to be made
     15 INSTALLATION_DIRS+=installation/diskimage installation/netboot
     16 
     17 # location and name of the stripped down NFS install kernel
     18 NFSCONF=		INSTALL
     19 NFSKERNNAME=		nfsnetbsd
     20 # We don't know about ${KERNOBJDIR} yet ...
     21 NFSKERNDIR=		${.CURDIR:C/[^\/]+$//}sys/arch/${MACHINE}/compile/${NFSCONF}
     22 NFSKERN=		${NFSKERNDIR}/${NFSKERNNAME}
     23 
     24 snap_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