Remove extra leading tabs that made this thing blow up.

This commit is contained in:
Justin T. Gibbs 1995-01-13 08:06:55 +00:00
parent 9711e78d94
commit d8ef68098b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5570

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.74 1995/01/13 05:43:03 jkh Exp $
# $Id: Makefile,v 1.75 1995/01/13 06:44:23 jkh Exp $
#
FLOPPY= fd0
@ -11,108 +11,108 @@ DDBS= 15k
DDCOUNT= 80
.else
FDLABEL= fd1440
DDBS= 18k
DDCOUNT= 80
.endif
DDBS= 18k
DDCOUNT= 80
.endif
MNT= /mnt
MNT= /mnt
CPIO1= basename cat chmod cksum cp cu date dd df dmesg echo ed expr hostname
CPIO1+= kill ln ls mkdir mt mv rcp rm rmdir sh sleep stty sync tar test tip [
CPIO1+= -sh badsect chown clri disklabel dump dmesg fdisk fsck getopt ifconfig
CPIO1+= init mknod mount mount_cd9660 mount_msdos mount_nfs ncftp newfs ping pwd
CPIO1+= reboot restore slattach swapon umount route
CPIO1+= rdump rrestore halt ft
CPIO1+= ftp rsh sed telnet rlogin grep
CPIO1= basename cat chmod cksum cp cu date dd df dmesg echo ed expr hostname
CPIO1+= kill ln ls mkdir mt mv rcp rm rmdir sh sleep stty sync tar test tip [
CPIO1+= -sh badsect chown clri disklabel dump dmesg fdisk fsck getopt ifconfig
CPIO1+= init mknod mount mount_cd9660 mount_msdos mount_nfs ncftp newfs ping pwd
CPIO1+= reboot restore slattach swapon umount route
CPIO1+= rdump rrestore halt ft
CPIO1+= ftp rsh sed telnet rlogin grep
CPIO2= etc/services etc/protocols
CPIO2= etc/services etc/protocols
# bininst MUST be the last file on the cpio floppy. It's used to detect
# a successful extraction.
CPIO3= miscfuncs.sh instdist.sh netinst.sh adduser.sh bininst
# bininst MUST be the last file on the cpio floppy. It's used to detect
# a successful extraction.
CPIO3= miscfuncs.sh instdist.sh netinst.sh adduser.sh bininst
CPIO4= /usr/sbin/tzsetup
CPIO4B= tzsetup
CPIO4= /usr/sbin/tzsetup
CPIO4B= tzsetup
# Somewhat on the rough side...
CLEANFILES+= *.o *.c *.cache *.mk *.lo ${CPIO1} *.flp *.gz
CLEANFILES+= boot_flp cpio_flp_1
# Somewhat on the rough side...
CLEANFILES+= *.o *.c *.cache *.mk *.lo ${CPIO1} *.flp *.gz
CLEANFILES+= boot_flp cpio_flp_1
MTREE_DIR= ${.CURDIR}/../etc/mtree
MTREE_DIR= ${.CURDIR}/../etc/mtree
ZIPNSPLIT= gzip --no-name -9 -c | split -b 240640 -
ZIPNSPLIT= gzip --no-name -9 -c | split -b 240640 -
hierarchy:
mtree -deU -f ${MTREE_DIR}/BSD.root.dist -p ${DESTDIR}/
mtree -deU -f ${MTREE_DIR}/BSD.var.dist -p ${DESTDIR}/var
mtree -deU -f ${MTREE_DIR}/BSD.usr.dist -p ${DESTDIR}/usr
.if defined(MAKE_LOCAL)
mtree -deU -f ${MTREE_DIR}/BSD.local.dist -p ${DESTDIR}/usr/local
.endif
rm -f ${DESTDIR}/sys
ln -s usr/src/sys ${DESTDIR}/sys
hierarchy:
mtree -deU -f ${MTREE_DIR}/BSD.root.dist -p ${DESTDIR}/
mtree -deU -f ${MTREE_DIR}/BSD.var.dist -p ${DESTDIR}/var
mtree -deU -f ${MTREE_DIR}/BSD.usr.dist -p ${DESTDIR}/usr
.if defined(MAKE_LOCAL)
mtree -deU -f ${MTREE_DIR}/BSD.local.dist -p ${DESTDIR}/usr/local
.endif
rm -f ${DESTDIR}/sys
ln -s usr/src/sys ${DESTDIR}/sys
kernel: ${.CURDIR}/../sys/i386/conf/GENERIC
if [ ! -f ${.CURDIR}/../sys/compile/GENERIC ]; then \
(cd ${.CURDIR}/../sys/i386/conf; config GENERIC); \
(cd ${.CURDIR}/../sys/compile/GENERIC; \
${MAKE} depend; ${MAKE} all; ) \
fi
kernel: ${.CURDIR}/../sys/i386/conf/GENERIC
if [ ! -f ${.CURDIR}/../sys/compile/GENERIC ]; then \
(cd ${.CURDIR}/../sys/i386/conf; config GENERIC); \
(cd ${.CURDIR}/../sys/compile/GENERIC; \
${MAKE} depend; ${MAKE} all; ) \
fi
boot_12.flp:
(cd ${.CURDIR}; EVIL_FLOPPY=yes ${MAKE} boot.flp)
mv boot.flp boot_12.flp
gzip -9 -c < boot_12.flp > boot_12.flp.gz &
boot_12.flp:
(cd ${.CURDIR}; EVIL_FLOPPY=yes ${MAKE} boot.flp)
mv boot.flp boot_12.flp
gzip -9 -c < boot_12.flp > boot_12.flp.gz &
boot_144.flp:
(cd ${.CURDIR}; ${MAKE} boot.flp)
mv boot.flp boot_144.flp
gzip -9 -c < boot_144.flp > boot_144.flp.gz &
boot_144.flp:
(cd ${.CURDIR}; ${MAKE} boot.flp)
mv boot.flp boot_144.flp
gzip -9 -c < boot_144.flp > boot_144.flp.gz &
boot.flp:
crunchgen ${.CURDIR}/boot_flp.conf
${MAKE} -f boot_flp.mk objs exe NOCRYPT=yes
-umount ${MNT}
-umount /dev/${FLOPPY}
# echo y | fdformat ${FLOPPY}
disklabel -w -B \
-b ${DESTDIR}/usr/mdec/fdboot -s ${DESTDIR}/usr/mdec/bootfd \
/dev/r${FLOPPY} ${FDLABEL}
newfs -c 80 -b 4096 -f 512 -i 9000 -m 0 -o space /dev/r${FLOPPY}
mount -o async /dev/${FLOPPY} ${MNT}
mkdir ${MNT}/dev ${MNT}/stand ${MNT}/mnt
.if !defined(EVIL_FLOPPY)
strip -x ${.CURDIR}/../sys/compile/GENERIC/kernel
.else
strip ${.CURDIR}/../sys/compile/GENERIC/kernel
.endif
cp ${.CURDIR}/../sys/compile/GENERIC/kernel ${MNT}/kernel
cp ${DESTDIR}/usr/mdec/sdboot ${DESTDIR}/usr/mdec/bootsd ${MNT}/stand
( cd ${DESTDIR}/dev ; \
ls console tty ttyv1 null zero \
sd[0123][a-h] wd[0123][a-h] fd[01] \
rsd[0123][a-h] rwd[0123][a-h] rfd[01] \
| cpio -dumpv ${MNT}/dev \
)
gzip -9 < boot_flp > ${MNT}/stand/sysinstall
chmod 755 ${MNT}/stand/sysinstall
ln ${MNT}/stand/sysinstall ${MNT}/stand/newfs
ln ${MNT}/stand/sysinstall ${MNT}/stand/gzip
ln ${MNT}/stand/sysinstall ${MNT}/stand/fsck
.if !defined(EVIL_FLOPPY)
install -m 400 -c ${.CURDIR}/../COPYRIGHT ${MNT}/COPYRIGHT
install -m 400 -c ${.CURDIR}/../share/FAQ/diskspace.FAQ \
${MNT}/DISKSPACE.FAQ
.endif
install -m 400 -c ${.CURDIR}/../share/FAQ/RELNOTES.FreeBSD \
${MNT}/RELNOTES.FreeBSD
install -m 400 -c ${.CURDIR}/../share/FAQ/TROUBLESHOOTING \
${MNT}/TROUBLESHOOTING
install -m 400 -c ${.CURDIR}/../share/FAQ/README-2.0 ${MNT}/README
touch ${MNT}/this_is_boot_flp
-umount ${MNT}
fsck /dev/r${FLOPPY}
dd if=/dev/r${FLOPPY} bs=${DDBS} count=${DDCOUNT} of=boot.flp
boot.flp:
crunchgen ${.CURDIR}/boot_flp.conf
${MAKE} -f boot_flp.mk objs exe NOCRYPT=yes
-umount ${MNT}
-umount /dev/${FLOPPY}
# echo y | fdformat ${FLOPPY}
disklabel -w -B \
-b ${DESTDIR}/usr/mdec/fdboot -s ${DESTDIR}/usr/mdec/bootfd \
/dev/r${FLOPPY} ${FDLABEL}
newfs -c 80 -b 4096 -f 512 -i 9000 -m 0 -o space /dev/r${FLOPPY}
mount -o async /dev/${FLOPPY} ${MNT}
mkdir ${MNT}/dev ${MNT}/stand ${MNT}/mnt
.if !defined(EVIL_FLOPPY)
strip -x ${.CURDIR}/../sys/compile/GENERIC/kernel
.else
strip ${.CURDIR}/../sys/compile/GENERIC/kernel
.endif
cp ${.CURDIR}/../sys/compile/GENERIC/kernel ${MNT}/kernel
cp ${DESTDIR}/usr/mdec/sdboot ${DESTDIR}/usr/mdec/bootsd ${MNT}/stand
( cd ${DESTDIR}/dev ; \
ls console tty ttyv1 null zero \
sd[0123][a-h] wd[0123][a-h] fd[01] \
rsd[0123][a-h] rwd[0123][a-h] rfd[01] \
| cpio -dumpv ${MNT}/dev \
)
gzip -9 < boot_flp > ${MNT}/stand/sysinstall
chmod 755 ${MNT}/stand/sysinstall
ln ${MNT}/stand/sysinstall ${MNT}/stand/newfs
ln ${MNT}/stand/sysinstall ${MNT}/stand/gzip
ln ${MNT}/stand/sysinstall ${MNT}/stand/fsck
.if !defined(EVIL_FLOPPY)
install -m 400 -c ${.CURDIR}/../COPYRIGHT ${MNT}/COPYRIGHT
install -m 400 -c ${.CURDIR}/../share/FAQ/diskspace.FAQ \
${MNT}/DISKSPACE.FAQ
.endif
install -m 400 -c ${.CURDIR}/../share/FAQ/RELNOTES.FreeBSD \
${MNT}/RELNOTES.FreeBSD
install -m 400 -c ${.CURDIR}/../share/FAQ/TROUBLESHOOTING \
${MNT}/TROUBLESHOOTING
install -m 400 -c ${.CURDIR}/../share/FAQ/README-2.0 ${MNT}/README
touch ${MNT}/this_is_boot_flp
-umount ${MNT}
fsck /dev/r${FLOPPY}
dd if=/dev/r${FLOPPY} bs=${DDBS} count=${DDCOUNT} of=boot.flp
df -k /dev/r${FLOPPY}
cpio.flp: