From e2d5aac1142379abc24850b04974e90d5aadd8ca Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 24 Jan 1997 00:15:06 +0000 Subject: [PATCH] blah --- src/etc/etc.arc/Makefile.inc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/etc/etc.arc/Makefile.inc diff --git a/src/etc/etc.arc/Makefile.inc b/src/etc/etc.arc/Makefile.inc new file mode 100644 index 00000000..993242fa --- /dev/null +++ b/src/etc/etc.arc/Makefile.inc @@ -0,0 +1,20 @@ +# $OpenBSD: Makefile.inc,v 1.1 1997/01/24 00:15:06 deraadt Exp $ +# +# etc.arc/Makefile.inc -- arc-specific etc Makefile targets + +.ifdef DESTDIR + +snap_md: binutils bsd + +binutils: + cd ${DESTDIR} && tar cf - usr/*openbsd* \ + | ${GZIP} ${GZIPFLAGS} > snapshot/usr.binutils.tar${GZIPEXT} + +bsd: + cd ${.CURDIR}/../sys/arch/arc/conf && config GENERIC + cd ${.CURDIR}/../sys/arch/arc/compile/GENERIC && \ + make clean && make depend && make + cp ${.CURDIR}/../sys/arch/arc/compile/GENERIC/bsd \ + ${DESTDIR}/snapshot/bsd + +.endif