+kc-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)
+
+kc-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
+
+kc-ah-floppy: kc-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
+
+kc-bt-floppy: kc-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
+
+inst1-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 ${INST1_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 ${INST1_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 ${INST1_FILES} >/tmp/filelist; \
+ ls -d ${INST1_DIRS} >>/tmp/filelist; \
+ find ${INST1_TREES} >>/tmp/filelist; \
+ sort -u /tmp/filelist >filelist; \
+ rm /tmp/filelist)
+ df -ik ${MOUNT}
+ umount /dev/${FLOPPY}a
+ fsck /dev/r${FLOPPY}a
+
+inst2-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 ${INST2_FILES} | cpio -pdamuv ${MOUNT})
+ (cd ${DESTDIR}/; \
+ find ${INST2_CPIO} | 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
+