Home | History | Annotate | Line # | Download | only in etc.i386
Makefile.inc revision 1.13
      1 #	$NetBSD: Makefile.inc,v 1.13 1999/11/09 00:22:39 he Exp $
      2 #
      3 #	etc.i386/Makefile.inc -- i386-specific etc Makefile targets
      4 #
      5 
      6 # These are packaged and distributed
      7 EXTRA_KERNELS+= GENERIC_TINY
      8 
      9 # These are for use by the bootfloppy construction tools
     10 INST_KERNELS= INSTALL INSTALL_TINY
     11 
     12 # Build the INST_KERNELS and the boot floppies and install them
     13 snap_md_post:
     14 .for k in ${INST_KERNELS}
     15 	cd ${KERNCONFDIR} && config \
     16 		-b ${KERNOBJDIR}/${k} -s ${KERNSRCDIR} ${k}
     17 .ifndef UPDATE
     18 	cd ${KERNOBJDIR}/${k} && ${MAKE} clean
     19 .endif
     20 	cd ${KERNOBJDIR}/${k} && ${MAKE} depend && ${MAKE} ${_J}
     21 .endfor
     22 .ifndef UPDATE
     23 	cd ${.CURDIR}/../distrib/i386/floppies && ${MAKE} clean
     24 .endif
     25 	cd ${.CURDIR}/../distrib/i386/floppies && \
     26 		${MAKE} depend && ${MAKE} ${_J} && ${MAKE} release
     27