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