head     1.6;
branch   ;
access   ;
symbols  ;
locks    ;
comment  @@;


1.6
date     92.03.31.08.23.29;  author bin;  state Exp;
branches ;
next     1.5;

1.5
date     92.03.26.15.14.03;  author bin;  state Exp;
branches ;
next     1.4;

1.4
date     92.03.26.15.01.24;  author bin;  state Exp;
branches ;
next     1.3;

1.3
date     91.07.29.07.44.07;  author bin;  state Exp;
branches ;
next     1.2;

1.2
date     91.03.15.18.33.07;  author bin;  state Exp;
branches ;
next     1.1;

1.1
date     91.02.08.13.26.09;  author bin;  state Exp;
branches ;
next     ;


desc
@initial version provided byinitial version provided by epstein
@


1.6
log
@update by cef for 2/386
@
text
@#
#	for Inetco	: CFLAGS = -O -DHPCOHERENT
#	for PDP-11	: CFLAGS = -O
#	others		: CFLAGS =
#

CFLAGS = -OA
#
#	for PDP-11 and IBM PC:	LFLAGS = -i
#	for Z8000	     :	LFLAGS =
#
LFLAGS =
OBJ=main.o init.o phase1.o phase1b.o phase2.o phase3.o phase4.o phase5.o \
	phase6.o cleanup.o util.o link.o virtual.o is_fs.o printf.o

fsck:	$(OBJ)
	$(CC) $(CFLAGS) $(LFLAGS) -s -o fsck $(OBJ)

install: fsck
	su root cp fsck /etc/fsck
	su root chmog 511 bin bin /etc/fsck

#
#	for IBM PC Coherent executable, use:  -DNBLK=1
#	for others, use			   :  -DNBLK=8
#
#	If you are running out of malloc space, try lowering the
#	value of NBLK (no smaller than 1).
#

util.o: util.c
	$(CC) -c $(CFLAGS) $< -DNBLK=8

$(OBJ):	fsck.h
@


1.5
log
@changes by cef for large model and auto-build large vs. small
@
text
@d13 2
a14 2
OBJ=main.o init.o phase1.o phase1b.o phase2.o phase3.o phase4.o phase5.o\
	phase6.o cleanup.o util.o printf.o link.o virtual.o is_fs.o
d17 1
a17 1
	$(CC) $(CFLAGS) $(LFLAGS) -so fsck $(OBJ)
@


1.4
log
@update by cef for large model suppt
@
text
@d7 1
a7 1
CFLAGS = -OA -DSMALLMODEL=0
@


1.3
log
@Updated by epstein for version 321.
@
text
@d6 2
a7 1
CFLAGS = -O
d12 1
a12 1
LFLAGS = -i
d17 1
a17 1
	$(CC) $(CFLAGS) $(LFLAGS) -o fsck $(OBJ)
d19 4
d32 1
a32 1
	$(CC) -c $(CFLAGS) util.c -DNBLK=8
@


1.2
log
@bob h added destdir, ownership, permissions...
@
text
@a6 1
DESTDIR = /interim/etc/
d16 2
a17 4
	$(CC) $(CFLAGS) $(LFLAGS) -o $(DESTDIR)fsck $(OBJ)
	su root chown bin $(DESTDIR)$@@
	su root chgrp bin $(DESTDIR)$@@
	su root chmod 511 $(DESTDIR)$@@
@


1.1
log
@Initial revision
@
text
@d7 1
d17 4
a20 2
	$(CC) $(CFLAGS) $(LFLAGS) -o fsck $(OBJ)

@
