1#	$NetBSD: Makefile,v 1.3 2007/11/22 21:23:43 bouyer Exp $
2
3.include <bsd.own.mk>
4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
5
6#	create ${RAMDISK_*} variables
7#
8RAMDISKS=	RAMDISK		ramdisk
9
10.for V F in ${RAMDISKS}
11${V}DIR!=	cd ${.CURDIR}/../ramdisks/${F} && ${PRINTOBJDIR}
12${V}=		${${V}DIR}/${F}.fs
13.endfor
14
15MDSETTARGETS=		INSTALL		${RAMDISK}	-
16MDSETTARGETS+=		GENERIC		${RAMDISK}	-
17MDSETTARGETS+=INSTALL_XEN3_DOMU		${RAMDISK}	-
18
19MDSET_RELEASEDIR=	binary/kernel
20
21# need symbols to load modules. don't actually want image inserted.
22MDSET_NOSTRIP.netbsd-GENERIC=
23MDSET_NOIMAGE.netbsd-GENERIC=
24# do not strip Xen kernels, there's no space constraints here.
25MDSET_NOSTRIP.netbsd-INSTALL_XEN3_DOMU=
26MDSET_NOSYMBOLS.netbsd-INSTALL_XEN3_DOMU=
27
28.include "${DISTRIBDIR}/common/Makefile.mdset"
29
30.include <bsd.prog.mk>
31