1 # $NetBSD: Makefile,v 1.27 2009/04/03 22:36:35 perry Exp $
4 .
include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 .
include <bsd.kernobj.mk
>
8 .
include "${.CURDIR}/../instfs/Makefile.instfs"
11 IMAGEPOSTBUILD
= ${TOOL_INSTALLBOOT} -v
-m
${MACHINE} ${IMAGE} \
12 ${DESTDIR}/usr
/mdec
/bootblk
13 IMAGE_RELEASEDIR
= installation
/miniroot
15 CRUNCHBINDIR
!= cd
${INSTFSDIR} && ${PRINTOBJDIR}
16 LISTS
+= ${.CURDIR
}/list.miniroot
17 IMAGEDEPENDS
+= netbsd.gz
19 ${CRUNCHBIN}: ${CRUNCHBINDIR}/${CRUNCHBIN}
21 cp
-p
${CRUNCHBINDIR}/sysinst
/sysinstmsgs.
* sysinst
22 cp
${.ALLSRC
} ${.TARGET
}
24 netbsd.gz
: ${KERNOBJDIR}/GENERIC
/netbsd
26 gzip
-9nc
${.ALLSRC
} > ${.TARGET
}
33 CLEANFILES
+= ${CRUNCHBIN} netbsd.gz
35 .
include "${DISTRIBDIR}/common/Makefile.makedev"
36 .
include "${DISTRIBDIR}/common/Makefile.image"
38 .
include <bsd.prog.mk
>