1994-04-12 11:48:20 +04:00
|
|
|
#
|
|
|
|
# etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets
|
|
|
|
#
|
1994-04-20 16:44:53 +04:00
|
|
|
# $Id: Makefile.inc,v 1.3 1994/04/20 12:44:53 deraadt Exp $
|
1994-04-12 11:48:20 +04:00
|
|
|
|
|
|
|
.ifdef DESTDIR
|
1994-04-18 14:48:48 +04:00
|
|
|
snap_md: netbsd-sd0 netbsd-sd1 inst
|
1994-04-12 11:48:20 +04:00
|
|
|
cp ${.CURDIR}/../sys/arch/sparc/compile/TDR/netbsd \
|
|
|
|
${DESTDIR}/snapshot/netbsd-sd1
|
|
|
|
cp ${.CURDIR}/../sys/arch/sparc/compile/TDR2/netbsd \
|
|
|
|
${DESTDIR}/snapshot/netbsd-sd0
|
|
|
|
|
|
|
|
netbsd-sd1:
|
|
|
|
cd ${.CURDIR}/../sys/arch/sparc/conf && config.new TDR
|
|
|
|
cd ${.CURDIR}/../sys/arch/sparc/compile/TDR && \
|
|
|
|
make clean && make depend && make
|
|
|
|
|
|
|
|
netbsd-sd0:
|
|
|
|
cd ${.CURDIR}/../sys/arch/sparc/conf && config.new TDR2
|
|
|
|
cd ${.CURDIR}/../sys/arch/sparc/compile/TDR2 && \
|
|
|
|
make clean && make depend && make
|
1994-04-18 14:48:48 +04:00
|
|
|
|
|
|
|
inst:
|
1994-04-20 16:44:53 +04:00
|
|
|
cp ${.CURDIR}/etc.sparc/README ${DESTDIR}/snapshot/README
|
|
|
|
cp ${.CURDIR}/etc.sparc/install.sh ${DESTDIR}/snapshot/install.sh
|
1994-04-18 14:48:48 +04:00
|
|
|
cd ${DESTDIR} && find dev -print | cpio -o | gzip -9 > snapshot/dev.cpio.gz
|
|
|
|
|
1994-04-12 11:48:20 +04:00
|
|
|
.endif # DESTDIR check
|