1 # $NetBSD: Makefile,v 1.9 2009/04/03 22:36:35 perry Exp $ 2 3 .include <bsd.own.mk> 4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 5 6 .include <bsd.kernobj.mk> 7 8 KERN= ${KERNOBJDIR}/GENERIC/netbsd 9 KERNEL= netbsd-GENERIC.gz 10 11 CLEANFILES+= ${KERNEL} 12 13 ${KERNEL}: ${KERN} 14 -rm -f ${.TARGET} 15 gzip -9nc ${.ALLSRC} > ${.TARGET} 16 17 realall: ${KERNEL} 18 19 release: check_RELEASEDIR .WAIT ${KERNEL} 20 ${RELEASE_INSTALL} ${KERNEL} ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel 21 22 .include <bsd.prog.mk> 23