1995-03-30 09:44:08 +04:00
|
|
|
#
|
1998-10-09 14:40:59 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.4 1998/10/09 10:41:24 itohy Exp $
|
1995-03-30 09:44:08 +04:00
|
|
|
#
|
|
|
|
# etc.atari/Makefile.inc -- atari-specific etc Makefile targets
|
|
|
|
#
|
|
|
|
|
|
|
|
.ifdef DESTDIR
|
1997-10-29 13:36:24 +03:00
|
|
|
|
1998-06-28 13:38:40 +04:00
|
|
|
# the regular expression does a basename(1) on .CURDIR so that we don't
|
|
|
|
# have to keep looking up .. at compile time.
|
1997-10-29 13:36:24 +03:00
|
|
|
|
1998-06-28 13:38:40 +04:00
|
|
|
KERNSRCDIR?= ${.CURDIR:C/[^\/]+$//}sys
|
|
|
|
KERNOBJDIR?= ${KERNSRCDIR}/arch/${MACHINE}/compile
|
|
|
|
KERNCONFDIR?= ${KERNSRCDIR}/arch/${MACHINE}/conf
|
1997-10-29 13:36:24 +03:00
|
|
|
|
1998-06-28 13:38:40 +04:00
|
|
|
snap_md:
|
|
|
|
.for kernel in GENERIC ATARITT BOOT BOOTX HADES
|
|
|
|
cd ${KERNCONFDIR} && config \
|
|
|
|
-b ${KERNOBJDIR}/${kernel} \
|
|
|
|
-s ${KERNSRCDIR} \
|
|
|
|
${kernel}
|
1998-10-09 14:40:59 +04:00
|
|
|
cd ${KERNOBJDIR}/${kernel} && \
|
|
|
|
${MAKE} clean && ${MAKE} depend && ${MAKE} && \
|
1998-06-28 13:38:40 +04:00
|
|
|
gzip -c -9 netbsd > ${DESTDIR}/snapshot/netbsd.${kernel}.gz
|
|
|
|
.endfor
|
1997-10-29 13:36:24 +03:00
|
|
|
|
1995-03-30 09:44:08 +04:00
|
|
|
.endif # DESTDIR check
|