summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/stand
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-09-27 08:39:09 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-09-27 08:39:09 +0000
commit122685d494cb1d4243763f9609aeced66ea336ac (patch)
tree58d15f74a023052b595ae2bc6cf38f14bebb8d27 /sys/arch/amiga/stand
parent77614c163793067dea3b646b462c21c418f27a56 (diff)
Glue
Diffstat (limited to 'sys/arch/amiga/stand')
-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>