1#	$NetBSD: Makefile,v 1.22 2009/09/20 19:41:35 abs Exp $
2
3.include <bsd.own.mk>
4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
5.include <bsd.kernobj.mk>
6
7IMAGE=		ramdisk.fs
8IMAGESIZE=	600k
9MAKEFS_FLAGS=	-f 15 -o density=2048
10
11WARNS=		1
12DBG=		-Os
13
14CRUNCHBIN=	rd_bin
15LISTS=		${.CURDIR}/list
16MTREECONF=	${.CURDIR}/mtree.conf
17IMAGEENDIAN=	be
18MAKEDEVTARGETS=	std md0 cd0 st0 st1 sd0 sd1 sd2 xd0 xy0
19IMAGEDEPENDS=	${CRUNCHBIN} \
20		fstab passwd protocols ${DISTRIBDIR}/common/services \
21		sshrc welcome ${NETBSDSRCDIR}/etc/netconfig
22
23MDSETTARGETS=		RAMDISK ramdisk.fs -
24MDSET_RELEASEDIR=	binary/kernel
25
26# Use stubs to eliminate some large stuff from libc
27HACKSRC=	${DISTRIBDIR}/utils/libhack
28.include	"${HACKSRC}/Makefile.inc"
29${CRUNCHBIN}:	libhack.o
30
31.include "${DISTRIBDIR}/common/Makefile.crunch"
32.include "${DISTRIBDIR}/common/Makefile.makedev"
33.include "${DISTRIBDIR}/common/Makefile.image"
34.include "${DISTRIBDIR}/common/Makefile.mdset"
35
36.include <bsd.prog.mk>
37