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 get9root.$O\
106 getcallerpc-$OBJTYPE.$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 seek.$O\
143 sendfd.$O\
144 sleep.$O\
145 strdup.$O\
146 strecpy.$O\
147 sysfatal.$O\
148 syslog.$O\
149 sysname.$O\
150 time.$O\
151 tm2sec.$O\
152 tokenize.$O\
153 truerand.$O\
154 u16.$O\
155 u32.$O\
156 u64.$O\
157 unsharp.$O\
158 wait.$O\
159 waitpid.$O\
160 write.$O\
161 zoneinfo.$O\
163 OFILES=\
164 $LIB9OFILES\
165 $FMTOFILES\
166 $UTFOFILES\
168 HFILES=\
169 $PLAN9/include/lib9.h\
171 <$PLAN9/src/mksyslib
173 %.$O: fmt/%.c
174 $CC $CFLAGS -Ifmt fmt/$stem.c
176 %.$O: utf/%.c
177 $CC $CFLAGS utf/$stem.c
179 XLIB=$PLAN9/lib/$LIB
181 testfmt: testfmt.$O $XLIB
182 $LD -o $target testfmt.$O
184 testfltfmt: testfltfmt.$O $XLIB
185 $LD -o $target testfltfmt.$O
187 testprint: testprint.$O $XLIB
188 $LD -o $target testprint.$O
190 # debugging only - should go away (5/22/2006)
191 testgoogfmt: testfltfmt.$O googfmt.$O $XLIB
192 $LD -o $target testfltfmt.$O googfmt.$O
194 testgoogprint: testprint.$O googfmt.$O $XLIB
195 $LD -o $target testprint.$O googfmt.$O
197 ctime.$O tm2sec.$O zoneinfo.$O: zoneinfo.h