Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / distrib / sandpoint / ramdisk / Makefile
blobcc8c882bf45a52dfe51c79c6a179a36370150efb
1 # $NetBSD: Makefile,v 1.4 2009/09/20 19:49:10 abs Exp $
3 .include <bsd.own.mk>
4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 IMAGE= ramdisk.fs
7 IMAGESIZE= 2048k
8 MAKEFS_FLAGS= -f 15
10 WARNS= 1
11 DBG= -Os -mmultiple -mstring
13 CRUNCHBIN= ramdiskbin
14 CRUNCHGEN_FLAGS=-d "${DBG}"
15 LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
16 MTREECONF= ${DISTRIBDIR}/common/mtree.common
17 IMAGEENDIAN= be
18 MAKEDEVTARGETS= std md0 wd0 pty0
19 IMAGEDEPENDS= ${CRUNCHBIN} \
20 dot.profile ${DISTRIBDIR}/common/termcap \
21 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
22 ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
23 ${DISTRIBDIR}/common/services
25 # Use stubs to eliminate some large stuff from libc
26 HACKSRC= ${DISTRIBDIR}/utils/libhack
27 .include "${HACKSRC}/Makefile.inc"
28 ${CRUNCHBIN}: libhack.o
30 .include "${DISTRIBDIR}/common/Makefile.crunch"
31 .include "${DISTRIBDIR}/common/Makefile.makedev"
32 .include "${DISTRIBDIR}/common/Makefile.image"
34 release:
36 .include <bsd.prog.mk>