Makefile revision 1.4
1#	$NetBSD: Makefile,v 1.4 2006/09/29 08:20:44 pavel Exp $
2
3.include <bsd.own.mk>
4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
5
6#	create ${RAMDISK_*} variables
7#
8RAMDISKS=	RAMDISK_B	ramdisk-big		\
9		RAMDISK_S	ramdisk-small		\
10		RAMDISK_T	ramdisk-tiny		\
11		RESCUE_T	ramdisk-rescuetiny
12
13.for V F in ${RAMDISKS}
14${V}DIR!=	cd ${.CURDIR}/../ramdisks/${F} && ${PRINTOBJDIR}
15${V}=		${${V}DIR}/${F}.fs
16.endfor
17
18MDSETTARGETS=		INSTALL			${RAMDISK_B}	-	\
19			INSTALL_LAPTOP		${RAMDISK_B}	-	\
20			INSTALL_XEN2_DOMU	${RAMDISK_B}	-	\
21			INSTALL_XEN3_DOMU	${RAMDISK_B}	-	\
22			INSTALL_SMALL		${RAMDISK_S}	-	\
23			INSTALL_TINY		${RAMDISK_T}	-	\
24			INSTALL_PS2		${RAMDISK_S}	-	\
25			INSTALL_TINY		${RESCUE_T}	netbsd-RESCUE_TINY
26
27MDSET_RELEASEDIR=	binary/kernel
28# do not strip Xen kernels, there's no space constraints here.
29MDSET_NOSTRIP.netbsd-INSTALL_XEN2_DOMU=
30MDSET_NOSTRIP.netbsd-INSTALL_XEN3_DOMU=
31# do not strip any other kernels, it is done by Makefile.tarfloppy before
32# they are written to a floppy.
33MDSET_NOSTRIP=
34MDSET_NOSYMBOLS.netbsd-INSTALL_XEN2_DOMU=
35MDSET_NOSYMBOLS.netbsd-INSTALL_XEN3_DOMU=
36
37.include "${DISTRIBDIR}/common/Makefile.mdset"
38
39.include <bsd.prog.mk>
40