amiga boot floppy binaries

This commit is contained in:
chopps 1994-07-30 19:30:30 +00:00
parent fa09856854
commit 5838bf1a48
10 changed files with 199 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# $Id: Makefile,v 1.1 1994/07/30 19:30:30 chopps Exp $
.ifnmake install
SUBDIR= gzip init mkdir mount mount_ados newfs pax sh
.endif
.include <bsd.subdir.mk>

View File

@ -0,0 +1,4 @@
# $Id: Makefile.inc,v 1.1 1994/07/30 19:30:31 chopps Exp $
LDSTATIC= -static
LDFLAGS+= -N

View File

@ -0,0 +1,31 @@
# $Id: Makefile,v 1.1 1994/07/30 19:30:41 chopps Exp $
SRCDIR= ${.CURDIR}/../../../../../gnu/usr.bin/gzip
PROG= gzip
SRCS= gzip.c zip.c deflate.c trees.c bits.c unzip.c inflate.c util.c \
crypt.c lzw.c unlzw.c unlzh.c unpack.c getopt.c
NOMAN=noman
CFLAGS+=-DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDIRENT=1
.if (${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "i386")
SRCS+= match.S
CFLAGS+=-DASMV
.endif
LDSTATIC= -static
LDADD+= -lgnumalloc
DPADD+= /usr/lib/libgnumalloc.a
.if (${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "i386")
match.o: ${SRCDIR}/match.S
$(CPP) -D__NetBSD__ ${SRCDIR}/match.S >_match.s
$(CC) -c _match.s
mv _match.o match.o
rm -f _match.s
.endif
BINDIR= /usr/bin
.PATH: ${SRCDIR}
.include <bsd.prog.mk>

View File

@ -0,0 +1,17 @@
# from: @(#)Makefile 5.3 (Berkeley) 5/11/90
# from: BSDI Id: Makefile,v 1.3 1993/06/14 20:06:22 donn Exp
# $Id: Makefile,v 1.1 1994/07/30 19:30:42 chopps Exp $
PROG= init
SRCS= init.c
NOMAN=
CFLAGS+=-DNOSYSCTL -DLETS_GET_SMALL
DPADD= ${LIBUTIL} ${LIBCRYPT}
LDADD= -lutil -lcrypt
BINMODE=500
BINDIR= /sbin
.PATH: ${.CURDIR}/../../../../../sbin/init
.include <bsd.prog.mk>

View File

@ -0,0 +1,11 @@
# from: @(#)Makefile 5.2 (Berkeley) 5/11/90
# $Id: Makefile,v 1.1 1994/07/30 19:30:44 chopps Exp $
PROG= mkdir
BINDIR=/sbin
NOMAN=noman
.PATH: ${.CURDIR}/../../../../../bin/mkdir
.include <bsd.prog.mk>

View File

@ -0,0 +1,13 @@
# from: @(#)Makefile 5.5 (Berkeley) 5/11/90
# $Id: Makefile,v 1.1 1994/07/30 19:30:45 chopps Exp $
PROG= mount
SRCS= mount.c mount_ufs.c getmntopts.c
CFLAGS+= -DLETS_GET_SMALL
NOMAN=
BINDIR=/sbin
.PATH: ${.CURDIR}/../../../../../sbin/mount
.include <bsd.prog.mk>

View File

@ -0,0 +1,13 @@
# from: @(#)Makefile 5.5 (Berkeley) 5/11/90
# $Id: Makefile,v 1.1 1994/07/30 19:30:47 chopps Exp $
PROG= mount_ados
SRCS= mount_ados.c
CFLAGS+= -DLETS_GET_SMALL
NOMAN=
BINDIR=/sbin
.PATH: ${.CURDIR}/../../../../../sbin/mount_ados
.include <bsd.prog.mk>

View File

@ -0,0 +1,15 @@
# from: @(#)Makefile 8.2 (Berkeley) 3/27/94
# $Id: Makefile,v 1.1 1994/07/30 19:30:48 chopps Exp $
PROG= newfs
SRCS= dkcksum.c getmntopts.c newfs.c mkfs.c
MAN8= newfs.0
MOUNT= ${.CURDIR}/../../../../../sbin/mount
CFLAGS+=-DMFS -I${MOUNT}
.PATH: ${.CURDIR}/../../../../../sbin/newfs ${MOUNT} ${.CURDIR}/../../../../../sbin/disklabel
BINDIR=/sbin
NOMAN=noman
.include <bsd.prog.mk>

View File

@ -0,0 +1,38 @@
# from: @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.1 1994/07/30 19:30:49 chopps Exp $
# To install on versions prior to BSD 4.4 the following may have to be
# defined with CFLAGS +=
#
# -DNET2_STAT Use NET2 or older stat structure. The version of the
# stat structure is easily determined by looking at the
# basic type of an off_t (often defined in the file:
# /usr/include/sys/types.h). If off_t is a long (and is
# NOT A quad) then you must define NET2_STAT.
# This define is important, as if you do have a quad_t
# off_t and define NET2_STAT, pax will compile but will
# NOT RUN PROPERLY.
#
# -DNET2_FTS Use the older NET2 fts. To identify the version,
# examine the file: /usr/include/fts.h. If FTS_COMFOLLOW
# is not defined then you must define NET2_FTS.
# Pax may not compile if this not (un)defined properly.
#
# -DNET2_REGEX Use the older regexp.h not regex.h. The regex version
# is determined by looking at the value returned by
# regexec() (man 3 regexec). If regexec return a 1 for
# success (and NOT a 0 for success) you have the older
# regex routines and must define NET2_REGEX.
# Pax may not compile if this not (un)defined properly.
SRCDIR= ${.CURDIR}/../../../../../bin/pax
PROG= pax
SRCS= ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c ftree.c\
gen_subs.c getoldopt.c options.c pat_rep.c pax.c sel_subs.c tables.c\
tar.c tty_subs.c
NOMAN=noman
BINDIR= /bin
.PATH: ${SRCDIR}
.include <bsd.prog.mk>

View File

@ -0,0 +1,50 @@
# $Id: Makefile,v 1.1 1994/07/30 19:30:51 chopps Exp $
PROG= sh
NOMAN=
SRCS= alias.c builtins.c cd.c echo.c error.c eval.c exec.c expand.c \
input.c jobs.c mail.c main.c memalloc.c miscbltin.c \
mystring.c nodes.c options.c parser.c redir.c show.c \
syntax.c trap.c output.c var.c #histedit.c
OBJS+= init.o arith.o arith_lex.o
LDADD+= -ll #-ledit -ltermcap
DPADD+= ${LIBL} #${LIBEDIT} ${LIBTERMCAP}
LFLAGS= -8 # 8-bit lex scanner for arithmetic
SRCDIR= ${.CURDIR}/../../../../../bin/sh
CFLAGS+=-DSHELL -I. -I${SRCDIR} -DNO_HISTORY
BINDIR=/bin
.PATH: ${SRCDIR} ${SRCDIR}/bltin
CLEANFILES+=\
builtins.c builtins.h init.c mkinit mknodes mksyntax \
nodes.c nodes.h syntax.c syntax.h token.def y.tab.h
.depend parser.o: token.def
token.def: mktokens
sh ${SRCDIR}/mktokens
builtins.h builtins.c: ${SRCDIR}/mkbuiltins ${SRCDIR}/builtins.def
cd ${SRCDIR}; sh mkbuiltins -h ${.OBJDIR}
init.c: mkinit ${SRCS}
./mkinit '${CC} -c ${CFLAGS} init.c' ${.ALLSRC}
touch ${.TARGET}
mkinit: ${LIBCRT0} ${SRCDIR}/mkinit.c ${LIBC} ${DPADD}
${CC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} ${SRCDIR}/mkinit.c -o $@ ${LDADD}
nodes.c nodes.h: mknodes ${SRCDIR}/nodetypes ${SRCDIR}/nodes.c.pat
./mknodes ${SRCDIR}/nodetypes ${SRCDIR}/nodes.c.pat
mknodes: ${LIBCRT0} ${SRCDIR}/mknodes.c ${LIBC} ${DPADD}
${CC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} ${SRCDIR}/mknodes.c -o $@ ${LDADD}
syntax.c syntax.h: mksyntax
./mksyntax
mksyntax: ${LIBCRT0} ${SRCDIR}/mksyntax.c ${SRCDIR}/parser.h ${LIBC} ${DPADD}
${CC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} ${SRCDIR}/mksyntax.c -o $@ ${LDADD}
.include <bsd.prog.mk>