summaryrefslogtreecommitdiff
path: root/sys/arch
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 /sys/arch
parenta83986584ba58ec3db9bd4df6958b89aa0cfba9e (diff)
uudecode and install bootblocks -moj
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/pmax/Makefile2
-rw-r--r--sys/arch/pmax/boot/Makefile22
2 files changed, 23 insertions, 1 deletions
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>