summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amiga/stand/Makefile4
-rw-r--r--sys/arch/amiga/stand/device-streams/Makefile.bsd-wrapper27
2 files changed, 29 insertions, 2 deletions
diff --git a/sys/arch/amiga/stand/Makefile b/sys/arch/amiga/stand/Makefile
index ce03a9d73c9..e8938215aaf 100644
--- a/sys/arch/amiga/stand/Makefile
+++ b/sys/arch/amiga/stand/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.3 1999/09/09 21:25:49 espie Exp $
+# $OpenBSD: Makefile,v 1.4 1999/09/27 08:39:08 espie Exp $
# $NetBSD: Makefile,v 1.3 1996/11/30 20:34:58 is Exp $
-SUBDIR=binpatch boot loadkmap loadbsd
+SUBDIR=binpatch boot loadkmap loadbsd devtostream
.include <bsd.subdir.mk>
diff --git a/sys/arch/amiga/stand/device-streams/Makefile.bsd-wrapper b/sys/arch/amiga/stand/device-streams/Makefile.bsd-wrapper
new file mode 100644
index 00000000000..8c9ab1933d0
--- /dev/null
+++ b/sys/arch/amiga/stand/device-streams/Makefile.bsd-wrapper
@@ -0,0 +1,27 @@
+# $OpenBSD: Makefile.bsd-wrapper,v 1.1 1999/09/27 08:39:08 espie Exp $
+
+BINPROG= devtostream rdbinfo streamtodev xdevtostream xstreamtodev
+BINLIB=getopt.lib unixemul.lib
+BINARIES=${BINPROG} ${BINLIB}
+OTHER=COPYING README devices.c devices.h devtostream.c \
+getdevices.c getdevices.h protos.h protos_template.h \
+rdbinfo.c streamtodev.c util.c util.h
+ARCHIVE=device-streams.tgz
+
+
+all: ${BINARIES} ${ARCHIVE}
+
+${ARCHIVE}:
+ tar -s ,^,device-streams/, -zcf ${ARCHIVE} -C ${.CURDIR} ${OTHER} -C ${.OBJDIR} ${BINARIES}
+
+.for I in ${BINARIES}
+${I}: ${I}.gz
+ zcat ${.ALLSRC} >$@
+
+${I}.gz: ${I}.gz.uu
+ uudecode ${.ALLSRC}
+.endfor
+
+CLEANFILES=${BINARIES} ${BINARIES:S/$/.gz/} ${ARCHIVE}
+
+.include <bsd.prog.mk>