Makefile revision 1.34
1#	$NetBSD: Makefile,v 1.34 2002/03/28 04:33:23 lukem 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 "${.CURDIR}/../../Makefile.inc"
10.include <bsd.own.mk>
11
12IMAGE=		ramdisk.fs
13IMAGESIZE=	1360b
14
15WARNS=		1
16
17CRUNCHBIN=	ramdiskbin
18LISTS=		${.CURDIR}/list
19MTREECONF=	${DISTRIBDIR}/common/mtree.common
20IMAGEENDIAN=	be
21MAKEDEVTARGETS=	floppy
22IMAGEDEPENDS+=	${CRUNCHBIN} dot.profile
23
24# Use stubs to eliminate some large stuff from libc
25HACKSRC=	${DISTRIBDIR}/utils/libhack
26HACKOBJS=	gethost.o
27.include	"${HACKSRC}/Makefile.inc"
28${CRUNCHBIN}:	libhack.o
29
30
31realall: ${IMAGE}
32
33release:
34
35
36.include "${DISTRIBDIR}/common/Makefile.crunch"
37.include "${DISTRIBDIR}/common/Makefile.makedev"
38.include "${DISTRIBDIR}/common/Makefile.image"
39
40.include <bsd.prog.mk>
41