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