1 # $NetBSD: Makefile,v 1.5 2002/05/08 07:57:09 lukem 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 -9c ${.ALLSRC} > ${.TARGET} 16 17 realall: ${KERNEL} 18 19 release: check_RELEASEDIR .WAIT ${KERNEL} 20 ${RELEASE_INSTALL} ${KERNEL} ${RELEASEDIR}/binary/kernel 21 22 .include <bsd.prog.mk> 23