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


1.18
date	2001.12.18.10.06.54;	author vandys;	state Exp;
branches;
next	1.17;

1.17
date	2000.03.23.14.48.00;	author vandys;	state Exp;
branches;
next	1.16;

1.16
date	2000.03.03.11.59.38;	author vandys;	state Exp;
branches;
next	1.15;

1.15
date	2000.03.03.09.30.25;	author vandys;	state Exp;
branches;
next	1.14;

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

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

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

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

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

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

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

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

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

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

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

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

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

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


desc
@Makefile
@


1.18
log
@Add support for preallocating contiguous files.
Fix exposure to invalid arguments in stat().
Add info on file allocation so we can determine sector address
	of a given file from stat() results.
@
text
@COPTS=-Wall -DDEBUG -g
OBJS=main.o fat.o node.o dir.o open.o rw.o stat.o fat16.o fat12.o fat32.o
OUT=dos

include ../../makefile.all

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

install: all
	strip dos
	cp dos $(ROOT)/boot
@


1.17
log
@Makefile reorg; include master source is in vsta/src.  Centralize
common parameters.
@
text
@d1 1
a1 1
COPTS=-Wall -DDEBUG
@


1.16
log
@Add FAT32 support.
@
text
@d1 1
a1 5
CC=gcc
LD=ld
INCS=-I../../../include
CFLAGS=-Wall -DDEBUG $(INCS) -O
LDFLAGS=-L../../lib
d3 1
a3 1
LIBS=-lsrv
d5 1
a5 3
all: dos
.c.o:
	$(CC) $(CFLAGS) -c $*.c
d9 1
a9 7
	$(LD) $(LDFLAGS) -o dos ../../lib/crt0srv.o $(OBJS) $(LIBS)

clean:
	rm -f *.o

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


1.15
log
@Modularize FAT support in preparation for FAT32
@
text
@d1 7
a7 7
CC= gcc
LD= ld
INCS= -I../../../include
CFLAGS= -Wall -DDEBUG $(INCS) -O
LDFLAGS= -L../../lib
OBJS= main.o fat.o node.o dir.o open.o rw.o stat.o fat16.o fat12.o
LIBS= -lsrv
@


1.14
log
@Convert to -lusr
@
text
@d6 1
a6 1
OBJS= main.o fat.o node.o dir.o open.o rw.o stat.o
d14 1
@


1.13
log
@Convert to ABC "Async Buffer Cache" library
@
text
@d7 1
a7 1
LIBS= -lusr -lc_s
@


1.12
log
@The great src/ renaming
@
text
@d6 1
a6 1
OBJS= main.o fat.o block.o node.o dir.o open.o rw.o stat.o
@


1.11
log
@Fix makefiles for shared libraries
@
text
@d3 1
a3 1
INCS= -I../../include -I../..
d5 1
a5 1
LDFLAGS= -L../../libc
d14 1
a14 1
	$(LD) $(LDFLAGS) -o dos ../../libc/crt0srv.o $(OBJS) $(LIBS)
d24 1
a24 1
	cp dos ../../boot
@


1.10
log
@Do clean under clobber
@
text
@d7 1
a7 1
LIBS= -lusr -lc
@


1.9
log
@Add clean, clobber, install targets
@
text
@d19 1
a19 1
clobber:
@


1.8
log
@Turn on -Wall
@
text
@d5 1
a5 1
LDFLAGS= -L../../libc -L../../lib
d17 8
a24 2
	del *.o
	del dos
@


1.7
log
@Source reorg
@
text
@d4 1
a4 1
CFLAGS= -DDEBUG $(INCS) -O
@


1.6
log
@Use del, not rm
@
text
@d3 1
a3 1
INCS= -I../include -I..
d5 1
a5 1
LDFLAGS= -L../libc -L../lib
d14 1
a14 1
	$(LD) $(LDFLAGS) -o dos ../libc/crt0srv.o $(OBJS) $(LIBS)
@


1.5
log
@Fix make clean
@
text
@d17 2
a18 1
	rm -f *.o dos
@


1.4
log
@Boot args work
@
text
@d15 3
@


1.3
log
@namer stuff in libc
@
text
@d14 1
a14 1
	$(LD) $(LDFLAGS) -o dos ../libc/crt0.o $(OBJS) $(LIBS)
@


1.2
log
@Start using optimizer
@
text
@d7 1
a7 1
LIBS= ../namer/libnamer.a -lusr -lc
@


1.1
log
@Initial revision
@
text
@d4 1
a4 1
CFLAGS= -DDEBUG $(INCS) -g
@
