34 lines
861 B
Makefile
34 lines
861 B
Makefile
# $NetBSD: Makefile.inc,v 1.4 1998/10/09 10:41:42 itohy Exp $
|
|
#
|
|
# etc.vax/Makefile.inc -- vax-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
|
|
cd ${KERNCONFDIR} && config \
|
|
-b ${KERNOBJDIR}/${kernel} \
|
|
-s ${KERNSRCDIR} \
|
|
${kernel}
|
|
cd ${KERNOBJDIR}/${kernel} && \
|
|
${MAKE} clean && ${MAKE} depend && ${MAKE} && \
|
|
cp netbsd ${DESTDIR}/snapshot/netbsd.${kernel}
|
|
.endfor
|
|
|
|
distribution: pcs750.bin
|
|
|
|
pcs750.bin:
|
|
(cd etc.vax;uudecode pcs750.bin.uu)
|
|
(cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \
|
|
${DESTDIR}/)
|
|
|
|
.endif # DESTDIR check
|