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 date.$O\
92 dial.$O\
93 dirfstat.$O\
94 dirfwstat.$O\
95 dirmodefmt.$O\
96 dirread.$O\
97 dirstat.$O\
98 dirwstat.$O\
99 dup.$O\
100 encodefmt.$O\
101 errstr.$O\
102 exec.$O\
103 execl.$O\
104 exitcode.$O\
105 fcallfmt.$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 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 tokenize.$O\
152 truerand.$O\
153 u16.$O\
154 u32.$O\
155 u64.$O\
156 unsharp.$O\
157 wait.$O\
158 waitpid.$O\
160 OFILES=\
161 $LIB9OFILES\
162 $FMTOFILES\
163 $UTFOFILES\
165 HFILES=\
166 $PLAN9/include/lib9.h\
168 <$PLAN9/src/mksyslib
170 %.$O: fmt/%.c
171 $CC $CFLAGS -Ifmt fmt/$stem.c
173 %.$O: utf/%.c
174 $CC $CFLAGS utf/$stem.c
176 XLIB=$PLAN9/lib/$LIB
178 testfmt: testfmt.$O $XLIB
179 $LD -o $target testfmt.$O
181 testfltfmt: testfltfmt.$O $XLIB
182 $LD -o $target testfltfmt.$O
184 testprint: testprint.$O $XLIB
185 $LD -o $target testprint.$O
187 # debugging only - should go away (5/22/2006)
188 testgoogfmt: testfltfmt.$O googfmt.$O $XLIB
189 $LD -o $target testfltfmt.$O googfmt.$O
191 testgoogprint: testprint.$O googfmt.$O $XLIB
192 $LD -o $target testprint.$O googfmt.$O