1995-03-30 09:44:08 +04:00
|
|
|
#
|
1998-06-28 13:38:40 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.3 1998/06/28 09:38:42 fair 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}
|
|
|
|
cd ${KERNOBJDIR}/${kernel} && make clean && make depend && make && \
|
|
|
|
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
|