Rev 45 | 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 stdio sub-library |
||
3 | # |
||
4 | |||
5 | ifndef BASE |
||
6 | BASE=../.. |
||
7 | endif |
||
45 | pj | 8 | |
2 | pj | 9 | include $(BASE)/config/config.mk |
10 | |||
11 | LIBRARY = c |
||
12 | |||
13 | OBJS_PATH = $(BASE)/libc/stdio |
||
14 | |||
15 | #perror.c |
||
16 | # already into kernel |
||
17 | #tmpfile.c |
||
18 | # do not work |
||
19 | # sprintf.c vsprintf.c sscanf.c vsscanf.c |
||
20 | # into the ll starte |
||
21 | |||
22 | SRCS= asprintf.c \ |
||
23 | clrerr.c \ |
||
24 | fclose.c \ |
||
25 | fdopen.c \ |
||
26 | feof.c \ |
||
27 | ferror.c \ |
||
28 | fflush.c \ |
||
29 | fgetc.c \ |
||
30 | fgetln.c \ |
||
31 | fgetpos.c \ |
||
32 | fgets.c \ |
||
33 | fileno.c \ |
||
34 | findfp.c \ |
||
35 | flags.c \ |
||
36 | fopen.c \ |
||
37 | fprintf.c \ |
||
38 | fpurge.c \ |
||
39 | fputc.c \ |
||
40 | fputs.c \ |
||
41 | fread.c \ |
||
42 | freopen.c \ |
||
43 | fscanf.c \ |
||
44 | fseek.c \ |
||
45 | fsetpos.c \ |
||
46 | ftell.c \ |
||
47 | funopen.c \ |
||
48 | fvwrite.c \ |
||
49 | fwalk.c \ |
||
50 | fwrite.c \ |
||
51 | getc.c \ |
||
52 | getchar.c \ |
||
53 | gets.c \ |
||
54 | getw.c \ |
||
55 | makebuf.c \ |
||
56 | mktemp.c \ |
||
57 | printf.c \ |
||
58 | putc.c \ |
||
59 | putchar.c \ |
||
60 | puts.c \ |
||
61 | putw.c \ |
||
62 | refill.c \ |
||
63 | remove.c \ |
||
64 | rewind.c \ |
||
65 | rget.c \ |
||
66 | scanf.c \ |
||
67 | setbuf.c \ |
||
68 | setbuffe.c \ |
||
69 | setvbuf.c \ |
||
70 | snprintf.c \ |
||
71 | stdio.c \ |
||
72 | tempnam.c \ |
||
73 | tmpnam.c \ |
||
74 | ungetc.c \ |
||
75 | vasprint.c \ |
||
76 | vfprintf.c \ |
||
77 | vfscanf.c \ |
||
78 | vprintf.c \ |
||
79 | vscanf.c \ |
||
80 | vsnprint.c \ |
||
81 | wbuf.c \ |
||
82 | wsetup.c |
||
83 | |||
84 | OBJS= $(patsubst %.c,%.o,$(SRCS)) |
||
85 | |||
86 | C_DEF += -D_THREAD_SAFE |
||
87 | |||
88 | include $(BASE)/config/sublib.mk |