Subversion Repositories shark

Rev

Rev 109 | Go to most recent revision | 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
 
2 pj 9
include $(BASE)/config/config.mk
10
 
11
LIBRARY       = fs
12
 
13
OBJS_PATH     = $(BASE)/fs
14
 
15
SRCS=	access.c	\
16
	chdir.c		\
17
	close.c		\
18
	closedir.c	\
19
	dcache.c	\
20
	dentry.c	\
21
	fcntl.c		\
22
	fdevice.c	\
23
	file.c		\
24
	fs.c		\
25
	fstat.c		\
26
	getcwd.c	\
27
	getumask.c	\
28
	inode.c		\
29
	lseek.c		\
30
	mount.c		\
31
	open.c		\
32
	opendir.c	\
33
	read.c		\
34
	readdir.c	\
35
	rwlock.c	\
684 giacomo 36
	rtc.c		\
2 pj 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
 
684 giacomo 65
OTHERINCL += -I.
109 pj 66
 
2 pj 67
install:: all
68
all clean cleanall depend::
69
	make -C msdos $@
70
 
71
include $(BASE)/config/lib.mk
72