|
|
@ -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 |