summaryrefslogtreecommitdiff
path: root/etc/etc.pmax
diff options
context:
space:
mode:
Diffstat (limited to 'etc/etc.pmax')
-rw-r--r--etc/etc.pmax/Makefile.inc42
1 files changed, 42 insertions, 0 deletions
diff --git a/etc/etc.pmax/Makefile.inc b/etc/etc.pmax/Makefile.inc
new file mode 100644
index 00000000000..e33ec3f6156
--- /dev/null
+++ b/etc/etc.pmax/Makefile.inc
@@ -0,0 +1,42 @@
+#
+# etc.pmax/Makefile.inc -- pmax-specific etc Makefile targets
+#
+# $Id: Makefile.inc,v 1.1 1997/01/19 22:29:15 graichen Exp $
+
+.ifdef DESTDIR
+
+snap_md: binutils bsd
+
+binutils:
+ cd ${DESTDIR} && tar cf - usr/*openbsd* \
+ | ${SNAP_GZIP_CMD} > snapshot/usr.binutils.tar${SNAP_GZIP_EXT}
+
+bsd:
+ cd ${.CURDIR}/../sys/arch/pmax/conf && config GENERIC
+ cd ${.CURDIR}/../sys/arch/pmax/compile/GENERIC && \
+ make clean && make depend && make
+ cp ${.CURDIR}/../sys/arch/pmax/compile/GENERIC/bsd \
+ ${DESTDIR}/snapshot/bsd
+
+.endif # DESTDIR check
+#
+# etc.alpha/Makefile.inc -- alpha-specific etc Makefile targets
+#
+# $Id: Makefile.inc,v 1.1 1997/01/19 22:29:15 graichen Exp $
+
+.ifdef DESTDIR
+# XXX - bsd will come then we have a GENERIC kernel
+snap_md: binutils
+
+binutils:
+ cd ${DESTDIR} && tar cf - usr/*openbsd* \
+ | ${SNAP_GZIP_CMD} > snapshot/usr.binutils.tar${SNAP_GZIP_EXT}
+
+bsd:
+ cd ${.CURDIR}/../sys/arch/alpha/conf && config GENERIC
+ cd ${.CURDIR}/../sys/arch/alpha/compile/GENERIC && \
+ make clean && make depend && make
+ cp ${.CURDIR}/../sys/arch/alpha/compile/GENERIC/bsd \
+ ${DESTDIR}/snapshot/bsd
+
+.endif # DESTDIR check