summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>1998-04-02 19:57:35 +0000
committerMats O Jansson <maja@cvs.openbsd.org>1998-04-02 19:57:35 +0000
commit68d20dd6a87c5ecd73b719f3774c41fbd1c5bfaf (patch)
tree4e3dde455d09e4ad713b86be52633da7da3773c9
parenta83986584ba58ec3db9bd4df6958b89aa0cfba9e (diff)
uudecode and install bootblocks -moj
-rw-r--r--etc/etc.pmax/Makefile.inc4
-rw-r--r--sys/arch/pmax/Makefile2
-rw-r--r--sys/arch/pmax/boot/Makefile22
3 files changed, 25 insertions, 3 deletions
diff --git a/etc/etc.pmax/Makefile.inc b/etc/etc.pmax/Makefile.inc
index 83e28ca9a00..bc36d82e0ac 100644
--- a/etc/etc.pmax/Makefile.inc
+++ b/etc/etc.pmax/Makefile.inc
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile.inc,v 1.14 1998/03/19 15:21:51 graichen Exp $
+# $OpenBSD: Makefile.inc,v 1.15 1998/04/02 19:57:29 maja Exp $
# etc.pmax/Makefile.inc -- pmax-specific etc Makefile targets
.ifdef DESTDIR
-snap_md: binutils bsd bsd.nfs bsd.rz0 bootblocks distrib
+snap_md: binutils bsd bsd.nfs bsd.rz0 distrib
binutils:
cd ${DESTDIR} && tar cf - usr/*openbsd* \
diff --git a/sys/arch/pmax/Makefile b/sys/arch/pmax/Makefile
index ede7d07de49..4fb8b447a3f 100644
--- a/sys/arch/pmax/Makefile
+++ b/sys/arch/pmax/Makefile
@@ -6,7 +6,7 @@
NOPROG= noprog
NOMAN= noman
-SUBDIR=
+SUBDIR= boot
TPMAX= ../pmax/tags
SPMAX= ../pmax/pmax/*.[ch] ../pmax/include/*.h \
diff --git a/sys/arch/pmax/boot/Makefile b/sys/arch/pmax/boot/Makefile
new file mode 100644
index 00000000000..3396f64e334
--- /dev/null
+++ b/sys/arch/pmax/boot/Makefile
@@ -0,0 +1,22 @@
+# $OpenBSD: Makefile,v 1.1 1998/04/02 19:57:34 maja Exp $
+
+NOPROG=
+NOMAN=
+UUDECODE=/usr/bin/uudecode
+CLEANFILES+=bootrz rzboot
+
+all: bootrz rzboot
+
+bootrz: bootrz.uu
+ @echo "Create ${.TARGET} from ${.ALLSRC}"
+ @$(UUDECODE) ${.ALLSRC}
+
+rzboot: rzboot.uu
+ @echo "Create ${.TARGET} from ${.ALLSRC}"
+ @$(UUDECODE) ${.ALLSRC}
+
+install: bootrz rzboot
+ $(INSTALL) -c -o ${BINOWN} -g ${BINGRP} -m 644 ${.ALLSRC} \
+ ${DESTDIR}/usr/mdec
+
+.include <bsd.prog.mk>