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 fmtlock2.$O\
17 fmtprint.$O\
18 fmtquote.$O\
19 fmtrune.$O\
20 fmtstr.$O\
21 fmtvprint.$O\
22 fprint.$O\
23 nan64.$O\
24 print.$O\
25 runefmtstr.$O\
26 runeseprint.$O\
27 runesmprint.$O\
28 runesnprint.$O\
29 runesprint.$O\
30 runevseprint.$O\
31 runevsmprint.$O\
32 runevsnprint.$O\
33 seprint.$O\
34 smprint.$O\
35 snprint.$O\
36 sprint.$O\
37 strtod.$O\
38 vfprint.$O\
39 vseprint.$O\
40 vsmprint.$O\
41 vsnprint.$O\
42 $NUM\
44 UTFOFILES=\
45 rune.$O\
46 runestrcat.$O\
47 runestrchr.$O\
48 runestrcmp.$O\
49 runestrcpy.$O\
50 runestrdup.$O\
51 runestrlen.$O\
52 runestrecpy.$O\
53 runestrncat.$O\
54 runestrncmp.$O\
55 runestrncpy.$O\
56 runestrrchr.$O\
57 runestrstr.$O\
58 runetype.$O\
59 utfecpy.$O\
60 utflen.$O\
61 utfnlen.$O\
62 utfrrune.$O\
63 utfrune.$O\
64 utfutf.$O\
66 LIB9OFILES=\
67 _exits.$O\
68 _p9dialparse.$O\
69 _p9dir.$O\
70 announce.$O\
71 argv0.$O\
72 atexit.$O\
73 atoi.$O\
74 atol.$O\
75 atoll.$O\
76 atnotify.$O\
77 await.$O\
78 cistrcmp.$O\
79 cistrncmp.$O\
80 cistrstr.$O\
81 cleanname.$O\
82 convD2M.$O\
83 convM2D.$O\
84 convM2S.$O\
85 convS2M.$O\
86 create.$O\
87 crypt.$O\
88 ctime.$O\
89 date.$O\
90 dial.$O\
91 dirfstat.$O\
92 dirfwstat.$O\
93 dirmodefmt.$O\
94 dirread.$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 get9root.$O\
105 getcallerpc-$OBJTYPE.$O\
106 getenv.$O\
107 getfields.$O\
108 getnetconn.$O\
109 getns.$O\
110 getuser.$O\
111 getwd.$O\
112 jmp.$O\
113 lrand.$O\
114 lnrand.$O\
115 main.$O\
116 malloc.$O\
117 malloctag.$O\
118 mallocz.$O\
119 nan.$O\
120 needsrcquote.$O\
121 needstack.$O\
122 netcrypt.$O\
123 netmkaddr.$O\
124 notify.$O\
125 nrand.$O\
126 nulldir.$O\
127 open.$O\
128 opentemp.$O\
129 pipe.$O\
130 post9p.$O\
131 postnote.$O\
132 qlock.$O\
133 quote.$O\
134 rand.$O\
135 read9pmsg.$O\
136 readcons.$O\
137 readn.$O\
138 rfork.$O\
139 searchpath.$O\
140 seek.$O\
141 sendfd.$O\
142 sleep.$O\
143 strdup.$O\
144 strecpy.$O\
145 sysfatal.$O\
146 syslog.$O\
147 sysname.$O\
148 time.$O\
149 tokenize.$O\
150 truerand.$O\
151 u16.$O\
152 u32.$O\
153 u64.$O\
154 unsharp.$O\
155 wait.$O\
156 waitpid.$O\
158 OFILES=\
159 $LIB9OFILES\
160 $FMTOFILES\
161 $UTFOFILES\
163 HFILES=\
164 $PLAN9/include/lib9.h\
166 <$PLAN9/src/mksyslib
168 %.$O: fmt/%.c
169 $CC $CFLAGS -Ifmt fmt/$stem.c
171 %.$O: utf/%.c
172 $CC $CFLAGS utf/$stem.c