Rev 64 | 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 \ |
||
36 | stat.c \ |
||
37 | super.c \ |
||
38 | truncate.c \ |
||
39 | umask.c \ |
||
40 | umount.c \ |
||
41 | unlink.c \ |
||
42 | utime.c \ |
||
43 | write.c |
||
44 | |||
45 | OBJS= $(patsubst %.c,%.o,$(SRCS)) |
||
46 | |||
47 | # if you want compile: |
||
48 | # |
||
49 | # without the paranoia checks (checks for data structure status/overwriting) |
||
50 | # compile without the -D_PARANOIA |
||
51 | # |
||
52 | # without the internals checks (made with assertions) use the |
||
53 | # -DNDEBUG command line switch |
||
54 | # |
||
55 | |||
56 | #for debug |
||
57 | #C_DEF += -D_PARANOIA |
||
58 | |||
59 | # for NO debug |
||
60 | C_DEF += -D_PARANOIA -DNDEBUG |
||
61 | |||
62 | C_MAC += -imacros $(BASE)/include/fs/fsconf.h |
||
63 | |||
109 | pj | 64 | OTHERINCL += -I$(BASE)/drivers/oldchar/include |
65 | |||
2 | pj | 66 | install:: all |
67 | all clean cleanall depend:: |
||
68 | make -C msdos $@ |
||
69 | |||
70 | include $(BASE)/config/lib.mk |
||
71 |