NetBSD/etc/etc.atari/Makefile.inc

28 lines
737 B
PHP
Raw Normal View History

1995-03-30 09:44:08 +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
# the regular expression does a basename(1) on .CURDIR so that we don't
# have to keep looking up .. at compile time.
KERNSRCDIR?= ${.CURDIR:C/[^\/]+$//}sys
KERNOBJDIR?= ${KERNSRCDIR}/arch/${MACHINE}/compile
KERNCONFDIR?= ${KERNSRCDIR}/arch/${MACHINE}/conf
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
1995-03-30 09:44:08 +04:00
.endif # DESTDIR check