Makefile revision 1.33
1#	$NetBSD: Makefile,v 1.33 2002/03/25 07:43:46 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
25realall: ${IMAGE}
26
27# Use stubs to eliminate some large stuff from libc
28HACKSRC=${_SRC_TOP_}/distrib/utils/libhack
29.include "${HACKSRC}/Makefile.inc"
30HACKOBJS+=	gethost.o
31
32# This is listed in ramdiskbin.conf but is built here.
33${CRUNCHBIN}: libhack.o
34
35release:
36
37
38.include "${DISTRIBDIR}/common/Makefile.crunch"
39.include "${DISTRIBDIR}/common/Makefile.makedev"
40.include "${DISTRIBDIR}/common/Makefile.image"
41
42.include <bsd.prog.mk>
43