1998-06-28 13:38:40 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.3 1998/06/28 09:38:44 fair Exp $
|
1996-03-14 20:32:16 +03:00
|
|
|
#
|
|
|
|
# etc.vax/Makefile.inc -- vax-specific etc Makefile targets
|
|
|
|
#
|
|
|
|
|
|
|
|
.ifdef DESTDIR
|
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.
|
|
|
|
|
|
|
|
KERNSRCDIR?= ${.CURDIR:C/[^\/]+$//}sys
|
|
|
|
KERNOBJDIR?= ${KERNSRCDIR}/arch/${MACHINE}/compile
|
|
|
|
KERNCONFDIR?= ${KERNSRCDIR}/arch/${MACHINE}/conf
|
|
|
|
|
|
|
|
snap_md:
|
|
|
|
.for kernel in GENERIC
|
|
|
|
cd ${KERNCONFDIR} && config \
|
|
|
|
-b ${KERNOBJDIR}/${kernel} \
|
|
|
|
-s ${KERNSRCDIR} \
|
|
|
|
${kernel}
|
|
|
|
cd ${KERNOBJDIR}/${kernel} && make clean && make depend && make && \
|
|
|
|
cp netbsd ${DESTDIR}/snapshot/netbsd.${kernel}
|
|
|
|
.endfor
|
|
|
|
|
1996-03-14 20:32:16 +03:00
|
|
|
distribution: pcs750.bin
|
|
|
|
|
|
|
|
pcs750.bin:
|
|
|
|
(cd etc.vax;uudecode pcs750.bin.uu)
|
1996-10-26 12:12:09 +04:00
|
|
|
(cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \
|
|
|
|
${DESTDIR}/)
|
1996-03-14 20:32:16 +03:00
|
|
|
|
1998-06-28 13:38:40 +04:00
|
|
|
.endif # DESTDIR check
|