Makefile revision 1.7
1#	$NetBSD: Makefile,v 1.7 2007/07/24 10:20:15 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# RAMDISKS+=	RAMDISK_S	ramdisk-small
10# RAMDISKS+=	RAMDISK_T	ramdisk-tiny
11# RAMDISKS+=	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
18# If you change the list of distributed install kernels, don't forget
19# to update the release documentation in distrib/notes/common/contents
20MDSETTARGETS=	INSTALL_LARGE		${RAMDISK_B}	-
21MDSETTARGETS+=	INSTALL			${RAMDISK_B}	-
22MDSETTARGETS+=	INSTALL_LAPTOP		${RAMDISK_B}	-
23MDSETTARGETS+=	INSTALL_XEN2_DOMU	${RAMDISK_B}	-
24MDSETTARGETS+=	INSTALL_XEN3_DOMU	${RAMDISK_B}	-
25# MDSETTARGETS+=	INSTALL_SMALL		${RAMDISK_S}	-
26# MDSETTARGETS+=	INSTALL_TINY		${RAMDISK_T}	-
27# MDSETTARGETS+=	INSTALL_PS2		${RAMDISK_S}	-
28# MDSETTARGETS+=	INSTALL_TINY		${RESCUE_T}	netbsd-RESCUE_TINY
29
30MDSET_RELEASEDIR=	binary/kernel
31# do not strip Xen kernels, there's no space constraints here.
32MDSET_NOSTRIP.netbsd-INSTALL_XEN2_DOMU=
33MDSET_NOSTRIP.netbsd-INSTALL_XEN3_DOMU=
34# do not strip any other kernels, it is done by Makefile.tarfloppy before
35# they are written to a floppy.
36MDSET_NOSTRIP=
37MDSET_NOSYMBOLS.netbsd-INSTALL_XEN2_DOMU=
38MDSET_NOSYMBOLS.netbsd-INSTALL_XEN3_DOMU=
39
40.include "${DISTRIBDIR}/common/Makefile.mdset"
41
42.include <bsd.prog.mk>
43