+kcopy-kernels: ../sys/i386/conf/GENERICAH ../sys/i386/conf/GENERICBT
+ (cd ../sys/compile; rm -rf GENERICAH GENERICBT)
+ (cd ../sys/i386/conf; config GENERICAH; config GENERICBT)
+ (cd ../sys/compile/GENERICAH; ${MAKE} depend; ${MAKE} all; \
+ install -c -o root -g wheel -m 755 386bsd \
+ ${DESTDIR}/386bsd.GENERICAH)
+ (cd ../sys/compile/GENERICBT; ${MAKE} depend; ${MAKE} all; \
+ install -c -o root -g wheel -m 755 386bsd \
+ ${DESTDIR}/386bsd.GENERICBT)
+
+kcopy-floppy:
+ disklabel -w -r ${FLOPPY} floppy5 /usr/mdec/fdboot /usr/mdec/bootfd
+ newfs -b 4096 -c 80 -f 512 -i 16384 -m 0 -o space r${FLOPPY}a floppy5
+ mount /dev/${FLOPPY}a ${MOUNT}
+ chown root.wheel ${MOUNT}/.
+ chmod 755 ${MOUNT}/.
+ (cd ${DESTDIR}/; \
+ ls -d ${KC_DIRS} | cpio -pdamuv ${MOUNT})
+ (cd ${MOUNT}/dev; \
+ sh ${DESTDIR}/dev/MAKEDEV std; \
+ rm -rf fd; \
+ sh ${DESTDIR}/dev/MAKEDEV fd0 wd0 sd0 sd1)
+ (cd ${DESTDIR}/; \
+ ls ${KC_FILES} | cpio -pdamuv ${MOUNT})
+ install -c -o root -g wheel -m 755 etc.i386/kc.profile \
+ ${MOUNT}/.profile
+
+kcopy-ah-floppy:
+ ${MAKE} kcopy-floppy
+ (cd ../sys/compile/GENERICAH; \
+ install -c -o root -g wheel -m 755 386bsd ${MOUNT}/)
+ df -ik ${MOUNT}
+ umount /dev/${FLOPPY}a
+ fsck /dev/r${FLOPPY}a
+ dd if=/dev/r${FLOPPY}a of=${RELEASEDIR}/floppies/kcopy-ah-floppy \
+ bs=15b count=160
+ gzip --no-name -9 -c ${RELEASEDIR}/floppies/kcopy-ah-floppy \
+ >${RELEASEDIR}/floppies/kcopy-ah-floppy.gz
+
+kcopy-bt-floppy:
+ ${MAKE} kcopy-floppy
+ (cd ../sys/compile/GENERICBT; \
+ install -c -o root -g wheel -m 755 386bsd ${MOUNT}/)
+ df -ik ${MOUNT}
+ umount /dev/${FLOPPY}a
+ fsck /dev/r${FLOPPY}a
+ dd if=/dev/r${FLOPPY}a of=${RELEASEDIR}/floppies/kcopy-bt-floppy \
+ bs=15b count=160
+ gzip --no-name -9 -c ${RELEASEDIR}/floppies/kcopy-bt-floppy \
+ >${RELEASEDIR}/floppies/kcopy-bt-floppy.gz
+
+filesystem-floppy:
+ disklabel -w -r ${FLOPPY} floppy5 /usr/mdec/fdboot /usr/mdec/bootfd
+ newfs -b 4096 -c 80 -f 512 -i 10240 -m 0 -o space r${FLOPPY}a floppy5
+ mount /dev/${FLOPPY}a ${MOUNT}
+ chown root.wheel ${MOUNT}/.
+ chmod 755 ${MOUNT}/.
+ (cd ${DESTDIR}/; \
+ ls -d ${FILESYSTEM_DIRS} | cpio -pdamuv ${MOUNT})
+ (cd ${MOUNT}/dev; \
+ sh ${DESTDIR}/dev/MAKEDEV std; \
+ rm -rf fd; \
+ sh ${DESTDIR}/dev/MAKEDEV fd0 fd1 wd0 sd0 sd1; \
+ rm -f rfd1[b-z] fd1[b-z])
+ (cd ${DESTDIR}/; \
+ ls ${FILESYSTEM_FILES} | cpio -pdamuv ${MOUNT})
+ install -c -o root -g wheel -m 755 etc.i386/inst1.profile \
+ ${MOUNT}/.profile
+ install -c -o root -g wheel -m 755 etc.i386/inst1.install \
+ ${MOUNT}/install
+ (cd ${MOUNT}/; \
+ ls ${FILESYSTEM_FILES} >/tmp/filelist; \
+ ls -d ${FILESYSTEM_DIRS} >>/tmp/filelist; \
+ find ${FILESYSTEM_TREES} >>/tmp/filelist; \
+ sort -u /tmp/filelist >filelist; \
+ rm /tmp/filelist)
+ df -ik ${MOUNT}
+ umount /dev/${FLOPPY}a
+ fsck /dev/r${FLOPPY}a
+ dd if=/dev/r${FLOPPY}a of=${RELEASEDIR}/floppies/filesystem-floppy \
+ bs=15b count=160
+ gzip --no-name -9 -c ${RELEASEDIR}/floppies/filesystem-floppy \
+ >${RELEASEDIR}/floppies/filesystem-floppy.gz
+
+cpio-floppy:
+ disklabel -w -r ${FLOPPY} floppy5 /usr/mdec/fdboot /usr/mdec/bootfd
+ newfs -b 4096 -c 80 -f 512 -i 65536 -m 0 -o space r${FLOPPY}a floppy5
+ mount /dev/${FLOPPY}a ${MOUNT}
+ chown root.wheel ${MOUNT}/.
+ chmod 755 ${MOUNT}/.
+ (cd ${DESTDIR}/; \
+ ls ${CPIO_FILES} | cpio -pdamuv ${MOUNT})
+ (cd ${DESTDIR}/; \
+ (find ${CPIO_CPIO}; ls -d ${CPIO_CPIO_DIRS}) | \
+ cpio -oav | gzip -9 >${MOUNT}/inst2.cpio.gz)
+ install -c -o root -g wheel -m 755 etc.i386/inst2.profile \
+ ${MOUNT}/.profile
+ install -c -o root -g wheel -m 755 etc.i386/inst2.install \
+ ${MOUNT}/install
+ df -ik ${MOUNT}
+ umount /dev/${FLOPPY}a
+ fsck /dev/r${FLOPPY}a
+ dd if=/dev/r${FLOPPY}a of=${RELEASEDIR}/floppies/cpio-floppy \
+ bs=15b count=160
+ gzip --no-name -9 -c ${RELEASEDIR}/floppies/cpio-floppy \
+ >${RELEASEDIR}/floppies/cpio-floppy.gz
+
+bin-tarball:
+ (cd ${DESTDIR}; \
+ tar cf - . | gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/bin_tgz.)
+
+src-tarball:
+ (cd ${DESTDIR}; \
+ tar --exclude usr/src/${CRYPT_LIB} -cf - usr/src | gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/src_tgz.)
+
+ssrc-tarball:
+ (cd ${DESTDIR}; \
+ tar -cf - usr/src/${CRYPT_LIB} | gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/ssrc_tgz.)
+
+des-tarball:
+ rm -rf ${RELEASEDIR}/tmpdes
+ mkdir ${RELEASEDIR}/tmpdes
+ for i in ${CRYPT_DIRS}; do \
+ cd ${RELEASEDIR}/tmpdes; \
+ mkdir $$i; \
+ chown ${BINOWN}.${GRPOWN} $$i; \
+ chmod 755 $$i; \
+ done
+ # This is ugly, it force installs a /usr/lib/libcrypt.a so
+ # that the other makes will be built with des.
+ #
+ (cd ${.CURDIR}/../${CRYPT_LIB}; \
+ unset NOCRYPT; \
+ DESTDIR=; export DESTDIR; \
+ ${MAKE} cleandir obj depend all install; \
+ NOMAN=noman; export NOMAN; \
+ DESTDIR=${RELEASEDIR}/tmpdes; export DESTDIR; \
+ ${MAKE} cleandir obj depend all install)
+ for i in ${CRYPT_SRCS}; do \
+ unset NOCRYPT; \
+ DESTDIR=${RELEASEDIR}/tmpdes; export DESTDIR; \
+ NOMAN=noman; export NOMAN; \
+ cd ${.CURDIR}/../$$i; \
+ ${MAKE} cleandir obj depend all install; \
+ done
+ (cd ${RELEASEDIR}/tmpdes; \
+ tar cf - . | gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/des_tgz.)
+ rm -rf ${RELEASEDIR}/tmpdes
+