Makefile.inc revision 1.6
1#	$NetBSD: Makefile.inc,v 1.6 2000/06/11 13:01:29 fredb Exp $
2#
3#	mac68k-specific release building goo
4#
5
6# You will find no configs for GENERICSBC or INSTALLSBC in the
7# sources. That's because they're trivial to generate--each is
8# simply its corresponding config with "ncrscsi" commented out,
9# and "sbc" uncommented.
10#
11BUILD_KERNELS?=	INSTALL	# INSTALLSBC
12EXTRA_KERNELS?=		# GENERICSBC
13
14INSTALLATION_DIRS+=	installation/instkernel
15
16snap_md_post:
17.ifndef UPDATE
18	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE} ${MAKEFLAGS} clean
19.endif
20	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE} ${MAKEFLAGS}
21.ifndef UPDATE
22	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && ${MAKE} ${MAKEFLAGS} clean
23.endif
24.for k in ${BUILD_KERNELS}
25	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
26		${MAKE} ${MAKEFLAGS} INSTALL_KERNEL=${k} && ${MAKE} ${MAKEFLAGS} release INSTALL_KERNEL=${k}
27.endfor
28	cd ${.CURDIR}/../distrib/notes && ${MAKE} ${MAKEFLAGS} && ${MAKE} ${MAKEFLAGS} release
29	sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/instkernel
30