Makefile.inc revision 1.1
1# $NetBSD: Makefile.inc,v 1.1 1999/12/17 20:54:31 fredb Exp $ 2# 3# mac68k-specific release building goo 4# 5 6# This is commented out in the distribution, because 7# 8# 1) GENERICSBC isn't distributed 9# (It's just GENERIC:s/ncrsci/sbc/), 10# 11# and 12# 13# 2) if we include GENERIC here without also setting 14# UPDATE, we'll end up building GENERIC twice. 15# 16#EXTRA_KERNELS+= GENERIC GENERICSBC 17 18INST_KERNELS+= INSTALL 19INSTALLATION_DIRS+= installation/instkernel 20 21snap_md_post: 22# 23# Build the install kernels... 24# 25.for k in ${INST_KERNELS} 26 cd ${KERNCONFDIR} && config \ 27 -b ${KERNOBJDIR}/${k} -s ${KERNSRCDIR} ${k} 28.ifndef UPDATE 29 cd ${KERNOBJDIR}/${k} && ${MAKE} cleandir 30.endif 31 cd ${KERNOBJDIR}/${k} && ${MAKE} depend && ${MAKE} ${_J} 32.endfor 33# 34# the ramdisk... 35# 36.ifndef UPDATE 37 cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && \ 38 ${MAKE} clean 39.endif 40 cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && \ 41 ${MAKE} ${_J} 42# 43# and put them all together. 44# 45.for k in ${INST_KERNELS} 46.ifndef UPDATE 47 cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \ 48 ${MAKE} clean 49.endif 50 cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \ 51 ${MAKE} INSTALL_KERNEL=${k} && ${MAKE} release 52.endfor 53 sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/instkernel 54