Blob


1 PLAN9=../..
2 <$PLAN9/src/mkhdr
4 LIB=lib9.a
6 NUM=\
7 charstod.$O\
8 pow10.$O\
10 # Could add errfmt, but we want to pick it up from lib9 instead.
11 FMTOFILES=\
12 dofmt.$O\
13 fltfmt.$O\
14 fmt.$O\
15 fmtfd.$O\
16 fmtfdflush.$O\
17 fmtlock.$O\
18 fmtprint.$O\
19 fmtquote.$O\
20 fmtrune.$O\
21 fmtstr.$O\
22 fmtvprint.$O\
23 fprint.$O\
24 nan64.$O\
25 print.$O\
26 runefmtstr.$O\
27 runeseprint.$O\
28 runesmprint.$O\
29 runesnprint.$O\
30 runesprint.$O\
31 runevseprint.$O\
32 runevsmprint.$O\
33 runevsnprint.$O\
34 seprint.$O\
35 smprint.$O\
36 snprint.$O\
37 sprint.$O\
38 strtod.$O\
39 vfprint.$O\
40 vseprint.$O\
41 vsmprint.$O\
42 vsnprint.$O\
43 $NUM\
45 UTFOFILES=\
46 rune.$O\
47 runestrcat.$O\
48 runestrchr.$O\
49 runestrcmp.$O\
50 runestrcpy.$O\
51 runestrdup.$O\
52 runestrlen.$O\
53 runestrecpy.$O\
54 runestrncat.$O\
55 runestrncmp.$O\
56 runestrncpy.$O\
57 runestrrchr.$O\
58 runestrstr.$O\
59 runetype.$O\
60 utfecpy.$O\
61 utflen.$O\
62 utfnlen.$O\
63 utfrrune.$O\
64 utfrune.$O\
65 utfutf.$O\
67 LIB9OFILES=\
68 _exits.$O\
69 _p9dialparse.$O\
70 _p9dir.$O\
71 _p9proc.$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 ctime.$O\
90 date.$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 fcallfmt.$O\
103 ffork-$SYSNAME.$O\
104 get9root.$O\
105 getcallerpc-$OBJTYPE.$O\
106 getenv.$O\
107 getfields.$O\
108 getns.$O\
109 getuser.$O\
110 getwd.$O\
111 jmp.$O\
112 lrand.$O\
113 lnrand.$O\
114 lock.$O\
115 main.$O\
116 malloc.$O\
117 malloctag.$O\
118 mallocz.$O\
119 nan.$O\
120 needsrcquote.$O\
121 netmkaddr.$O\
122 notify.$O\
123 nrand.$O\
124 nulldir.$O\
125 open.$O\
126 opentemp.$O\
127 pipe.$O\
128 post9p.$O\
129 postnote.$O\
130 qlock.$O\
131 quote.$O\
132 read9pmsg.$O\
133 readn.$O\
134 rendez-$SYSNAME.$O\
135 rfork.$O\
136 seek.$O\
137 sendfd.$O\
138 sleep.$O\
139 strecpy.$O\
140 sysfatal.$O\
141 tas-$OBJTYPE.$O\
142 time.$O\
143 tokenize.$O\
144 u16.$O\
145 u32.$O\
146 u64.$O\
147 unsharp.$O\
148 wait.$O\
149 waitpid.$O\
151 OFILES=\
152 $LIB9OFILES\
153 $FMTOFILES\
154 $UTFOFILES\
156 HFILES=\
157 $PLAN9/include/lib9.h\
159 <$PLAN9/src/mksyslib
161 %.$O: fmt/%.c
162 $CC $CFLAGS -Ifmt fmt/$stem.c
164 %.$O: utf/%.c
165 $CC $CFLAGS utf/$stem.c