1 # $NetBSD: Makefile.images,v 1.6 2004/04/18 20:04:26 dsl Exp $
4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 .include <bsd.kernobj.mk>
9 LISTS= ${.CURDIR}/list ${.CURDIR}/../common/list.images
10 MTREECONF= ${DISTRIBDIR}/common/mtree.common
12 IMAGEDEPENDS+= ${CRUNCHBIN} \
13 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd
15 IMAGE_RELEASEDIR= installation/miniroot
17 .if defined(USE_SYSINST)
18 LISTS+= ${DISTRIBDIR}/common/list.sysinst.en
21 # Use stubs to eliminate some large stuff from libc
22 HACKSRC=${DISTRIBDIR}/utils/libhack
23 .include "${HACKSRC}/Makefile.inc"
24 ${CRUNCHBIN}: libhack.o
26 .include "${DISTRIBDIR}/common/Makefile.crunch"
27 .if defined(MAKEDEVTARGETS)
28 .include "${DISTRIBDIR}/common/Makefile.makedev"
30 .include "${DISTRIBDIR}/common/Makefile.image"
32 release:: check_RELEASEDIR
33 ${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${IMAGE_RELEASEDIR} ${IMAGE}.gz
35 .include <bsd.prog.mk>