1#	$NetBSD: Makefile,v 1.40 2008/06/25 03:33:06 matt Exp $
2#
3# ramdisk.fs is the microroot filesystem intended for use with
4# the INSTALL kernel. It provides just enough tools to extract the
5# miniroot-based `instfs' filesystem into an MFS mount point
6# and start the installation scripts from there (see dot.profile).
7#
8
9.include <bsd.own.mk>
10.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
11
12IMAGE=		ramdisk.fs
13IMAGESIZE=	1800b
14
15WARNS=		1
16DBG=		-Os
17
18CRUNCHBIN=	ramdiskbin
19LISTS=		${.CURDIR}/list
20MTREECONF=	${DISTRIBDIR}/common/mtree.common
21IMAGEENDIAN=	be
22MAKEDEVTARGETS=	floppy
23IMAGEDEPENDS+=	${CRUNCHBIN} dot.profile
24
25# Use stubs to eliminate some large stuff from libc
26HACKSRC=	${DISTRIBDIR}/utils/libhack
27HACKOBJS=	gethost.o
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
35release:
36
37.include <bsd.prog.mk>
38