1#	$NetBSD: Makefile,v 1.49 2022/02/04 17:19:52 tsutsui Exp $
2
3.include <bsd.own.mk>
4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
5
6IMAGE=			inst.fs
7IMAGESIZE=		1800k
8# `floppy-root' cannot be used now, due to size issue.
9#IMAGE_RELEASEDIR=	installation/floppy
10
11MAKEFS_FLAGS+=	-f 10
12WARNS=		1
13DBG=		-Os -fno-unwind-tables
14
15CRUNCHBIN=	ramdiskbin
16LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst.en
17MTREECONF=	${DISTRIBDIR}/common/mtree.common
18IMAGEENDIAN=	be
19MAKEDEVTARGETS=	ramdisk
20IMAGEDEPENDS+= 	${CRUNCHBIN} \
21		dot.profile \
22		${DISTRIBDIR}/common/services \
23		${DESTDIR}/usr/mdec/boot ${DESTDIR}/usr/mdec/mboot \
24		${DESTDIR}/usr/mdec/sdboot_ufs \
25		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
26		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols
27SMALLPROG_INET6=1
28
29.if ${USE_INET6} != "no"
30LISTS+=		${DISTRIBDIR}/common/list.inet6
31.endif
32
33# Use stubs to eliminate some large stuff from libc
34HACKSRC=	${DISTRIBDIR}/utils/libhack
35.include	"${HACKSRC}/Makefile.inc"
36${CRUNCHBIN}:	libhack.o
37
38.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
39.include "${DISTRIBDIR}/common/Makefile.crunch"
40.include "${DISTRIBDIR}/common/Makefile.makedev"
41.include "${DISTRIBDIR}/common/Makefile.image"
42
43release::
44
45.include <bsd.prog.mk>
46