head	1.14;
access;
symbols
	V1_6_7:1.14
	V1_6_6:1.14
	V1_6_5:1.14
	V1_6_4:1.14
	V1_6_3:1.14
	V1_6_2:1.13
	V1_6_1:1.12
	V1_6:1.12
	V1_5_2:1.12
	V1_4_1:1.10
	V1_4:1.10
	V1_3_3:1.8
	V1_3_1:1.8
	V1_3:1.8
	V1_2:1.7
	V1_1:1.7;
locks; strict;
comment	@# @;


1.14
date	2000.03.23.14.48.00;	author vandys;	state Exp;
branches;
next	1.13;

1.13
date	98.12.10.13.50.23;	author vandys;	state Exp;
branches;
next	1.12;

1.12
date	96.11.02.12.51.02;	author vandys;	state Exp;
branches;
next	1.11;

1.11
date	96.06.02.21.33.50;	author vandys;	state Exp;
branches;
next	1.10;

1.10
date	95.08.01.23.50.09;	author vandys;	state Exp;
branches;
next	1.9;

1.9
date	95.03.04.23.43.15;	author vandys;	state Exp;
branches;
next	1.8;

1.8
date	94.04.06.21.55.37;	author vandys;	state Exp;
branches;
next	1.7;

1.7
date	93.11.16.02.46.36;	author vandys;	state Exp;
branches;
next	1.6;

1.6
date	93.10.03.20.37.47;	author vandys;	state Exp;
branches;
next	1.5;

1.5
date	93.09.18.17.33.37;	author vandys;	state Exp;
branches;
next	1.4;

1.4
date	93.08.29.22.26.48;	author vandys;	state Exp;
branches;
next	1.3;

1.3
date	93.08.29.21.20.25;	author vandys;	state Exp;
branches;
next	1.2;

1.2
date	93.08.29.18.29.59;	author vandys;	state Exp;
branches;
next	1.1;

1.1
date	93.08.26.09.00.32;	author vandys;	state Exp;
branches;
next	;


desc
@Makefile
@


1.14
log
@Makefile reorg; include master source is in vsta/src.  Centralize
common parameters.
@
text
@COPTS=-DDEBUG -Wall
OBJS=main.o alloc.o secio.o node.o rw.o open.o stat.o
OUT=vstafs

include ../../makefile.all

vstafs: $(OBJS)
	rm -f vstafs
	$(LD) $(LDFLAGS) -o vstafs $(CRT0SRV) $(OBJS) -lusr -lsrv

install: vstafs
	strip vstafs
	cp vstafs $(ROOT)/boot
@


1.13
log
@Remove executable before creating... flushes it from the page cache.
@
text
@d1 1
a1 4
CC=gcc
LD=ld
INCS=-I../../../include
CFLAGS=-O -DDEBUG -Wall $(INCS)
d3 1
a3 2
LIBS=-L../../lib -lusr -lsrv
CRT0=../../lib/crt0srv.o
d5 1
a5 2
.c.o:
	$(CC) $(CFLAGS) -c $*.c
d9 1
a9 7
	$(LD) -o vstafs $(CRT0) $(OBJS) $(LIBS)

clean:
	rm -f *.o

clobber: clean
	rm -f vstafs
d13 1
a13 1
	cp vstafs ../../../boot
@


1.12
log
@Add O_DEL flag to permit busy files to be scheduled for deletion
@
text
@d13 1
@


1.11
log
@Convert to ABC
@
text
@d6 1
a6 1
LIBS=-L../../lib -lusr -lc_s
@


1.10
log
@Use optimizer, link for boot server
@
text
@d5 1
a5 1
OBJS=main.o alloc.o secio.o buf.o node.o rw.o open.o stat.o
@


1.9
log
@The great src/ renaming
@
text
@d4 1
a4 1
CFLAGS=-DDEBUG -Wall $(INCS)
d6 2
a7 1
LIBS=-L../../lib -lusr -lc
d13 1
a13 1
	$(LD) -o vstafs ../../lib/crt0.o $(OBJS) $(LIBS)
@


1.8
log
@Add clean, clobber, install targets
@
text
@d3 2
a4 2
INCS=-I../../include
CFLAGS=-DDEBUG -Wall $(INCS) -g
d6 1
a6 1
LIBS=-L../../libc -lusr -lc
d12 1
a12 1
	$(LD) -o vstafs ../../libc/crt0.o $(OBJS) $(LIBS)
d22 1
a22 1
	cp vstafs ../../boot
@


1.7
log
@Source reorg
@
text
@d6 1
a6 1
LIBS=-L../../libc -L../../lib -lusr -lc
d15 8
a22 2
	del *.o
	del vstafs
@


1.6
log
@Add clean
@
text
@d3 1
a3 1
INCS=-I../include -I..
d6 1
a6 1
LIBS=-L../libc -L../lib -lusr -lc
d12 1
a12 1
	$(LD) -o vstafs ../libc/crt0.o $(OBJS) $(LIBS)
@


1.5
log
@Add -DDEBUG
@
text
@d13 4
@


1.4
log
@Clean up -Wall warnings
@
text
@d4 1
a4 1
CFLAGS=-Wall $(INCS) -g
@


1.3
log
@Add stat.o
@
text
@d4 1
a4 1
CFLAGS=$(INCS) -g
@


1.2
log
@VSTa-ize compile
@
text
@d5 1
a5 1
OBJS=main.o alloc.o secio.o buf.o node.o rw.o open.o
@


1.1
log
@Initial revision
@
text
@d2 5
a6 2
CFLAGS=-I.. -Ivsta -Ivsta/include -g
OBJS=main.o alloc.o secio.o buf.o node.o rw.o
d8 3
d12 1
a12 1
	$(CC) $(CFLAGS) -o vstafs $(OBJS)
@
