# $OpenBSD: Makefile.bsd-wrapper,v 1.3 2000/02/13 13:15:23 espie Exp $ .if ${MACHINE} == "amiga" 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} .else NOPROG=Yes NOMAN=Yes .endif .include