From 66c54c800385af748006f09caceeb3539f4b1e36 Mon Sep 17 00:00:00 2001 From: miod <> Date: Mon, 19 Jun 2000 01:49:30 +0000 Subject: [PATCH] Build only the necessary things ; look closer to etc.sparc --- src/etc/etc.sun3/Makefile.inc | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/etc/etc.sun3/Makefile.inc b/src/etc/etc.sun3/Makefile.inc index 4566efbe..b061d946 100644 --- a/src/etc/etc.sun3/Makefile.inc +++ b/src/etc/etc.sun3/Makefile.inc @@ -1,19 +1,21 @@ -# $OpenBSD: Makefile.inc,v 1.3 1997/09/21 11:50:40 deraadt Exp $ -# +# $OpenBSD: Makefile.inc,v 1.4 2000/06/19 01:49:30 miod Exp $ # etc.sun3/Makefile.inc -- sun3-specific etc Makefile targets .ifdef DESTDIR -snap_md: bsd-gen bsd-dl - cp -p ${.CURDIR}/etc.sun3/README ${DESTDIR}/snapshot/README +snap_md: bsd bootblocks distrib + cp ${.CURDIR}/../sys/arch/sun3/compile/GENERIC/bsd \ + ${DESTDIR}/snapshot/bsd -bsd-gen: - cd ${.CURDIR}/../sys/arch/sun3/compile/GENERIC && make - gzip -9 < ${.CURDIR}/../sys/arch/sun3/compile/GENERIC/bsd \ - > ${DESTDIR}/snapshot/bsd-gen.gz +bsd: + cd ${.CURDIR}/../sys/arch/sun3/conf && config GENERIC + cd ${.CURDIR}/../sys/arch/sun3/compile/GENERIC && \ + make clean && make depend && make -bsd-dl: - cd ${.CURDIR}/../sys/arch/sun3/compile/DISKLESS && make - gzip -9 < ${.CURDIR}/../sys/arch/sun3/compile/DISKLESS/bsd \ - > ${DESTDIR}/snapshot/bsd-dl.gz +bootblocks: + cp ${DESTDIR}/usr/mdec/*boot* ${DESTDIR}/snapshot + +distrib: + cd ${.CURDIR}/../distrib && make cleandir && \ + make && make install .endif # DESTDIR check