Makefile revision 1.12
1#	$NetBSD: Makefile,v 1.12 2002/03/16 15:54:08 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
16PARSELISTENV=	PWD_MKDB=${PWD_MKDB:Q}
17IMAGEDEPENDS=	${CRUNCHBIN} \
18		dot.profile termcap.src \
19		${DESTDIR}/usr/mdec/installboot \
20		${DESTDIR}/usr/mdec/boot \
21		${DESTDIR}/usr/mdec/bootxx \
22		${_SRC_TOP_}/etc/group \
23		${_SRC_TOP_}/etc/master.passwd \
24		${_SRC_TOP_}/etc/netconfig \
25		${_SRC_TOP_}/etc/protocols \
26		${_SRC_TOP_}/etc/services
27
28realall: ${IMAGE}
29
30release:
31
32# Use stubs to eliminate some large stuff from libc
33HACKSRC=${DISTRIBDIR}/utils/libhack
34.include "${HACKSRC}/Makefile.inc"
35
36# Turn off libhack's gethostby*() as it only supports /etc/hosts
37HACKOBJS:=	${HACKOBJS:Ngethost.o}
38
39# This is listed in "list" file but is built here.
40${CRUNCHBIN}:	libhack.o
41
42.include "${DISTRIBDIR}/common/Makefile.crunch"
43.include "${DISTRIBDIR}/common/Makefile.makedev"
44.include "${DISTRIBDIR}/common/Makefile.image"
45
46.include <bsd.prog.mk>
47