1 # $NetBSD: Makefile,v 1.67 2009/01/25 22:08:38 abs Exp $
4 .
include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 .
include <bsd.kernobj.mk
>
8 ARCHDIR
= ${.CURDIR
}/..
/${MACHINE}/miniroot
11 CRUNCHGEN_FLAGS
= -d
"${DBG}"
12 LISTS
= ${.CURDIR
}/list
${ARCHDIR}/list
13 MTREECONF
= ${DISTRIBDIR}/common
/mtree.common
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"
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
>