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 fcallfmt.$O\
103 get9root.$O\
104 getcallerpc-$OBJTYPE.$O\
105 getenv.$O\
106 getfields.$O\
107 getnetconn.$O\
108 getns.$O\
109 getuser.$O\
110 getwd.$O\
111 jmp.$O\
112 lrand.$O\
113 lnrand.$O\
114 main.$O\
115 malloc.$O\
116 malloctag.$O\
117 mallocz.$O\
118 nan.$O\
119 needsrcquote.$O\
120 needstack.$O\
121 netcrypt.$O\
122 netmkaddr.$O\
123 notify.$O\
124 nrand.$O\
125 nulldir.$O\
126 open.$O\
127 opentemp.$O\
128 pipe.$O\
129 post9p.$O\
130 postnote.$O\
131 qlock.$O\
132 quote.$O\
133 rand.$O\
134 read9pmsg.$O\
135 readcons.$O\
136 readn.$O\
137 rfork.$O\
138 searchpath.$O\
139 seek.$O\
140 sendfd.$O\
141 sleep.$O\
142 strdup.$O\
143 strecpy.$O\
144 sysfatal.$O\
145 syslog.$O\
146 sysname.$O\
147 time.$O\
148 tokenize.$O\
149 truerand.$O\
150 u16.$O\
151 u32.$O\
152 u64.$O\
153 unsharp.$O\
154 wait.$O\
155 waitpid.$O\
157 OFILES=\
158 $LIB9OFILES\
159 $FMTOFILES\
160 $UTFOFILES\
162 HFILES=\
163 $PLAN9/include/lib9.h\
165 <$PLAN9/src/mksyslib
167 %.$O: fmt/%.c
168 $CC $CFLAGS -Ifmt fmt/$stem.c
170 %.$O: utf/%.c
171 $CC $CFLAGS utf/$stem.c