Makefile.inc revision 1.10
1# 2# etc.amiga/Makefile.inc -- amiga-specific etc Makefile targets 3# 4# $NetBSD: Makefile.inc,v 1.10 1998/10/09 10:40:59 itohy Exp $ 5 6.ifdef DESTDIR 7 8# the regular expression does a basename(1) on .CURDIR so that we don't 9# have to keep looking up .. at compile time. 10 11KERNSRCDIR?= ${.CURDIR:C/[^\/]+$//}sys 12KERNOBJDIR?= ${KERNSRCDIR}/arch/${MACHINE}/compile 13KERNCONFDIR?= ${KERNSRCDIR}/arch/${MACHINE}/conf 14 15snap_md: 16.for kernel in GENERIC 17 cd ${KERNCONFDIR} && config \ 18 -b ${KERNOBJDIR}/${kernel} \ 19 -s ${KERNSRCDIR} \ 20 ${kernel} 21 cd ${KERNOBJDIR}/${kernel} && \ 22 ${MAKE} clean && ${MAKE} depend && ${MAKE} && \ 23 gzip -c -9 netbsd > ${DESTDIR}/snapshot/netbsd.${kernel}.gz 24.endfor 25 26.endif # DESTDIR check 27