Expand PMF_FN_* macros.
[netbsd-mini2440.git] / distrib / miniroot / Makefile
blob8a73a54d436035bc5f7477b9804d175966c48e2d
1 # $NetBSD: Makefile,v 1.67 2009/01/25 22:08:38 abs Exp $
3 .include <bsd.own.mk>
4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 .include <bsd.kernobj.mk>
8 ARCHDIR= ${.CURDIR}/../${MACHINE}/miniroot
10 CRUNCHBIN= instbin
11 CRUNCHGEN_FLAGS= -d "${DBG}"
12 LISTS= ${.CURDIR}/list ${ARCHDIR}/list
13 MTREECONF= ${DISTRIBDIR}/common/mtree.common
14 IMAGE= miniroot.fs
15 IMAGEDEPENDS= ${CRUNCHBIN} install.sub install.sh upgrade.sh \
16 ${KERNSRCDIR}/conf/osrelease.sh \
17 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
18 ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
19 ${DISTRIBDIR}/common/services
20 PARSELISTENV= ARCHDIR=${ARCHDIR:Q} \
21 DISTRIBREV=${DISTRIBREV:Q} \
22 DISTRIBVER=${DISTRIBVER:Q} \
23 KERNOBJDIR=${KERNOBJDIR:Q}
25 IMAGE_RELEASEDIR= installation/miniroot
27 .include "${ARCHDIR}/Makefile.inc"
29 # Use stubs to eliminate some large stuff from libc
30 HACKSRC= ${DISTRIBDIR}/utils/libhack
31 .include "${HACKSRC}/Makefile.inc"
32 ${CRUNCHBIN}: libhack.o
34 .include "${DISTRIBDIR}/common/Makefile.crunch"
35 .if defined(MAKEDEVTARGETS)
36 .include "${DISTRIBDIR}/common/Makefile.makedev"
37 .endif
38 .include "${DISTRIBDIR}/common/Makefile.image"
40 release:: check_RELEASEDIR .WAIT ${IMAGE}.gz
41 ${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${IMAGE_RELEASEDIR} ${IMAGE}.gz
43 .include <bsd.prog.mk>