Makefile revision 1.52
1# $NetBSD: Makefile,v 1.52 2002/03/17 22:30:31 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 ${KERNSRCDIR}/conf/osrelease.sh \ 15 ${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \ 16 ${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \ 17 ${_SRC_TOP_}/etc/services 18PARSELISTENV= ARCHDIR=${ARCHDIR:Q} \ 19 DISTRIBREV=${DISTRIBREV:Q} \ 20 DISTRIBVER=${DISTRIBVER:Q} \ 21 KERNOBJDIR=${KERNOBJDIR:Q} 22 23.include "${ARCHDIR}/Makefile.inc" 24 25 26all: check_DESTDIR .WAIT image 27 @true 28 29release: check_RELEASEDIR .WAIT image 30 mkdir -p ${RELEASEDIR}/installation/miniroot 31 gzip -c -9 < ${.OBJDIR}/miniroot.fs \ 32 > ${RELEASEDIR}/installation/miniroot/miniroot.fs.gz 33 sh ${DISTRIBDIR}/sets/makesums \ 34 -t ${RELEASEDIR}/installation/miniroot miniroot.fs.gz 35 36image: ${IMAGE} image_md_post 37 38 39.include "${DISTRIBDIR}/common/Makefile.crunch" 40.if defined(MAKEDEVTARGETS) 41.include "${DISTRIBDIR}/common/Makefile.makedev" 42.endif 43.include "${DISTRIBDIR}/common/Makefile.image" 44 45.include <bsd.prog.mk> 46