1 # $NetBSD: Makefile,v 1.11 2014/08/05 15:40:58 apb 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 ${TOOL_GZIP_N} -9c ${.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