Blob


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