Expand PMF_FN_* macros.
[netbsd-mini2440.git] / distrib / sun3 / miniroot / Makefile
blob99688d5a15e98ecdb62ffa3c3ab4efe528b74dd8
1 # $NetBSD: Makefile,v 1.41 2009/09/20 22:46:14 abs Exp $
3 .include <bsd.own.mk>
4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 .include <bsd.kernobj.mk>
8 IMAGE= miniroot.fs
9 IMAGESIZE= 6m
10 MAKEFS_FLAGS= -o density=8k
12 KERNEL3= ${KERNOBJDIR}/INSTALL/netbsd
13 KERNEL3X= ${KERNOBJDIR}/INSTALL3X/netbsd
15 WARNS= 1
16 DBG= -Os
18 CRUNCHBIN= instbin
19 CRUNCHGEN_FLAGS= -d "${DBG}"
21 LISTS= ${.CURDIR}/list
22 MTREECONF= ${.CURDIR}/mtree.conf
23 IMAGEENDIAN= be
24 PARSELISTENV= KERNEL3=${KERNEL3} KERNEL3X=${KERNEL3X}
25 MAKEDEVTARGETS= std md0 cd0 st0 st1 sd0 sd1 sd2 xd0 xy0 fd0
26 IMAGEDEPENDS= ${CRUNCHBIN} \
27 ${KERNEL3} ${KERNEL3X} \
28 fstab install.md profile \
29 ${DISTRIBDIR}/common/termcap \
30 ${DESTDIR}/dev/MAKEDEV ${DESTDIR}/dev/MAKEDEV.local \
31 ${DESTDIR}/etc/group \
32 ${DESTDIR}/etc/master.passwd ${DESTDIR}/etc/netconfig \
33 ${DESTDIR}/etc/passwd \
34 ${DISTRIBDIR}/common/protocols \
35 ${DESTDIR}/etc/pwd.db ${DISTRIBDIR}/common/services \
36 ${DESTDIR}/etc/spwd.db \
37 ${DESTDIR}/usr/mdec/bootxx \
38 ${DESTDIR}/usr/mdec/netboot ${DESTDIR}/usr/mdec/tapeboot \
39 ${DESTDIR}/usr/mdec/ufsboot \
40 ${DISTRIBDIR}/miniroot/install.sh \
41 ${DISTRIBDIR}/miniroot/upgrade.sh \
42 install.sub
44 IMAGEPOSTBUILD= ${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} \
45 ${DESTDIR}/usr/mdec/bootxx /ufsboot
46 IMAGE_RELEASEDIR= installation/miniroot
48 # Use stubs to eliminate some large stuff from libc
49 HACKSRC= ${DISTRIBDIR}/utils/libhack
50 .include "${HACKSRC}/Makefile.inc"
51 ${CRUNCHBIN}: libhack.o
53 install.sub: ${DISTRIBDIR}/miniroot/install.sub
54 ${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" < $? > $@
56 CLEANFILES+= install.sub
58 .include "${DISTRIBDIR}/common/Makefile.crunch"
59 .include "${DISTRIBDIR}/common/Makefile.makedev"
60 .include "${DISTRIBDIR}/common/Makefile.image"
62 .include <bsd.prog.mk>