]> git.lizzy.rs Git - plan9front.git/blob - sys/src/ape/lib/fmt/mkfile
sdiahci, sdodin: avoid calling kproc() while holding ilock()
[plan9front.git] / sys / src / ape / lib / fmt / mkfile
1 APE=/sys/src/ape
2 <$APE/config
3
4 LIB=/$objtype/lib/ape/libfmt.a
5
6 NUM=\
7         charstod.$O\
8         pow10.$O\
9
10 OFILES=\
11         dofmt.$O\
12         errfmt.$O\
13         fltfmt.$O\
14         fmt.$O\
15         fmtfd.$O\
16         fmtfdflush.$O\
17         fmtlock.$O\
18         fmtprint.$O\
19         fmtquote.$O\
20         fmtrune.$O\
21         fmtstr.$O\
22         fmtvprint.$O\
23         fprint.$O\
24         nan64.$O\
25         print.$O\
26         runefmtstr.$O\
27         runeseprint.$O\
28         runesmprint.$O\
29         runesnprint.$O\
30         runesprint.$O\
31         runevseprint.$O\
32         runevsmprint.$O\
33         runevsnprint.$O\
34         seprint.$O\
35         smprint.$O\
36         snprint.$O\
37         sprint.$O\
38         strtod.$O\
39         vfprint.$O\
40         vseprint.$O\
41         vsmprint.$O\
42         vsnprint.$O\
43         werrstr.$O\
44         $NUM\
45
46 HFILES=\
47         fmtdef.h\
48         /sys/include/ape/fmt.h\
49
50 </sys/src/cmd/mksyslib
51
52 $NAN.$O: nan.h
53 strtod.$O: nan.h
54
55 test: $LIB test.$O
56         $CC -o test test.$O $LIB -lutf
57
58
59 CFLAGS=-c -D_POSIX_SOURCE -D_PLAN9_SOURCE -D_BSD_EXTENSION