| ---
tmkfile (2730B)
---
1 <$PLAN9/src/mkhdr
2
3 LIB=lib9.a
4
5 NUM=\
6 charstod.$O\
7 pow10.$O\
8
9 # Could add errfmt, but we want to pick it up from lib9 instead.
10 FMTOFILES=\
11 dofmt.$O\
12 fltfmt.$O\
13 fmt.$O\
14 fmtfd.$O\
15 fmtfdflush.$O\
16 fmtlocale.$O\
17 fmtlock2.$O\
18 fmtnull.$O\
19 fmtprint.$O\
20 fmtquote.$O\
21 fmtrune.$O\
22 fmtstr.$O\
23 fmtvprint.$O\
24 fprint.$O\
25 frexp.$O\
26 nan64.$O\
27 print.$O\
28 runefmtstr.$O\
29 runeseprint.$O\
30 runesmprint.$O\
31 runesnprint.$O\
32 runesprint.$O\
33 runevseprint.$O\
34 runevsmprint.$O\
35 runevsnprint.$O\
36 seprint.$O\
37 smprint.$O\
38 snprint.$O\
39 sprint.$O\
40 strtod.$O\
41 vfprint.$O\
42 vseprint.$O\
43 vsmprint.$O\
44 vsnprint.$O\
45 $NUM\
46
47 UTFOFILES=\
48 rune.$O\
49 runestrcat.$O\
50 runestrchr.$O\
51 runestrcmp.$O\
52 runestrcpy.$O\
53 runestrdup.$O\
54 runestrlen.$O\
55 runestrecpy.$O\
56 runestrncat.$O\
57 runestrncmp.$O\
58 runestrncpy.$O\
59 runestrrchr.$O\
60 runestrstr.$O\
61 runetype.$O\
62 utfecpy.$O\
63 utflen.$O\
64 utfnlen.$O\
65 utfrrune.$O\
66 utfrune.$O\
67 utfutf.$O\
68
69 LIB9OFILES=\
70 _exits.$O\
71 _p9dialparse.$O\
72 _p9dir.$O\
73 announce.$O\
74 argv0.$O\
75 atexit.$O\
76 atoi.$O\
77 atol.$O\
78 atoll.$O\
79 atnotify.$O\
80 await.$O\
81 cistrcmp.$O\
82 cistrncmp.$O\
83 cistrstr.$O\
84 cleanname.$O\
85 convD2M.$O\
86 convM2D.$O\
87 convM2S.$O\
88 convS2M.$O\
89 crypt.$O\
90 ctime.$O\
91 dial.$O\
92 dirfstat.$O\
93 dirfwstat.$O\
94 dirmodefmt.$O\
95 dirstat.$O\
96 dirwstat.$O\
97 dup.$O\
98 encodefmt.$O\
99 errstr.$O\
100 exec.$O\
101 execl.$O\
102 exitcode.$O\
103 fcallfmt.$O\
104 frand.$O\
105 get9root.$O\
106 getcallerpc.$O\
107 getenv.$O\
108 getfields.$O\
109 getnetconn.$O\
110 getns.$O\
111 getuser.$O\
112 getwd.$O\
113 jmp.$O\
114 lrand.$O\
115 lnrand.$O\
116 main.$O\
117 malloc.$O\
118 malloctag.$O\
119 mallocz.$O\
120 nan.$O\
121 needsrcquote.$O\
122 needstack.$O\
123 netcrypt.$O\
124 netmkaddr.$O\
125 notify.$O\
126 nrand.$O\
127 nulldir.$O\
128 open.$O\
129 opentemp.$O\
130 pin.$O\
131 pipe.$O\
132 post9p.$O\
133 postnote.$O\
134 qlock.$O\
135 quote.$O\
136 rand.$O\
137 read9pmsg.$O\
138 readcons.$O\
139 readn.$O\
140 rfork.$O\
141 searchpath.$O\
142 sendfd.$O\
143 sleep.$O\
144 strdup.$O\
145 strecpy.$O\
146 sysfatal.$O\
147 syslog.$O\
148 sysname.$O\
149 time.$O\
150 tm2sec.$O\
151 tokenize.$O\
152 truerand.$O\
153 u16.$O\
154 u32.$O\
155 u64.$O\
156 unsharp.$O\
157 wait.$O\
158 waitpid.$O\
159 write.$O\
160 zoneinfo.$O\
161
162 OFILES=\
163 $LIB9OFILES\
164 $FMTOFILES\
165 $UTFOFILES\
166
167 HFILES=\
168 $PLAN9/include/lib9.h\
169
170 <$PLAN9/src/mksyslib
171
172 %.$O: fmt/%.c
173 $CC $CFLAGS -Ifmt fmt/$stem.c
174
175 %.$O: utf/%.c
176 $CC $CFLAGS utf/$stem.c
177
178 XLIB=$PLAN9/lib/$LIB
179
180 testfmt: testfmt.$O $XLIB
181 $LD -o $target testfmt.$O
182
183 testfltfmt: testfltfmt.$O $XLIB
184 $LD -o $target testfltfmt.$O
185
186 testprint: testprint.$O $XLIB
187 $LD -o $target testprint.$O
188
189 # debugging only - should go away (5/22/2006)
190 testgoogfmt: testfltfmt.$O googfmt.$O $XLIB
191 $LD -o $target testfltfmt.$O googfmt.$O
192
193 testgoogprint: testprint.$O googfmt.$O $XLIB
194 $LD -o $target testprint.$O googfmt.$O
195
196 ctime.$O tm2sec.$O zoneinfo.$O: zoneinfo.h |