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