diff options
Diffstat (limited to 'distrib/i386/cdfs-emu')
-rw-r--r-- | distrib/i386/cdfs-emu/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/distrib/i386/cdfs-emu/Makefile b/distrib/i386/cdfs-emu/Makefile new file mode 100644 index 00000000000..80c47900b28 --- /dev/null +++ b/distrib/i386/cdfs-emu/Makefile @@ -0,0 +1,32 @@ +# $OpenBSD: Makefile,v 1.1 2004/08/15 21:38:03 deraadt Exp $ + +TOP= ${.CURDIR}/.. + +.include "${TOP}/Makefile.inc" + +CDFS= cdrom${REV}.fs +CDROM= cdemu${REV}.iso + +all: ${CDROM} + +${CDROM}: + -rm -rf ${.OBJDIR}/cd-dir + mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/i386 + cp ${.OBJDIR}/../ramdisk_cd/${CDFS} ${.OBJDIR}/cd-dir/${OSREV}/i386 + mkhybrid -a -R -T -L -d -D -N -o ${.OBJDIR}/${CDROM} -v -v \ + -A "OpenBSD ${OSREV} i386 bootonly CD" \ + -P "Copyright (c) 2004 Theo de Raadt, The OpenBSD project" \ + -p "Theo de Raadt <deraadt@openbsd.org>" \ + -V "OpenBSD/i386 ${OSREV} boot-only CD" \ + -b ${OSREV}/i386/${CDFS} -c ${OSREV}/i386/boot.catalog \ + ${.OBJDIR}/cd-dir + +install: + cp ${CDROM} ${DESTDIR}/snapshot + +clean cleandir: + /bin/rm -f ${CDROM} + rm -rf cd-dir + +.include <bsd.obj.mk> +.include <bsd.subdir.mk> |