[comp.os.minix] V1.3 posting #41 - amoeba/fs/*

ast@cs.vu.nl (Andy Tanenbaum) (07/18/88)

: This is a shar archive.  Extract with sh, not csh.
: This archive ends with exit, so do not worry about trailing junk.
: --------------------------- cut here --------------------------
PATH=/bin:/usr/bin:/usr/ucb
echo Extracting 'makefile'
sed 's/^X//' > 'makefile' << '+ END-OF-FILE ''makefile'
X# This makefile is used for both the PC and AT.  If you run out of space
X# while compiling or linking, you may have to use the -T. flag, or even
X# rm /lib/cem and /lib/cpp while running asld.  See the makefiles in
X# kernel/IBM_PC.
X
XCFLAGS= -DAM_KERNEL -Di8088 -w -F -I../../fs
XH=../../h
XF=../../fs
XL=/usr/lib
X
XOBJ =	main.s open.s read.s write.s pipe.s device.s \
X	path.s mount.s link.s super.s inode.s cache.s filedes.s \
X	stadir.s protect.s time.s misc.s utility.s table.s putc.s
X
Xfs:	makefile   $L/head.s $(OBJ) $L/libc.a $L/end.s
X	@echo "Start linking FS.  "
X	@asld  -o fs $L/head.s $(OBJ) $L/libc.a $L/end.s
X	@echo "FS done.  "
X
Xclean:
X	rm -f $(OBJ)
X
Xcache.s:	$F/const.h $F/type.h $H/const.h $H/type.h
Xcache.s:	$H/error.h
Xcache.s:	$F/buf.h
Xcache.s:	$F/file.h
Xcache.s:	$F/fproc.h
Xcache.s:	$F/glo.h
Xcache.s:	$F/inode.h
Xcache.s:	$F/super.h
X	$(CC) $(CFLAGS) -c $F/cache.c
X
Xdevice.s:	$F/const.h $F/type.h $H/const.h $H/type.h
Xdevice.s:	$H/com.h
Xdevice.s:	$H/error.h
Xdevice.s:	$F/dev.h
Xdevice.s:	$F/file.h
Xdevice.s:	$F/fproc.h
Xdevice.s:	$F/glo.h
Xdevice.s:	$F/inode.h
Xdevice.s:	$F/param.h
X	$(CC) $(CFLAGS) -c $F/device.c
X
Xfiledes.s:	$F/const.h $F/type.h $H/const.h $H/type.h
Xfiledes.s:	$H/error.h
Xfiledes.s:	$F/file.h
Xfiledes.s:	$F/fproc.h
Xfiledes.s:	$F/glo.h
Xfiledes.s:	$F/inode.h
X	$(CC) $(CFLAGS) -c $F/filedes.c
X
Xinode.s:	$F/const.h $F/type.h $H/const.h $H/type.h
Xinode.s:	$H/error.h
Xinode.s:	$F/buf.h
Xinode.s:	$F/file.h
Xinode.s:	$F/fproc.h
Xinode.s:	$F/glo.h
Xinode.s:	$F/inode.h
Xinode.s:	$F/super.h
X	$(CC) $(CFLAGS) -c $F/inode.c
X
Xlink.s:		$F/const.h $F/type.h $H/const.h $H/type.h
Xlink.s:		$H/error.h
Xlink.s:		$F/buf.h
Xlink.s:		$F/file.h
Xlink.s:		$F/fproc.h
Xlink.s:		$F/glo.h
Xlink.s:		$F/inode.h
Xlink.s:		$F/param.h
X	$(CC) $(CFLAGS) -c $F/link.c
X
Xmain.s:		$F/const.h $F/type.h $H/const.h $H/type.h
Xmain.s:		$H/callnr.h
Xmain.s:		$H/com.h
Xmain.s:		$H/error.h
Xmain.s:		$F/buf.h
Xmain.s:		$F/file.h
Xmain.s:		$F/fproc.h
Xmain.s:		$F/glo.h
Xmain.s:		$F/inode.h
Xmain.s:		$F/param.h
Xmain.s:		$F/super.h
X	$(CC) $(CFLAGS) -c $F/main.c
X
Xmisc.s:		$F/const.h $F/type.h $H/const.h $H/type.h
Xmisc.s:		$H/callnr.h
Xmisc.s:		$H/com.h
Xmisc.s:		$H/error.h
Xmisc.s:		$F/buf.h
Xmisc.s:		$F/file.h
Xmisc.s:		$F/fproc.h
Xmisc.s:		$F/glo.h
Xmisc.s:		$F/inode.h
Xmisc.s:		$F/param.h
Xmisc.s:		$F/super.h
X	$(CC) $(CFLAGS) -c $F/misc.c
X
Xmount.s:	$F/const.h $F/type.h $H/const.h $H/type.h
Xmount.s:	$H/error.h
Xmount.s:	$F/buf.h
Xmount.s:	$F/file.h
Xmount.s:	$F/fproc.h
Xmount.s:	$F/glo.h
Xmount.s:	$F/inode.h
Xmount.s:	$F/param.h
Xmount.s:	$F/super.h
X	$(CC) $(CFLAGS) -c $F/mount.c
X
Xopen.s:		$F/const.h $F/type.h $H/const.h $H/type.h
Xopen.s:		$H/callnr.h
Xopen.s:		$H/error.h
Xopen.s:		$F/buf.h
Xopen.s:		$F/file.h
Xopen.s:		$F/fproc.h
Xopen.s:		$F/glo.h
Xopen.s:		$F/inode.h
Xopen.s:		$F/param.h
X	$(CC) $(CFLAGS) -c $F/open.c
X
Xpath.s:		$F/const.h $F/type.h $H/const.h $H/type.h
Xpath.s:		$H/error.h
Xpath.s:		$F/buf.h
Xpath.s:		$F/file.h
Xpath.s:		$F/fproc.h
Xpath.s:		$F/glo.h
Xpath.s:		$F/inode.h
Xpath.s:		$F/super.h
X	$(CC) $(CFLAGS) -c $F/path.c
X
Xpipe.s:		$F/const.h $F/type.h $H/const.h $H/type.h
Xpipe.s:		$H/callnr.h
Xpipe.s:		$H/com.h
Xpipe.s:		$H/error.h
Xpipe.s:		$H/signal.h
Xpipe.s:		$F/file.h
Xpipe.s:		$F/fproc.h
Xpipe.s:		$F/glo.h
Xpipe.s:		$F/inode.h
Xpipe.s:		$F/param.h
X	$(CC) $(CFLAGS) -c $F/pipe.c
X
Xprotect.s:	$F/const.h $F/type.h $H/const.h $H/type.h
Xprotect.s:	$H/error.h
Xprotect.s:	$F/buf.h
Xprotect.s:	$F/file.h
Xprotect.s:	$F/fproc.h
Xprotect.s:	$F/glo.h
Xprotect.s:	$F/inode.h
Xprotect.s:	$F/param.h
Xprotect.s:	$F/super.h
X	$(CC) $(CFLAGS) -c $F/protect.c
X
Xputc.s:		$F/const.h $F/type.h $H/const.h $H/type.h
Xputc.s:		$H/com.h
X	$(CC) $(CFLAGS) -c $F/putc.c
X
Xread.s:		$F/const.h $F/type.h $H/const.h $H/type.h
Xread.s:		$H/com.h
Xread.s:		$H/error.h
Xread.s:		$F/buf.h
Xread.s:		$F/file.h
Xread.s:		$F/fproc.h
Xread.s:		$F/glo.h
Xread.s:		$F/inode.h
Xread.s:		$F/param.h
Xread.s:		$F/super.h
X	$(CC) $(CFLAGS) -c $F/read.c
X
Xstadir.s:	$F/const.h $F/type.h $H/const.h $H/type.h
Xstadir.s:	$H/error.h
Xstadir.s:	$H/stat.h
Xstadir.s:	$F/file.h
Xstadir.s:	$F/fproc.h
Xstadir.s:	$F/glo.h
Xstadir.s:	$F/inode.h
Xstadir.s:	$F/param.h
X	$(CC) $(CFLAGS) -c $F/stadir.c
X
Xsuper.s:	$F/const.h $F/type.h $H/const.h $H/type.h
Xsuper.s:	$H/error.h
Xsuper.s:	$F/buf.h
Xsuper.s:	$F/inode.h
Xsuper.s:	$F/super.h
X	$(CC) $(CFLAGS) -c $F/super.c
X
Xtable.s:	$F/const.h $F/type.h $H/const.h $H/type.h
Xtable.s:	$H/com.h
Xtable.s:	$H/callnr.h
Xtable.s:	$H/error.h
Xtable.s:	$H/stat.h
Xtable.s:	$F/buf.h
Xtable.s:	$F/dev.h
Xtable.s:	$F/file.h
Xtable.s:	$F/fproc.h
Xtable.s:	$F/glo.h
Xtable.s:	$F/inode.h
Xtable.s:	$F/super.h
X	$(CC) $(CFLAGS) -c $F/table.c
X
Xtime.s:		$F/const.h $F/type.h $H/const.h $H/type.h
Xtime.s:		$H/callnr.h
Xtime.s:		$H/com.h
Xtime.s:		$H/error.h
Xtime.s:		$F/file.h
Xtime.s:		$F/fproc.h
Xtime.s:		$F/glo.h
Xtime.s:		$F/inode.h
Xtime.s:		$F/param.h
X	$(CC) $(CFLAGS) -c $F/time.c
X
Xutility.s:	$F/const.h $F/type.h $H/const.h $H/type.h
Xutility.s:	$H/com.h
Xutility.s:	$H/error.h
Xutility.s:	$F/buf.h
Xutility.s:	$F/file.h
Xutility.s:	$F/fproc.h
Xutility.s:	$F/glo.h
Xutility.s:	$F/inode.h
Xutility.s:	$F/param.h
Xutility.s:	$F/super.h
X	$(CC) $(CFLAGS) -c $F/utility.c
X
Xwrite.s:	$F/const.h $F/type.h $H/const.h $H/type.h
Xwrite.s:	$H/error.h
Xwrite.s:	$F/buf.h
Xwrite.s:	$F/file.h
Xwrite.s:	$F/fproc.h
Xwrite.s:	$F/glo.h
Xwrite.s:	$F/inode.h
Xwrite.s:	$F/super.h
X	$(CC) $(CFLAGS) -c $F/write.c
+ END-OF-FILE makefile
chmod 'u=rw,g=r,o=r' 'makefile'
set `wc -c 'makefile'`
count=$1
case $count in
5281)	:;;
*)	echo 'Bad character count in ''makefile' >&2
		echo 'Count should be 5281' >&2
esac
exit 0