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