Subject: A proposal to aid in building i386 boot floppies
To: current-users <current-users@sun-lamp.cs.berkeley.edu>
From: Scott Reynolds <scottr@Plexus.COM>
List: current-users
Date: 07/14/1994 18:30:51
Since it's necessary to have static binaries for a boot floppy, I'd like
to propose that two directories be added to ...i386/floppy: ftp and
more. All we need is a Makefile in each and a corresponding change to
the Makefile in the i386/floppy directory.
This was a 3 minute job to create and test, and since it takes up
virtually no space in the source tree, it seems well worth it.
Oh, and thanks to Christos for the mkboot script, which is a wonderful
tool for putting things together!
Scott Reynolds
Assistant System Administrator
Technology Group, Inc.
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# floppy.makefile.pch
# ftp/Makefile
# more/Makefile
#
echo x - floppy.makefile.pch
sed 's/^X//' >floppy.makefile.pch << 'END-of-floppy.makefile.pch'
X*** Makefile.ORIG Mon Apr 18 03:45:53 1994
X***************
X*** 1,7 ****
X # $Id: Makefile,v 1.3 1994/06/14 04:19:43 cgd Exp $
X
X .ifnmake install
X! SUBDIR= fsck ftp init more mount reboot sh tar test umount
X .endif
X
X .include <bsd.subdir.mk>
X--- 1,7 ----
X # $Id: Makefile,v 1.3 1994/06/14 04:19:43 cgd Exp $
X
X .ifnmake install
X! SUBDIR= fsck init mount reboot sh tar test umount
X .endif
X
X .include <bsd.subdir.mk>
END-of-floppy.makefile.pch
echo x - ftp/Makefile
mkdir ftp
sed 's/^X//' >ftp/Makefile << 'END-of-ftp/Makefile'
X# from: @(#)Makefile 5.11 (Berkeley) 5/11/90
X# $Id: Makefile,v 1.2 1993/07/31 15:22:29 mycroft Exp $
X
XSRCDIR= ${.CURDIR}/../../../../../usr.bin/ftp
X
XPROG= ftp
XSRCS= cmds.c cmdtab.c ftp.c glob.c main.c ruserpass.c domacro.c
X
X.PATH: ${SRCDIR}
XNOMAN=noman
X
X.include <bsd.prog.mk>
END-of-ftp/Makefile
echo x - more/Makefile
mkdir more
sed 's/^X//' >more/Makefile << 'END-of-more/Makefile'
X# from: @(#)Makefile 5.6 (Berkeley) 3/12/91
X# $Id: Makefile,v 1.6 1994/04/16 08:14:50 andrew Exp $
X
XSRCDIR= ${.CURDIR}/../../../../../usr.bin/more
X
XPROG= more
XCFLAGS+=-I${SRCDIR} -DREGEX -DTERMIOS
XSRCS= ch.c command.c decode.c filename.c help.c input.c line.c \
X linenum.c main.c option.c os.c output.c position.c prim.c \
X screen.c signal.c tags.c ttyin.c
XLDADD+= -ltermcap
XDPADD+= ${LIBTERM}
X
X.PATH: ${SRCDIR}
XNOMAN=noman
X
X.include <bsd.prog.mk>
END-of-more/Makefile
exit
------------------------------------------------------------------------------