Makefile revision 1.50
1# $NetBSD: Makefile,v 1.50 2002/03/14 22:26:10 lukem Exp $ 2 3.include "${.CURDIR}/../Makefile.inc" 4.include <bsd.own.mk> 5.include <bsd.kernobj.mk> 6 7ARCHDIR= ${.CURDIR}/../${MACHINE}/miniroot 8 9CRUNCHBIN= instbin 10LISTS= ${.CURDIR}/list ${ARCHDIR}/list 11MTREECONF= ${DISTRIBDIR}/common/mtree.common 12IMAGE= miniroot.fs 13IMAGEDEPENDS= ${CRUNCHBIN} install.sub install.sh upgrade.sh \ 14 ${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \ 15 ${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \ 16 ${_SRC_TOP_}/etc/services 17PARSELISTENV= ARCHDIR=${ARCHDIR:Q} KERNOBJDIR=${KERNOBJDIR:Q} 18 19.include "${ARCHDIR}/Makefile.inc" 20 21 22all: check_DESTDIR .WAIT image 23 @true 24 25release: check_RELEASEDIR .WAIT image 26 mkdir -p ${RELEASEDIR}/installation/miniroot 27 gzip -c -9 < ${.OBJDIR}/miniroot.fs \ 28 > ${RELEASEDIR}/installation/miniroot/miniroot.fs.gz 29 sh ${DISTRIBDIR}/sets/makesums \ 30 -t ${RELEASEDIR}/installation/miniroot miniroot.fs.gz 31 32image: ${IMAGE} image_md_post 33 34 35.include "${DISTRIBDIR}/common/Makefile.crunch" 36.if defined(MAKEDEVTARGETS) 37.include "${DISTRIBDIR}/common/Makefile.makedev" 38.endif 39.include "${DISTRIBDIR}/common/Makefile.image" 40 41.include <bsd.prog.mk> 42