]> git.lizzy.rs Git - plan9front.git/blob - sys/src/libstdio/mkfile
dpost prologue: update /radicalex to fix square displacement (thanks umbraticus and...
[plan9front.git] / sys / src / libstdio / mkfile
1 </$objtype/mkfile
2
3 LIB=/$objtype/lib/libstdio.a
4 OFILES=\
5         _IO_getc.$O\
6         _IO_putc.$O\
7         clearerr.$O\
8         dtoa.$O\
9         fclose.$O\
10         fdopen.$O\
11         feof.$O\
12         ferror.$O\
13         fflush.$O\
14         fgetc.$O\
15         fgetpos.$O\
16         fgets.$O\
17         fileno.$O\
18         fopen.$O\
19         fprintf.$O\
20         fputc.$O\
21         fputs.$O\
22         fread.$O\
23         freopen.$O\
24         fscanf.$O\
25         fseek.$O\
26         fseeko.$O\
27         fsetpos.$O\
28         ftell.$O\
29         ftello.$O\
30         fwrite.$O\
31         getc.$O\
32         gets.$O\
33         printf.$O\
34         putc.$O\
35         puts.$O\
36         rewind.$O\
37         scanf.$O\
38         sclose.$O\
39         setbuf.$O\
40         setvbuf.$O\
41         snprintf.$O\
42         sopenr.$O\
43         sopenw.$O\
44         sprintf.$O\
45         sscanf.$O\
46         tmpfile.$O\
47         tmpnam.$O\
48         ungetc.$O\
49         vfprintf.$O\
50         vfscanf.$O\
51         vprintf.$O\
52         vsnprintf.$O\
53         vsprintf.$O\
54
55 HFILES=/sys/include/stdio.h\
56         iolib.h\
57
58 UPDATE=\
59         mkfile\
60         $HFILES\
61         ${OFILES:%.$O=%.c}\
62         ${LIB:/$objtype/%=/386/%}\
63
64 </sys/src/cmd/mksyslib
65 # this code really can't handle any flow-analysis warnings
66 CFLAGS=
67
68 test:V: $OFILES
69         ar vu libstdio.a $OFILES