1 # 2 # etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets 3 # 4 # $Id: Makefile.inc,v 1.3 1994/04/20 12:44:53 deraadt Exp $ 5 6 .ifdef DESTDIR 7 snap_md: netbsd-sd0 netbsd-sd1 inst 8 cp ${.CURDIR}/../sys/arch/sparc/compile/TDR/netbsd \ 9 ${DESTDIR}/snapshot/netbsd-sd1 10 cp ${.CURDIR}/../sys/arch/sparc/compile/TDR2/netbsd \ 11 ${DESTDIR}/snapshot/netbsd-sd0 12 13 netbsd-sd1: 14 cd ${.CURDIR}/../sys/arch/sparc/conf && config.new TDR 15 cd ${.CURDIR}/../sys/arch/sparc/compile/TDR && \ 16 make clean && make depend && make 17 18 netbsd-sd0: 19 cd ${.CURDIR}/../sys/arch/sparc/conf && config.new TDR2 20 cd ${.CURDIR}/../sys/arch/sparc/compile/TDR2 && \ 21 make clean && make depend && make 22 23 inst: 24 cp ${.CURDIR}/etc.sparc/README ${DESTDIR}/snapshot/README 25 cp ${.CURDIR}/etc.sparc/install.sh ${DESTDIR}/snapshot/install.sh 26 cd ${DESTDIR} && find dev -print | cpio -o | gzip -9 > snapshot/dev.cpio.gz 27 28 .endif # DESTDIR check 29