Makefile.inc revision 1.3
1#	$NetBSD: Makefile.inc,v 1.3 2000/02/20 03:52:22 mycroft Exp $
2#
3#	mac68k-specific release building goo
4#
5
6# This is commented out in the distribution, because GENERICSBC isn't
7# distributed (it's just GENERIC:s/ncrsci/sbc/).
8#
9#EXTRA_KERNELS+=	GENERICSBC
10BUILD_KERNELS+= 	INSTALL
11
12INSTALLATION_DIRS+=		installation/instkernel
13
14snap_md_post:
15#
16# Build the ramdisk...
17#
18.ifndef UPDATE
19	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && \
20		${MAKE} clean
21.endif
22	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && \
23		${MAKE} ${_J}
24#
25# and put them all together.
26#
27.for k in ${EXTRA_INSTALL_KERNELS}
28.ifndef UPDATE
29	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
30		${MAKE} clean
31.endif
32	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
33		${MAKE} INSTALL_KERNEL=${k} && ${MAKE} release INSTALL_KERNEL=${k}
34.endfor
35	sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/instkernel
36