Lines Matching refs:outfile
3 outfn = outfile
124 print "/*" > outfile
125 print " * " outfn ":" > outfile
126 print " * This file is automatically generated; please do not edit it." > outfile
127 print " */" > outfile
129 print "" > outfile
130 print "#include <stdlib.h>" > outfile
131 print "" > outfile
132 print "#define N_(a) a" > outfile
133 print "" > outfile
134 print "static const char * const text[] = {" > outfile
145 # printf "\t\t\"%s,\n", $0 > outfile
146 printf "\tN_(%s),\n", cont_buf $0 > outfile
167 printf "\tN_(%s),\n", text > outfile
177 # printf "\t%s\"\n", text > outfile
186 # printf "\t%s\"\n", text > outfile
195 printf "\tN_(%s),\n", $0 > outfile
212 table_name, table_item_count++ > outfile
217 print " 0" > outfile
218 print "};" > outfile
219 print "" > outfile
220 print "struct error_table {" > outfile
221 print " char const * const * msgs;" > outfile
222 print " long base;" > outfile
223 print " int n_msgs;" > outfile
224 print "};" > outfile
225 print "struct et_list {" > outfile
226 print " struct et_list *next;" > outfile
227 print " const struct error_table * table;" > outfile
228 print "};" > outfile
229 print "extern struct et_list *_et_list;" > outfile
230 print "" > outfile
234 table_item_count) > outfile
238 tab_base_low, table_item_count) > outfile
240 print "" > outfile
241 print "static struct et_list link = { 0, 0 };" > outfile
242 print "" > outfile
243 print "void initialize_" table_name "_error_table_r(struct et_list **list);" > outfile
244 print "void initialize_" table_name "_error_table(void);" > outfile
245 print "" > outfile
246 print "void initialize_" table_name "_error_table(void) {" > outfile
247 print " initialize_" table_name "_error_table_r(&_et_list);" > outfile
248 print "}" > outfile
249 print "" > outfile
250 print "/* For Heimdal compatibility */" > outfile
251 print "void initialize_" table_name "_error_table_r(struct et_list **list)" > outfile
252 print "{" > outfile
253 print " struct et_list *et, **end;" > outfile
254 print "" > outfile
255 print " for (end = list, et = *list; et; end = &et->next, et = et->next)" > outfile
256 print " if (et->table->msgs == text)" > outfile
257 print " return;" > outfile
258 print " et = malloc(sizeof(struct et_list));" > outfile
259 print " if (et == 0) {" > outfile
260 print " if (!link.table)" > outfile
261 print " et = &link;" > outfile
262 print " else" > outfile
263 print " return;" > outfile
264 print " }" > outfile
265 print " et->table = &et_" table_name "_error_table;" > outfile
266 print " et->next = 0;" > outfile
267 print " *end = et;" > outfile
268 print "}" > outfile