Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / distrib / ews4800mips / floppies / ramdisk / Makefile
blobedbb3a6c4d56a2bb4e2690efda2263d325f83e85
1 # $NetBSD: Makefile,v 1.6 2009/09/20 19:49:08 abs Exp $
3 .include <bsd.own.mk>
4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 IMAGE= ramdisk.fs
7 IMAGESIZE= 3m
8 MAKEFS_FLAGS= -f 15
10 WARNS= 1
11 DBG= -Os -mmemcpy
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= ramdisk
19 IMAGEDEPENDS= ${CRUNCHBIN} \
20 dot.profile ${DESTDIR} \
21 ${DESTDIR}/usr/mdec/boot \
22 ${DESTDIR}/usr/mdec/bootxx_ustarfs \
23 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
24 ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
25 ${DISTRIBDIR}/common/services \
26 ${DISTRIBDIR}/common/termcap
28 # Use stubs to eliminate some large stuff from libc
29 HACKSRC= ${DISTRIBDIR}/utils/libhack
30 .include "${HACKSRC}/Makefile.inc"
31 ${CRUNCHBIN}: libhack.o
33 .include "${DISTRIBDIR}/common/Makefile.crunch"
34 .include "${DISTRIBDIR}/common/Makefile.makedev"
35 .include "${DISTRIBDIR}/common/Makefile.image"
37 release:
39 .include <bsd.prog.mk>