1#	$NetBSD: Makefile,v 1.29 2020/05/29 23:12:12 tsutsui Exp $
2
3.include <bsd.own.mk>
4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
5
6IMAGE=		ramdisk.fs
7IMAGESIZE=	2880k
8MAKEFS_FLAGS+=	-f 15
9
10WARNS=		1
11DBG=		-Os -mmemcpy -fno-unwind-tables
12
13CRUNCHBIN=	ramdiskbin
14LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst.en
15MTREECONF=	${DISTRIBDIR}/common/mtree.common
16IMAGEENDIAN=	le
17MAKEDEVTARGETS=	minimal
18IMAGEDEPENDS=	${CRUNCHBIN} \
19		dot.profile \
20		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
21		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
22		${DISTRIBDIR}/common/services
23SMALLPROG_INET6=1
24
25# Use stubs to eliminate some large stuff from libc
26HACKSRC=	${DISTRIBDIR}/utils/libhack
27.include	"${HACKSRC}/Makefile.inc"
28${CRUNCHBIN}:	libhack.o
29
30.include "${DISTRIBDIR}/common/Makefile.crunch"
31.include "${DISTRIBDIR}/common/Makefile.makedev"
32.include "${DISTRIBDIR}/common/Makefile.image"
33
34release:
35
36.include <bsd.prog.mk>
37