blah
authorderaadt <deraadt@openbsd.org>
Fri, 24 Jan 1997 00:15:06 +0000 (00:15 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 24 Jan 1997 00:15:06 +0000 (00:15 +0000)
etc/etc.arc/Makefile.inc [new file with mode: 0644]

diff --git a/etc/etc.arc/Makefile.inc b/etc/etc.arc/Makefile.inc
new file mode 100644 (file)
index 0000000..993242f
--- /dev/null
@@ -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