NetBSD/etc/etc.sun3/Makefile.inc

28 lines
718 B
PHP
Raw Normal View History

# $NetBSD: Makefile.inc,v 1.6 1998/06/28 09:38:43 fair Exp $
#
# etc.sun3/Makefile.inc -- sun3-specific etc Makefile targets
#
1997-12-20 04:56:51 +03:00
BIN3+= etc.sun3/ttyaction
.ifdef DESTDIR
1998-06-25 21:54:05 +04:00
# the regular expression does a basename(1) on .CURDIR so that we don't
# have to keep looking up .. at compile time.
1998-06-25 21:54:05 +04:00
KERNSRCDIR?= ${.CURDIR:C/[^\/]+$//}sys
KERNOBJDIR?= ${KERNSRCDIR}/arch/${MACHINE}/compile
KERNCONFDIR?= ${KERNSRCDIR}/arch/${MACHINE}/conf
snap_md:
1998-06-25 21:54:05 +04:00
.for kernel in GENERIC GENERIC3X
cd ${KERNCONFDIR} && config \
-b ${KERNOBJDIR}/${kernel} \
-s ${KERNSRCDIR} \
${kernel}
cd ${KERNOBJDIR}/${kernel} && make clean && make depend && make && \
cp netbsd ${DESTDIR}/snapshot/netbsd.${kernel}
1998-06-25 21:54:05 +04:00
.endfor
.endif # DESTDIR check