Makefile.inc revision 1.7
11.59Snjoly#	$NetBSD: Makefile.inc,v 1.7 2000/12/07 10:57:18 toddpw Exp $
21.1Sbjh21#
31.1Sbjh21#	mac68k-specific release building goo
41.1Sbjh21#
51.1Sbjh21
61.1Sbjh21# You will find no configs for GENERICSBC or INSTALLSBC in the
71.1Sbjh21# sources. That's because they're trivial to generate--each is
81.1Sbjh21# simply its corresponding config with "ncrscsi" commented out,
91.1Sbjh21# and "sbc" uncommented.
101.1Sbjh21#
111.1Sbjh21BUILD_KERNELS?=	INSTALL	INSTALLSBC
121.1Sbjh21EXTRA_KERNELS?=		GENERICSBC
131.1Sbjh21
141.1Sbjh21INSTALLATION_DIRS+=	installation/instkernel
151.1Sbjh21
161.1Sbjh21snap_md_post:
171.1Sbjh21.ifndef UPDATE
181.1Sbjh21	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE} ${MAKEFLAGS} clean
191.1Sbjh21.endif
201.1Sbjh21	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE} ${MAKEFLAGS}
211.1Sbjh21.ifndef UPDATE
221.1Sbjh21	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && ${MAKE} ${MAKEFLAGS} clean
231.1Sbjh21.endif
241.1Sbjh21.for k in ${BUILD_KERNELS}
251.1Sbjh21.ifndef UPDATE
261.1Sbjh21	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
271.1Sbjh21		${MAKE} clean
281.1Sbjh21.endif
291.1Sbjh21	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
301.1Sbjh21		${MAKE} ${MAKEFLAGS} INSTALL_KERNEL=${k} && \
311.1Sbjh21		${MAKE} ${MAKEFLAGS} INSTALL_KERNEL=${k} release
321.1Sbjh21.endfor
331.1Sbjh21	cd ${KERNOBJDIR}/GENERICSBC &&	\
341.1Sbjh21		tar cf - netbsd |\
351.1Sbjh21		gzip -c -9 > ${RELEASEDIR}/binary/sets/kern_sbc.tgz
361.1Sbjh21.ifndef UPDATE
371.1Sbjh21	cd ${.CURDIR}/../distrib/notes && ${MAKE} clean
381.1Sbjh21.endif
391.1Sbjh21	cd ${.CURDIR}/../distrib/notes && \
401.1Sbjh21		${MAKE} ${MAKEFLAGS} && \
411.1Sbjh21		${MAKE} ${MAKEFLAGS} release
421.1Sbjh21	sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/instkernel
431.38Srtr