Subversion Repositories shark

Rev

Rev 3 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 pj 1
#
2
# The filesystems library
3
#
4
 
5
ifndef BASE
6
BASE=..
7
endif
45 pj 8
OSLIB=$(BASE)/oslib
9
 
2 pj 10
include $(BASE)/config/config.mk
11
 
12
LIBRARY       = fs
13
 
14
OBJS_PATH     = $(BASE)/fs
15
 
16
SRCS=	access.c	\
17
	chdir.c		\
18
	close.c		\
19
	closedir.c	\
20
	dcache.c	\
21
	dentry.c	\
22
	fcntl.c		\
23
	fdevice.c	\
24
	file.c		\
25
	fs.c		\
26
	fstat.c		\
27
	getcwd.c	\
28
	getumask.c	\
29
	inode.c		\
30
	lseek.c		\
31
	mount.c		\
32
	open.c		\
33
	opendir.c	\
34
	read.c		\
35
	readdir.c	\
36
	rwlock.c	\
37
	stat.c		\
38
	super.c		\
39
	truncate.c	\
40
	umask.c		\
41
	umount.c        \
42
	unlink.c	\
43
	utime.c		\
44
	write.c
45
 
46
OBJS=	$(patsubst %.c,%.o,$(SRCS))
47
 
48
# if you want compile:
49
#
50
# without the paranoia checks (checks for data structure status/overwriting)
51
# compile without the -D_PARANOIA
52
#
53
# without the internals checks (made with assertions) use the
54
# -DNDEBUG command line switch
55
#
56
 
57
#for debug
58
#C_DEF += -D_PARANOIA
59
 
60
# for NO debug
61
C_DEF += -D_PARANOIA -DNDEBUG
62
 
63
C_MAC += -imacros $(BASE)/include/fs/fsconf.h
64
 
65
install:: all
66
all clean cleanall depend::
67
	make -C msdos $@
68
 
69
include $(BASE)/config/lib.mk
70