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 fmtlock.$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 _p9proc.$O\
71 announce.$O\
72 argv0.$O\
73 atexit.$O\
74 atoi.$O\
75 atol.$O\
76 atoll.$O\
77 atnotify.$O\
78 await.$O\
79 cistrcmp.$O\
80 cistrncmp.$O\
81 cistrstr.$O\
82 cleanname.$O\
83 convD2M.$O\
84 convM2D.$O\
85 convM2S.$O\
86 convS2M.$O\
87 create.$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 fcallfmt.$O\
102 ffork-$SYSNAME.$O\
103 get9root.$O\
104 getcallerpc-$OBJTYPE.$O\
105 getenv.$O\
106 getfields.$O\
107 getns.$O\
108 getuser.$O\
109 getwd.$O\
110 jmp.$O\
111 lrand.$O\
112 lnrand.$O\
113 lock.$O\
114 main.$O\
115 malloc.$O\
116 malloctag.$O\
117 mallocz.$O\
118 nan.$O\
119 needsrcquote.$O\
120 netmkaddr.$O\
121 notify.$O\
122 nrand.$O\
123 nulldir.$O\
124 open.$O\
125 opentemp.$O\
126 pipe.$O\
127 post9p.$O\
128 postnote.$O\
129 qlock.$O\
130 quote.$O\
131 read9pmsg.$O\
132 readn.$O\
133 rendez-$SYSNAME.$O\
134 rfork.$O\
135 seek.$O\
136 sendfd.$O\
137 sleep.$O\
138 strecpy.$O\
139 sysfatal.$O\
140 tas-$OBJTYPE.$O\
141 time.$O\
142 tokenize.$O\
143 u16.$O\
144 u32.$O\
145 u64.$O\
146 unsharp.$O\
147 wait.$O\
148 waitpid.$O\
150 OFILES=\
151 $LIB9OFILES\
152 $FMTOFILES\
153 $UTFOFILES\
155 HFILES=\
156 $PLAN9/include/lib9.h\
158 <$PLAN9/src/mksyslib
160 %.$O: fmt/%.c
161 $CC $CFLAGS -Ifmt fmt/$stem.c
163 %.$O: utf/%.c
164 $CC $CFLAGS utf/$stem.c