Makefile revision 1.13
1#	$NetBSD: Makefile,v 1.13 2002/03/18 15:30:56 tsutsui Exp $
2
3.include "${.CURDIR}/../../../Makefile.inc"
4.include <bsd.own.mk>
5
6IMAGE=		ramdisk.fs
7IMAGESIZE=	2048k
8
9WARNS=		1
10
11CRUNCHBIN=	ramdiskbin
12LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
13MTREECONF=	${DISTRIBDIR}/common/mtree.common
14IMAGEENDIAN=	be
15MAKEDEVTARGETS=	floppy
16IMAGEDEPENDS=	${CRUNCHBIN} \
17		dot.profile termcap.src \
18		${DESTDIR}/usr/mdec/installboot \
19		${DESTDIR}/usr/mdec/boot \
20		${DESTDIR}/usr/mdec/bootxx \
21		${_SRC_TOP_}/etc/group \
22		${_SRC_TOP_}/etc/master.passwd \
23		${_SRC_TOP_}/etc/netconfig \
24		${_SRC_TOP_}/etc/protocols \
25		${_SRC_TOP_}/etc/services
26
27realall: ${IMAGE}
28
29release:
30
31# Use stubs to eliminate some large stuff from libc
32HACKSRC=${DISTRIBDIR}/utils/libhack
33.include "${HACKSRC}/Makefile.inc"
34
35# Turn off libhack's gethostby*() as it only supports /etc/hosts
36HACKOBJS:=	${HACKOBJS:Ngethost.o}
37
38# This is listed in "list" file but is built here.
39${CRUNCHBIN}:	libhack.o
40
41.include "${DISTRIBDIR}/common/Makefile.crunch"
42.include "${DISTRIBDIR}/common/Makefile.makedev"
43.include "${DISTRIBDIR}/common/Makefile.image"
44
45.include <bsd.prog.mk>
46