diff options
-rw-r--r-- | distrib/amd64/cdfs-emu/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/distrib/amd64/cdfs-emu/Makefile b/distrib/amd64/cdfs-emu/Makefile new file mode 100644 index 00000000000..d2a892f4d6a --- /dev/null +++ b/distrib/amd64/cdfs-emu/Makefile @@ -0,0 +1,32 @@ +# $OpenBSD: Makefile,v 1.1 2004/08/23 04:47:12 deraadt Exp $ + +TOP= ${.CURDIR}/.. + +.include "${TOP}/Makefile.inc" + +CDFS= cdrom${REV}.fs +CDROM= cd${REV}.iso + +all: ${CDROM} + +${CDROM}: + -rm -rf ${.OBJDIR}/cd-dir + mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/amd64 + cp ${.OBJDIR}/../ramdisk_cd/${CDFS} ${.OBJDIR}/cd-dir/${OSREV}/amd64 + mkhybrid -a -R -T -L -d -D -N -o ${.OBJDIR}/${CDROM} -v -v \ + -A "OpenBSD ${OSREV} amd64 bootonly CD" \ + -P "Copyright (c) 2004 Theo de Raadt, The OpenBSD project" \ + -p "Theo de Raadt <deraadt@openbsd.org>" \ + -V "OpenBSD/amd64 ${OSREV} boot-only CD" \ + -b ${OSREV}/amd64/${CDFS} -c ${OSREV}/amd64/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> |