head     1.3;
branch   ;
access   ;
symbols  ;
locks    bin:1.3;
comment  @@;


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.3
log
@Updated by epstein for version 321.
@
text
@#
#	for Inetco	: CFLAGS = -O -DHPCOHERENT
#	for PDP-11	: CFLAGS = -O
#	others		: CFLAGS =
#
CFLAGS = -O
#
#	for PDP-11 and IBM PC:	LFLAGS = -i
#	for Z8000	     :	LFLAGS =
#
LFLAGS = -i
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

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

#
#	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) util.c -DNBLK=8

$(OBJ):	fsck.h
@


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)

@
