chiark / gitweb /
Merge branches 'idx/verh' and 'idx/qmqpc'
[qmail] / Makefile
1 # Don't edit Makefile! Use conf-* for configuration.
2
3 SHELL=/bin/sh
4
5 default: it
6
7 addresses.0: \
8 addresses.5
9         nroff -man addresses.5 > addresses.0
10
11 alloc.a: \
12 makelib alloc.o alloc_re.o
13         ./makelib alloc.a alloc.o alloc_re.o
14
15 alloc.o: \
16 compile alloc.c alloc.h error.h
17         ./compile alloc.c
18
19 alloc_re.o: \
20 compile alloc_re.c alloc.h byte.h
21         ./compile alloc_re.c
22
23 auto-ccld.sh: \
24 conf-cc conf-ld warn-auto.sh
25         ( cat warn-auto.sh; \
26         echo CC=\'`head -1 conf-cc`\'; \
27         echo LD=\'`head -1 conf-ld`\' \
28         ) > auto-ccld.sh
29
30 auto-gid: \
31 load auto-gid.o substdio.a error.a str.a fs.a
32         ./load auto-gid substdio.a error.a str.a fs.a 
33
34 auto-gid.o: \
35 compile auto-gid.c subfd.h substdio.h substdio.h readwrite.h exit.h \
36 scan.h fmt.h
37         ./compile auto-gid.c
38
39 auto-int: \
40 load auto-int.o substdio.a error.a str.a fs.a
41         ./load auto-int substdio.a error.a str.a fs.a 
42
43 auto-int.o: \
44 compile auto-int.c substdio.h readwrite.h exit.h scan.h fmt.h
45         ./compile auto-int.c
46
47 auto-int8: \
48 load auto-int8.o substdio.a error.a str.a fs.a
49         ./load auto-int8 substdio.a error.a str.a fs.a 
50
51 auto-int8.o: \
52 compile auto-int8.c substdio.h readwrite.h exit.h scan.h fmt.h
53         ./compile auto-int8.c
54
55 auto-str: \
56 load auto-str.o substdio.a error.a str.a
57         ./load auto-str substdio.a error.a str.a 
58
59 auto-str.o: \
60 compile auto-str.c substdio.h readwrite.h exit.h
61         ./compile auto-str.c
62
63 auto-uid: \
64 load auto-uid.o substdio.a error.a str.a fs.a
65         ./load auto-uid substdio.a error.a str.a fs.a 
66
67 auto-uid.o: \
68 compile auto-uid.c subfd.h substdio.h substdio.h readwrite.h exit.h \
69 scan.h fmt.h
70         ./compile auto-uid.c
71
72 auto_break.c: \
73 auto-str conf-break
74         ./auto-str auto_break \
75         "`head -1 conf-break`" > auto_break.c
76
77 auto_break.o: \
78 compile auto_break.c
79         ./compile auto_break.c
80
81 auto_patrn.c: \
82 auto-int8 conf-patrn
83         ./auto-int8 auto_patrn `head -1 conf-patrn` > auto_patrn.c
84
85 auto_patrn.o: \
86 compile auto_patrn.c
87         ./compile auto_patrn.c
88
89 auto_qmail.c: \
90 auto-str conf-qmail
91         ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c
92
93 auto_qmail.o: \
94 compile auto_qmail.c
95         ./compile auto_qmail.c
96
97 auto_spawn.c: \
98 auto-int conf-spawn
99         ./auto-int auto_spawn `head -1 conf-spawn` > auto_spawn.c
100
101 auto_spawn.o: \
102 compile auto_spawn.c
103         ./compile auto_spawn.c
104
105 auto_split.c: \
106 auto-int conf-split
107         ./auto-int auto_split `head -1 conf-split` > auto_split.c
108
109 auto_split.o: \
110 compile auto_split.c
111         ./compile auto_split.c
112
113 auto_uids.c: \
114 auto-uid auto-gid conf-users conf-groups
115         ( ./auto-uid auto_uida `head -1 conf-users` \
116         &&./auto-uid auto_uidd `head -2 conf-users | tail -1` \
117         &&./auto-uid auto_uidl `head -3 conf-users | tail -1` \
118         &&./auto-uid auto_uido `head -4 conf-users | tail -1` \
119         &&./auto-uid auto_uidp `head -5 conf-users | tail -1` \
120         &&./auto-uid auto_uidq `head -6 conf-users | tail -1` \
121         &&./auto-uid auto_uidr `head -7 conf-users | tail -1` \
122         &&./auto-uid auto_uids `head -8 conf-users | tail -1` \
123         &&./auto-gid auto_gidq `head -1 conf-groups` \
124         &&./auto-gid auto_gidn `head -2 conf-groups | tail -1` \
125         ) > auto_uids.c.tmp && mv auto_uids.c.tmp auto_uids.c
126
127 auto_uids.o: \
128 compile auto_uids.c
129         ./compile auto_uids.c
130
131 auto_usera.c: \
132 auto-str conf-users
133         ./auto-str auto_usera `head -1 conf-users` > auto_usera.c
134
135 auto_usera.o: \
136 compile auto_usera.c
137         ./compile auto_usera.c
138
139 binm1: \
140 binm1.sh conf-qmail
141         cat binm1.sh \
142         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
143         > binm1
144         chmod 755 binm1
145
146 binm1+df: \
147 binm1+df.sh conf-qmail
148         cat binm1+df.sh \
149         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
150         > binm1+df
151         chmod 755 binm1+df
152
153 binm2: \
154 binm2.sh conf-qmail
155         cat binm2.sh \
156         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
157         > binm2
158         chmod 755 binm2
159
160 binm2+df: \
161 binm2+df.sh conf-qmail
162         cat binm2+df.sh \
163         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
164         > binm2+df
165         chmod 755 binm2+df
166
167 binm3: \
168 binm3.sh conf-qmail
169         cat binm3.sh \
170         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
171         > binm3
172         chmod 755 binm3
173
174 binm3+df: \
175 binm3+df.sh conf-qmail
176         cat binm3+df.sh \
177         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
178         > binm3+df
179         chmod 755 binm3+df
180
181 bouncesaying: \
182 load bouncesaying.o strerr.a error.a substdio.a str.a wait.a
183         ./load bouncesaying strerr.a error.a substdio.a str.a \
184         wait.a 
185
186 bouncesaying.0: \
187 bouncesaying.1
188         nroff -man bouncesaying.1 > bouncesaying.0
189
190 bouncesaying.o: \
191 compile bouncesaying.c fork.h strerr.h error.h wait.h sig.h exit.h
192         ./compile bouncesaying.c
193
194 byte_chr.o: \
195 compile byte_chr.c byte.h
196         ./compile byte_chr.c
197
198 byte_copy.o: \
199 compile byte_copy.c byte.h
200         ./compile byte_copy.c
201
202 byte_cr.o: \
203 compile byte_cr.c byte.h
204         ./compile byte_cr.c
205
206 byte_diff.o: \
207 compile byte_diff.c byte.h
208         ./compile byte_diff.c
209
210 byte_rchr.o: \
211 compile byte_rchr.c byte.h
212         ./compile byte_rchr.c
213
214 byte_zero.o: \
215 compile byte_zero.c byte.h
216         ./compile byte_zero.c
217
218 case.a: \
219 makelib case_diffb.o case_diffs.o case_lowerb.o case_lowers.o \
220 case_starts.o
221         ./makelib case.a case_diffb.o case_diffs.o case_lowerb.o \
222         case_lowers.o case_starts.o
223
224 case_diffb.o: \
225 compile case_diffb.c case.h
226         ./compile case_diffb.c
227
228 case_diffs.o: \
229 compile case_diffs.c case.h
230         ./compile case_diffs.c
231
232 case_lowerb.o: \
233 compile case_lowerb.c case.h
234         ./compile case_lowerb.c
235
236 case_lowers.o: \
237 compile case_lowers.c case.h
238         ./compile case_lowers.c
239
240 case_starts.o: \
241 compile case_starts.c case.h
242         ./compile case_starts.c
243
244 cdb.a: \
245 makelib cdb_hash.o cdb_unpack.o cdb_seek.o
246         ./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o
247
248 cdb_hash.o: \
249 compile cdb_hash.c cdb.h uint32.h
250         ./compile cdb_hash.c
251
252 cdb_seek.o: \
253 compile cdb_seek.c cdb.h uint32.h
254         ./compile cdb_seek.c
255
256 cdb_unpack.o: \
257 compile cdb_unpack.c cdb.h uint32.h
258         ./compile cdb_unpack.c
259
260 cdbmake.a: \
261 makelib cdbmake_pack.o cdbmake_hash.o cdbmake_add.o
262         ./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \
263         cdbmake_add.o
264
265 cdbmake_add.o: \
266 compile cdbmake_add.c cdbmake.h uint32.h
267         ./compile cdbmake_add.c
268
269 cdbmake_hash.o: \
270 compile cdbmake_hash.c cdbmake.h uint32.h
271         ./compile cdbmake_hash.c
272
273 cdbmake_pack.o: \
274 compile cdbmake_pack.c cdbmake.h uint32.h
275         ./compile cdbmake_pack.c
276
277 cdbmss.o: \
278 compile cdbmss.c readwrite.h seek.h alloc.h cdbmss.h cdbmake.h \
279 uint32.h substdio.h
280         ./compile cdbmss.c
281
282 check: \
283 it man
284         ./instcheck
285
286 chkshsgr: \
287 load chkshsgr.o
288         ./load chkshsgr 
289
290 chkshsgr.o: \
291 compile chkshsgr.c exit.h
292         ./compile chkshsgr.c
293
294 chkspawn: \
295 load chkspawn.o substdio.a error.a str.a fs.a auto_spawn.o
296         ./load chkspawn substdio.a error.a str.a fs.a auto_spawn.o 
297
298 chkspawn.o: \
299 compile chkspawn.c substdio.h subfd.h substdio.h fmt.h select.h \
300 exit.h auto_spawn.h
301         ./compile chkspawn.c
302
303 clean: \
304 TARGETS
305         rm -f `cat TARGETS`
306
307 coe.o: \
308 compile coe.c coe.h
309         ./compile coe.c
310
311 commands.o: \
312 compile commands.c commands.h substdio.h stralloc.h gen_alloc.h str.h \
313 case.h
314         ./compile commands.c
315
316 compile: \
317 make-compile warn-auto.sh systype
318         ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \
319         compile
320         chmod 755 compile
321
322 condredirect: \
323 load condredirect.o qmail.o strerr.a fd.a sig.a wait.a seek.a env.a \
324 substdio.a error.a str.a fs.a auto_qmail.o
325         ./load condredirect qmail.o strerr.a fd.a sig.a wait.a \
326         seek.a env.a substdio.a error.a str.a fs.a auto_qmail.o 
327
328 condredirect.0: \
329 condredirect.1
330         nroff -man condredirect.1 > condredirect.0
331
332 condredirect.o: \
333 compile condredirect.c sig.h readwrite.h exit.h env.h error.h fork.h \
334 wait.h seek.h qmail.h substdio.h strerr.h substdio.h fmt.h
335         ./compile condredirect.c
336
337 config: \
338 warn-auto.sh config.sh conf-qmail conf-break conf-split
339         cat warn-auto.sh config.sh \
340         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
341         | sed s}BREAK}"`head -1 conf-break`"}g \
342         | sed s}SPLIT}"`head -1 conf-split`"}g \
343         > config
344         chmod 755 config
345
346 config-fast: \
347 warn-auto.sh config-fast.sh conf-qmail conf-break conf-split
348         cat warn-auto.sh config-fast.sh \
349         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
350         | sed s}BREAK}"`head -1 conf-break`"}g \
351         | sed s}SPLIT}"`head -1 conf-split`"}g \
352         > config-fast
353         chmod 755 config-fast
354
355 constmap.o: \
356 compile constmap.c constmap.h alloc.h case.h
357         ./compile constmap.c
358
359 control.o: \
360 compile control.c readwrite.h open.h getln.h stralloc.h gen_alloc.h \
361 substdio.h error.h control.h alloc.h scan.h
362         ./compile control.c
363
364 date822fmt.o: \
365 compile date822fmt.c datetime.h fmt.h date822fmt.h
366         ./compile date822fmt.c
367
368 datemail: \
369 warn-auto.sh datemail.sh conf-qmail conf-break conf-split
370         cat warn-auto.sh datemail.sh \
371         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
372         | sed s}BREAK}"`head -1 conf-break`"}g \
373         | sed s}SPLIT}"`head -1 conf-split`"}g \
374         > datemail
375         chmod 755 datemail
376
377 datetime.a: \
378 makelib datetime.o datetime_un.o
379         ./makelib datetime.a datetime.o datetime_un.o
380
381 datetime.o: \
382 compile datetime.c datetime.h
383         ./compile datetime.c
384
385 datetime_un.o: \
386 compile datetime_un.c datetime.h
387         ./compile datetime_un.c
388
389 direntry.h: \
390 compile trydrent.c direntry.h1 direntry.h2
391         ( ./compile trydrent.c >/dev/null 2>&1 \
392         && cat direntry.h2 || cat direntry.h1 ) > direntry.h
393         rm -f trydrent.o
394
395 dns.lib: \
396 tryrsolv.c compile load socket.lib dns.o ipalloc.o ip.o stralloc.a \
397 alloc.a error.a fs.a str.a
398         ( ( ./compile tryrsolv.c && ./load tryrsolv dns.o \
399         ipalloc.o ip.o stralloc.a alloc.a error.a fs.a str.a \
400         -lresolv `cat socket.lib` ) >/dev/null 2>&1 \
401         && echo -lresolv || exit 0 ) > dns.lib
402         rm -f tryrsolv.o tryrsolv
403
404 dns.o: \
405 compile dns.c ip.h ipalloc.h ip.h gen_alloc.h fmt.h alloc.h str.h \
406 stralloc.h gen_alloc.h dns.h case.h
407         ./compile dns.c
408
409 dnscname: \
410 load dnscname.o dns.o dnsdoe.o ip.o ipalloc.o stralloc.a alloc.a \
411 substdio.a error.a str.a fs.a dns.lib socket.lib
412         ./load dnscname dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
413         alloc.a substdio.a error.a str.a fs.a  `cat dns.lib` `cat \
414         socket.lib`
415
416 dnscname.o: \
417 compile dnscname.c substdio.h subfd.h substdio.h stralloc.h \
418 gen_alloc.h dns.h dnsdoe.h readwrite.h exit.h
419         ./compile dnscname.c
420
421 dnsdoe.o: \
422 compile dnsdoe.c substdio.h subfd.h substdio.h exit.h dns.h dnsdoe.h
423         ./compile dnsdoe.c
424
425 dnsfq: \
426 load dnsfq.o dns.o dnsdoe.o ip.o ipalloc.o stralloc.a alloc.a \
427 substdio.a error.a str.a fs.a dns.lib socket.lib
428         ./load dnsfq dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
429         alloc.a substdio.a error.a str.a fs.a  `cat dns.lib` `cat \
430         socket.lib`
431
432 dnsfq.o: \
433 compile dnsfq.c substdio.h subfd.h substdio.h stralloc.h gen_alloc.h \
434 dns.h dnsdoe.h ip.h ipalloc.h ip.h gen_alloc.h exit.h
435         ./compile dnsfq.c
436
437 dnsip: \
438 load dnsip.o dns.o dnsdoe.o ip.o ipalloc.o stralloc.a alloc.a \
439 substdio.a error.a str.a fs.a dns.lib socket.lib
440         ./load dnsip dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
441         alloc.a substdio.a error.a str.a fs.a  `cat dns.lib` `cat \
442         socket.lib`
443
444 dnsip.o: \
445 compile dnsip.c substdio.h subfd.h substdio.h stralloc.h gen_alloc.h \
446 dns.h dnsdoe.h ip.h ipalloc.h ip.h gen_alloc.h exit.h
447         ./compile dnsip.c
448
449 dnsmxip: \
450 load dnsmxip.o dns.o dnsdoe.o ip.o ipalloc.o now.o stralloc.a alloc.a \
451 substdio.a error.a str.a fs.a dns.lib socket.lib
452         ./load dnsmxip dns.o dnsdoe.o ip.o ipalloc.o now.o \
453         stralloc.a alloc.a substdio.a error.a str.a fs.a  `cat \
454         dns.lib` `cat socket.lib`
455
456 dnsmxip.o: \
457 compile dnsmxip.c substdio.h subfd.h substdio.h stralloc.h \
458 gen_alloc.h fmt.h dns.h dnsdoe.h ip.h ipalloc.h ip.h gen_alloc.h \
459 now.h datetime.h exit.h
460         ./compile dnsmxip.c
461
462 dnsptr: \
463 load dnsptr.o dns.o dnsdoe.o ip.o ipalloc.o stralloc.a alloc.a \
464 substdio.a error.a str.a fs.a dns.lib socket.lib
465         ./load dnsptr dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
466         alloc.a substdio.a error.a str.a fs.a  `cat dns.lib` `cat \
467         socket.lib`
468
469 dnsptr.o: \
470 compile dnsptr.c substdio.h subfd.h substdio.h stralloc.h gen_alloc.h \
471 str.h scan.h dns.h dnsdoe.h ip.h exit.h
472         ./compile dnsptr.c
473
474 dot-qmail.0: \
475 dot-qmail.5
476         nroff -man dot-qmail.5 > dot-qmail.0
477
478 dot-qmail.5: \
479 dot-qmail.9 conf-break conf-spawn
480         cat dot-qmail.9 \
481         | sed s}QMAILHOME}"`head -1 conf-qmail`"}g \
482         | sed s}BREAK}"`head -1 conf-break`"}g \
483         | sed s}SPAWN}"`head -1 conf-spawn`"}g \
484         > dot-qmail.5
485
486 elq: \
487 warn-auto.sh elq.sh conf-qmail conf-break conf-split
488         cat warn-auto.sh elq.sh \
489         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
490         | sed s}BREAK}"`head -1 conf-break`"}g \
491         | sed s}SPLIT}"`head -1 conf-split`"}g \
492         > elq
493         chmod 755 elq
494
495 env.a: \
496 makelib env.o envread.o
497         ./makelib env.a env.o envread.o
498
499 env.o: \
500 compile env.c str.h alloc.h env.h
501         ./compile env.c
502
503 envelopes.0: \
504 envelopes.5
505         nroff -man envelopes.5 > envelopes.0
506
507 envread.o: \
508 compile envread.c env.h str.h
509         ./compile envread.c
510
511 error.a: \
512 makelib error.o error_str.o error_temp.o
513         ./makelib error.a error.o error_str.o error_temp.o
514
515 error.o: \
516 compile error.c error.h
517         ./compile error.c
518
519 error_str.o: \
520 compile error_str.c error.h
521         ./compile error_str.c
522
523 error_temp.o: \
524 compile error_temp.c error.h
525         ./compile error_temp.c
526
527 except: \
528 load except.o strerr.a error.a substdio.a str.a wait.a
529         ./load except strerr.a error.a substdio.a str.a wait.a 
530
531 except.0: \
532 except.1
533         nroff -man except.1 > except.0
534
535 except.o: \
536 compile except.c fork.h strerr.h wait.h error.h exit.h
537         ./compile except.c
538
539 fd.a: \
540 makelib fd_copy.o fd_move.o
541         ./makelib fd.a fd_copy.o fd_move.o
542
543 fd_copy.o: \
544 compile fd_copy.c fd.h
545         ./compile fd_copy.c
546
547 fd_move.o: \
548 compile fd_move.c fd.h
549         ./compile fd_move.c
550
551 fifo.o: \
552 compile fifo.c hasmkffo.h fifo.h
553         ./compile fifo.c
554
555 find-systype: \
556 find-systype.sh auto-ccld.sh
557         cat auto-ccld.sh find-systype.sh > find-systype
558         chmod 755 find-systype
559
560 fmt_str.o: \
561 compile fmt_str.c fmt.h
562         ./compile fmt_str.c
563
564 fmt_strn.o: \
565 compile fmt_strn.c fmt.h
566         ./compile fmt_strn.c
567
568 fmt_uint.o: \
569 compile fmt_uint.c fmt.h
570         ./compile fmt_uint.c
571
572 fmt_uint0.o: \
573 compile fmt_uint0.c fmt.h
574         ./compile fmt_uint0.c
575
576 fmt_ulong.o: \
577 compile fmt_ulong.c fmt.h
578         ./compile fmt_ulong.c
579
580 fmtqfn.o: \
581 compile fmtqfn.c fmtqfn.h fmt.h auto_split.h
582         ./compile fmtqfn.c
583
584 forgeries.0: \
585 forgeries.7
586         nroff -man forgeries.7 > forgeries.0
587
588 fork.h: \
589 compile load tryvfork.c fork.h1 fork.h2
590         ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \
591         2>&1 \
592         && cat fork.h2 || cat fork.h1 ) > fork.h
593         rm -f tryvfork.o tryvfork
594
595 forward: \
596 load forward.o qmail.o strerr.a alloc.a fd.a wait.a sig.a env.a \
597 substdio.a error.a str.a fs.a auto_qmail.o
598         ./load forward qmail.o strerr.a alloc.a fd.a wait.a sig.a \
599         env.a substdio.a error.a str.a fs.a auto_qmail.o 
600
601 forward.0: \
602 forward.1
603         nroff -man forward.1 > forward.0
604
605 forward.o: \
606 compile forward.c sig.h readwrite.h exit.h env.h qmail.h substdio.h \
607 strerr.h substdio.h fmt.h
608         ./compile forward.c
609
610 fs.a: \
611 makelib fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o fmt_ulong.o \
612 scan_ulong.o scan_8long.o
613         ./makelib fs.a fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o \
614         fmt_ulong.o scan_ulong.o scan_8long.o
615
616 getln.a: \
617 makelib getln.o getln2.o
618         ./makelib getln.a getln.o getln2.o
619
620 getln.o: \
621 compile getln.c substdio.h byte.h stralloc.h gen_alloc.h getln.h
622         ./compile getln.c
623
624 getln2.o: \
625 compile getln2.c substdio.h stralloc.h gen_alloc.h byte.h getln.h
626         ./compile getln2.c
627
628 getopt.a: \
629 makelib subgetopt.o sgetopt.o
630         ./makelib getopt.a subgetopt.o sgetopt.o
631
632 gfrom.o: \
633 compile gfrom.c str.h gfrom.h
634         ./compile gfrom.c
635
636 hasflock.h: \
637 tryflock.c compile load
638         ( ( ./compile tryflock.c && ./load tryflock ) >/dev/null \
639         2>&1 \
640         && echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h
641         rm -f tryflock.o tryflock
642
643 hasmkffo.h: \
644 trymkffo.c compile load
645         ( ( ./compile trymkffo.c && ./load trymkffo ) >/dev/null \
646         2>&1 \
647         && echo \#define HASMKFIFO 1 || exit 0 ) > hasmkffo.h
648         rm -f trymkffo.o trymkffo
649
650 hasnpbg1.h: \
651 trynpbg1.c compile load open.h open.a fifo.h fifo.o select.h
652         ( ( ./compile trynpbg1.c \
653         && ./load trynpbg1 fifo.o open.a && ./trynpbg1 ) \
654         >/dev/null 2>&1 \
655         && echo \#define HASNAMEDPIPEBUG1 1 || exit 0 ) > \
656         hasnpbg1.h
657         rm -f trynpbg1.o trynpbg1
658
659 hassalen.h: \
660 trysalen.c compile
661         ( ./compile trysalen.c >/dev/null 2>&1 \
662         && echo \#define HASSALEN 1 || exit 0 ) > hassalen.h
663         rm -f trysalen.o
664
665 hassgact.h: \
666 trysgact.c compile load
667         ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \
668         2>&1 \
669         && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h
670         rm -f trysgact.o trysgact
671
672 hassgprm.h: \
673 trysgprm.c compile load
674         ( ( ./compile trysgprm.c && ./load trysgprm ) >/dev/null \
675         2>&1 \
676         && echo \#define HASSIGPROCMASK 1 || exit 0 ) > hassgprm.h
677         rm -f trysgprm.o trysgprm
678
679 hasshsgr.h: \
680 chkshsgr warn-shsgr tryshsgr.c compile load
681         ./chkshsgr || ( cat warn-shsgr; exit 1 )
682         ( ( ./compile tryshsgr.c \
683         && ./load tryshsgr && ./tryshsgr ) >/dev/null 2>&1 \
684         && echo \#define HASSHORTSETGROUPS 1 || exit 0 ) > \
685         hasshsgr.h
686         rm -f tryshsgr.o tryshsgr
687
688 haswaitp.h: \
689 trywaitp.c compile load
690         ( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null \
691         2>&1 \
692         && echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h
693         rm -f trywaitp.o trywaitp
694
695 headerbody.o: \
696 compile headerbody.c stralloc.h gen_alloc.h substdio.h getln.h \
697 hfield.h headerbody.h
698         ./compile headerbody.c
699
700 hfield.o: \
701 compile hfield.c hfield.h
702         ./compile hfield.c
703
704 hier.o: \
705 compile hier.c auto_qmail.h auto_split.h auto_uids.h fmt.h fifo.h
706         ./compile hier.c
707
708 home: \
709 home.sh conf-qmail
710         cat home.sh \
711         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
712         > home
713         chmod 755 home
714
715 home+df: \
716 home+df.sh conf-qmail
717         cat home+df.sh \
718         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
719         > home+df
720         chmod 755 home+df
721
722 hostname: \
723 load hostname.o substdio.a error.a str.a dns.lib socket.lib
724         ./load hostname substdio.a error.a str.a  `cat dns.lib` \
725         `cat socket.lib`
726
727 hostname.o: \
728 compile hostname.c substdio.h subfd.h substdio.h readwrite.h exit.h
729         ./compile hostname.c
730
731 idedit: \
732 load idedit.o strerr.a substdio.a error.a str.a fs.a wait.a open.a \
733 seek.a
734         ./load idedit strerr.a substdio.a error.a str.a fs.a \
735         wait.a open.a seek.a 
736
737 idedit.o: \
738 compile idedit.c readwrite.h exit.h scan.h fmt.h strerr.h open.h \
739 seek.h fork.h
740         ./compile idedit.c
741
742 install: \
743 load install.o fifo.o hier.o auto_qmail.o auto_split.o auto_uids.o \
744 strerr.a substdio.a open.a error.a str.a fs.a
745         ./load install fifo.o hier.o auto_qmail.o auto_split.o \
746         auto_uids.o strerr.a substdio.a open.a error.a str.a fs.a 
747
748 install-big: \
749 load install-big.o fifo.o install.o auto_qmail.o auto_split.o \
750 auto_uids.o strerr.a substdio.a open.a error.a str.a fs.a
751         ./load install-big fifo.o install.o auto_qmail.o \
752         auto_split.o auto_uids.o strerr.a substdio.a open.a error.a \
753         str.a fs.a 
754
755 install-big.o: \
756 compile install-big.c auto_qmail.h auto_split.h auto_uids.h fmt.h \
757 fifo.h
758         ./compile install-big.c
759
760 install.o: \
761 compile install.c substdio.h strerr.h error.h open.h readwrite.h \
762 exit.h
763         ./compile install.c
764
765 instcheck: \
766 load instcheck.o fifo.o hier.o auto_qmail.o auto_split.o auto_uids.o \
767 strerr.a substdio.a error.a str.a fs.a
768         ./load instcheck fifo.o hier.o auto_qmail.o auto_split.o \
769         auto_uids.o strerr.a substdio.a error.a str.a fs.a 
770
771 instcheck.o: \
772 compile instcheck.c strerr.h error.h readwrite.h exit.h
773         ./compile instcheck.c
774
775 ip.o: \
776 compile ip.c fmt.h scan.h ip.h
777         ./compile ip.c
778
779 ipalloc.o: \
780 compile ipalloc.c alloc.h gen_allocdefs.h ip.h ipalloc.h ip.h \
781 gen_alloc.h
782         ./compile ipalloc.c
783
784 ipme.o: \
785 compile ipme.c hassalen.h byte.h ip.h ipalloc.h ip.h gen_alloc.h \
786 stralloc.h gen_alloc.h ipme.h ip.h ipalloc.h
787         ./compile ipme.c
788
789 ipmeprint: \
790 load ipmeprint.o ipme.o ip.o ipalloc.o stralloc.a alloc.a substdio.a \
791 error.a str.a fs.a socket.lib
792         ./load ipmeprint ipme.o ip.o ipalloc.o stralloc.a alloc.a \
793         substdio.a error.a str.a fs.a  `cat socket.lib`
794
795 ipmeprint.o: \
796 compile ipmeprint.c subfd.h substdio.h substdio.h ip.h ipme.h ip.h \
797 ipalloc.h ip.h gen_alloc.h exit.h
798         ./compile ipmeprint.c
799
800 it: \
801 qmail-local qmail-lspawn qmail-getpw qmail-remote qmail-rspawn \
802 qmail-clean qmail-send qmail-start splogger qmail-queue qmail-inject \
803 predate datemail mailsubj qmail-upq qmail-showctl qmail-newu \
804 qmail-pw2u qmail-qread qmail-qstat qmail-tcpto qmail-tcpok \
805 qmail-pop3d qmail-popup qmail-qmqpc qmail-qmqpd qmail-qmtpd \
806 qmail-smtpd sendmail tcp-env qmail-newmrh config config-fast dnscname \
807 dnsptr dnsip dnsmxip dnsfq hostname ipmeprint qreceipt qsmhook qbiff \
808 forward preline condredirect bouncesaying except maildirmake \
809 maildir2mbox maildirwatch qail elq pinq idedit install-big install \
810 instcheck home home+df proc proc+df binm1 binm1+df binm2 binm2+df \
811 binm3 binm3+df
812
813 load: \
814 make-load warn-auto.sh systype
815         ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
816         chmod 755 load
817
818 lock.a: \
819 makelib lock_ex.o lock_exnb.o lock_un.o
820         ./makelib lock.a lock_ex.o lock_exnb.o lock_un.o
821
822 lock_ex.o: \
823 compile lock_ex.c hasflock.h lock.h
824         ./compile lock_ex.c
825
826 lock_exnb.o: \
827 compile lock_exnb.c hasflock.h lock.h
828         ./compile lock_exnb.c
829
830 lock_un.o: \
831 compile lock_un.c hasflock.h lock.h
832         ./compile lock_un.c
833
834 maildir.0: \
835 maildir.5
836         nroff -man maildir.5 > maildir.0
837
838 maildir.o: \
839 compile maildir.c prioq.h datetime.h gen_alloc.h env.h stralloc.h \
840 gen_alloc.h direntry.h datetime.h now.h datetime.h str.h maildir.h \
841 strerr.h
842         ./compile maildir.c
843
844 maildir2mbox: \
845 load maildir2mbox.o maildir.o prioq.o now.o myctime.o gfrom.o lock.a \
846 getln.a env.a open.a strerr.a stralloc.a alloc.a substdio.a error.a \
847 str.a fs.a datetime.a
848         ./load maildir2mbox maildir.o prioq.o now.o myctime.o \
849         gfrom.o lock.a getln.a env.a open.a strerr.a stralloc.a \
850         alloc.a substdio.a error.a str.a fs.a datetime.a 
851
852 maildir2mbox.0: \
853 maildir2mbox.1
854         nroff -man maildir2mbox.1 > maildir2mbox.0
855
856 maildir2mbox.o: \
857 compile maildir2mbox.c readwrite.h prioq.h datetime.h gen_alloc.h \
858 env.h stralloc.h gen_alloc.h subfd.h substdio.h substdio.h getln.h \
859 error.h open.h lock.h gfrom.h str.h exit.h myctime.h maildir.h \
860 strerr.h
861         ./compile maildir2mbox.c
862
863 maildirmake: \
864 load maildirmake.o strerr.a substdio.a error.a str.a
865         ./load maildirmake strerr.a substdio.a error.a str.a 
866
867 maildirmake.0: \
868 maildirmake.1
869         nroff -man maildirmake.1 > maildirmake.0
870
871 maildirmake.o: \
872 compile maildirmake.c strerr.h exit.h
873         ./compile maildirmake.c
874
875 maildirwatch: \
876 load maildirwatch.o hfield.o headerbody.o maildir.o prioq.o now.o \
877 getln.a env.a open.a strerr.a stralloc.a alloc.a substdio.a error.a \
878 str.a
879         ./load maildirwatch hfield.o headerbody.o maildir.o \
880         prioq.o now.o getln.a env.a open.a strerr.a stralloc.a \
881         alloc.a substdio.a error.a str.a 
882
883 maildirwatch.0: \
884 maildirwatch.1
885         nroff -man maildirwatch.1 > maildirwatch.0
886
887 maildirwatch.o: \
888 compile maildirwatch.c getln.h substdio.h subfd.h substdio.h prioq.h \
889 datetime.h gen_alloc.h stralloc.h gen_alloc.h str.h exit.h hfield.h \
890 readwrite.h open.h headerbody.h maildir.h strerr.h
891         ./compile maildirwatch.c
892
893 mailsubj: \
894 warn-auto.sh mailsubj.sh conf-qmail conf-break conf-split
895         cat warn-auto.sh mailsubj.sh \
896         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
897         | sed s}BREAK}"`head -1 conf-break`"}g \
898         | sed s}SPLIT}"`head -1 conf-split`"}g \
899         > mailsubj
900         chmod 755 mailsubj
901
902 mailsubj.0: \
903 mailsubj.1
904         nroff -man mailsubj.1 > mailsubj.0
905
906 make-compile: \
907 make-compile.sh auto-ccld.sh
908         cat auto-ccld.sh make-compile.sh > make-compile
909         chmod 755 make-compile
910
911 make-load: \
912 make-load.sh auto-ccld.sh
913         cat auto-ccld.sh make-load.sh > make-load
914         chmod 755 make-load
915
916 make-makelib: \
917 make-makelib.sh auto-ccld.sh
918         cat auto-ccld.sh make-makelib.sh > make-makelib
919         chmod 755 make-makelib
920
921 makelib: \
922 make-makelib warn-auto.sh systype
923         ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \
924         makelib
925         chmod 755 makelib
926
927 man: \
928 qmail-local.0 qmail-lspawn.0 qmail-getpw.0 qmail-remote.0 \
929 qmail-rspawn.0 qmail-clean.0 qmail-send.0 qmail-start.0 splogger.0 \
930 qmail-queue.0 qmail-inject.0 mailsubj.0 qmail-showctl.0 qmail-newu.0 \
931 qmail-pw2u.0 qmail-qread.0 qmail-qstat.0 qmail-tcpto.0 qmail-tcpok.0 \
932 qmail-pop3d.0 qmail-popup.0 qmail-qmqpc.0 qmail-qmqpd.0 qmail-qmtpd.0 \
933 qmail-smtpd.0 tcp-env.0 qmail-newmrh.0 qreceipt.0 qbiff.0 forward.0 \
934 preline.0 condredirect.0 bouncesaying.0 except.0 maildirmake.0 \
935 maildir2mbox.0 maildirwatch.0 qmail.0 qmail-limits.0 qmail-log.0 \
936 qmail-control.0 qmail-header.0 qmail-users.0 dot-qmail.0 \
937 qmail-command.0 tcp-environ.0 maildir.0 mbox.0 addresses.0 \
938 envelopes.0 forgeries.0 qmail-valid-addresses.0
939
940 mbox.0: \
941 mbox.5
942         nroff -man mbox.5 > mbox.0
943
944 myctime.o: \
945 compile myctime.c datetime.h fmt.h myctime.h
946         ./compile myctime.c
947
948 ndelay.a: \
949 makelib ndelay.o ndelay_off.o
950         ./makelib ndelay.a ndelay.o ndelay_off.o
951
952 ndelay.o: \
953 compile ndelay.c ndelay.h
954         ./compile ndelay.c
955
956 ndelay_off.o: \
957 compile ndelay_off.c ndelay.h
958         ./compile ndelay_off.c
959
960 newfield.o: \
961 compile newfield.c fmt.h datetime.h stralloc.h gen_alloc.h \
962 date822fmt.h newfield.h stralloc.h
963         ./compile newfield.c
964
965 now.o: \
966 compile now.c datetime.h now.h datetime.h
967         ./compile now.c
968
969 open.a: \
970 makelib open_append.o open_excl.o open_read.o open_trunc.o \
971 open_write.o
972         ./makelib open.a open_append.o open_excl.o open_read.o \
973         open_trunc.o open_write.o
974
975 open_append.o: \
976 compile open_append.c open.h
977         ./compile open_append.c
978
979 open_excl.o: \
980 compile open_excl.c open.h
981         ./compile open_excl.c
982
983 open_read.o: \
984 compile open_read.c open.h
985         ./compile open_read.c
986
987 open_trunc.o: \
988 compile open_trunc.c open.h
989         ./compile open_trunc.c
990
991 open_write.o: \
992 compile open_write.c open.h
993         ./compile open_write.c
994
995 pinq: \
996 warn-auto.sh pinq.sh conf-qmail conf-break conf-split
997         cat warn-auto.sh pinq.sh \
998         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
999         | sed s}BREAK}"`head -1 conf-break`"}g \
1000         | sed s}SPLIT}"`head -1 conf-split`"}g \
1001         > pinq
1002         chmod 755 pinq
1003
1004 predate: \
1005 load predate.o datetime.a strerr.a sig.a fd.a wait.a substdio.a \
1006 error.a str.a fs.a
1007         ./load predate datetime.a strerr.a sig.a fd.a wait.a \
1008         substdio.a error.a str.a fs.a 
1009
1010 predate.o: \
1011 compile predate.c datetime.h fork.h wait.h fd.h fmt.h strerr.h \
1012 substdio.h subfd.h substdio.h readwrite.h exit.h
1013         ./compile predate.c
1014
1015 preline: \
1016 load preline.o strerr.a fd.a wait.a sig.a env.a getopt.a substdio.a \
1017 error.a str.a
1018         ./load preline strerr.a fd.a wait.a sig.a env.a getopt.a \
1019         substdio.a error.a str.a 
1020
1021 preline.0: \
1022 preline.1
1023         nroff -man preline.1 > preline.0
1024
1025 preline.o: \
1026 compile preline.c fd.h sgetopt.h subgetopt.h readwrite.h strerr.h \
1027 substdio.h exit.h fork.h wait.h env.h sig.h error.h
1028         ./compile preline.c
1029
1030 prioq.o: \
1031 compile prioq.c alloc.h gen_allocdefs.h prioq.h datetime.h \
1032 gen_alloc.h
1033         ./compile prioq.c
1034
1035 proc: \
1036 proc.sh conf-qmail
1037         cat proc.sh \
1038         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
1039         > proc
1040         chmod 755 proc
1041
1042 proc+df: \
1043 proc+df.sh conf-qmail
1044         cat proc+df.sh \
1045         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
1046         > proc+df
1047         chmod 755 proc+df
1048
1049 prot.o: \
1050 compile prot.c hasshsgr.h prot.h
1051         ./compile prot.c
1052
1053 qail: \
1054 warn-auto.sh qail.sh conf-qmail conf-break conf-split
1055         cat warn-auto.sh qail.sh \
1056         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
1057         | sed s}BREAK}"`head -1 conf-break`"}g \
1058         | sed s}SPLIT}"`head -1 conf-split`"}g \
1059         > qail
1060         chmod 755 qail
1061
1062 qbiff: \
1063 load qbiff.o headerbody.o hfield.o getln.a env.a open.a stralloc.a \
1064 alloc.a substdio.a error.a str.a
1065         ./load qbiff headerbody.o hfield.o getln.a env.a open.a \
1066         stralloc.a alloc.a substdio.a error.a str.a 
1067
1068 qbiff.0: \
1069 qbiff.1
1070         nroff -man qbiff.1 > qbiff.0
1071
1072 qbiff.o: \
1073 compile qbiff.c readwrite.h stralloc.h gen_alloc.h substdio.h subfd.h \
1074 substdio.h open.h byte.h str.h headerbody.h hfield.h env.h exit.h
1075         ./compile qbiff.c
1076
1077 qmail-clean: \
1078 load qmail-clean.o fmtqfn.o now.o getln.a sig.a stralloc.a alloc.a \
1079 substdio.a error.a str.a fs.a auto_qmail.o auto_split.o
1080         ./load qmail-clean fmtqfn.o now.o getln.a sig.a stralloc.a \
1081         alloc.a substdio.a error.a str.a fs.a auto_qmail.o \
1082         auto_split.o 
1083
1084 qmail-clean.0: \
1085 qmail-clean.8
1086         nroff -man qmail-clean.8 > qmail-clean.0
1087
1088 qmail-clean.o: \
1089 compile qmail-clean.c readwrite.h sig.h now.h datetime.h str.h \
1090 direntry.h getln.h stralloc.h gen_alloc.h substdio.h subfd.h \
1091 substdio.h byte.h scan.h fmt.h error.h exit.h fmtqfn.h auto_qmail.h
1092         ./compile qmail-clean.c
1093
1094 qmail-command.0: \
1095 qmail-command.8
1096         nroff -man qmail-command.8 > qmail-command.0
1097
1098 qmail-control.0: \
1099 qmail-control.5
1100         nroff -man qmail-control.5 > qmail-control.0
1101
1102 qmail-control.5: \
1103 qmail-control.9 conf-break conf-spawn
1104         cat qmail-control.9 \
1105         | sed s}QMAILHOME}"`head -1 conf-qmail`"}g \
1106         | sed s}BREAK}"`head -1 conf-break`"}g \
1107         | sed s}SPAWN}"`head -1 conf-spawn`"}g \
1108         > qmail-control.5
1109
1110 qmail-getpw: \
1111 load qmail-getpw.o case.a substdio.a error.a str.a fs.a auto_break.o \
1112 auto_usera.o
1113         ./load qmail-getpw case.a substdio.a error.a str.a fs.a \
1114         auto_break.o auto_usera.o 
1115
1116 qmail-getpw.0: \
1117 qmail-getpw.8
1118         nroff -man qmail-getpw.8 > qmail-getpw.0
1119
1120 qmail-getpw.8: \
1121 qmail-getpw.9 conf-break conf-spawn
1122         cat qmail-getpw.9 \
1123         | sed s}QMAILHOME}"`head -1 conf-qmail`"}g \
1124         | sed s}BREAK}"`head -1 conf-break`"}g \
1125         | sed s}SPAWN}"`head -1 conf-spawn`"}g \
1126         > qmail-getpw.8
1127
1128 qmail-getpw.o: \
1129 compile qmail-getpw.c readwrite.h substdio.h subfd.h substdio.h \
1130 error.h exit.h byte.h str.h case.h fmt.h auto_usera.h auto_break.h \
1131 qlx.h
1132         ./compile qmail-getpw.c
1133
1134 qmail-header.0: \
1135 qmail-header.5
1136         nroff -man qmail-header.5 > qmail-header.0
1137
1138 qmail-inject: \
1139 load qmail-inject.o headerbody.o hfield.o newfield.o quote.o now.o \
1140 control.o date822fmt.o constmap.o qmail.o case.a fd.a wait.a open.a \
1141 getln.a sig.a getopt.a datetime.a token822.o env.a stralloc.a alloc.a \
1142 substdio.a error.a str.a fs.a auto_qmail.o
1143         ./load qmail-inject headerbody.o hfield.o newfield.o \
1144         quote.o now.o control.o date822fmt.o constmap.o qmail.o \
1145         case.a fd.a wait.a open.a getln.a sig.a getopt.a datetime.a \
1146         token822.o env.a stralloc.a alloc.a substdio.a error.a \
1147         str.a fs.a auto_qmail.o 
1148
1149 qmail-inject.0: \
1150 qmail-inject.8
1151         nroff -man qmail-inject.8 > qmail-inject.0
1152
1153 qmail-inject.o: \
1154 compile qmail-inject.c sig.h substdio.h stralloc.h gen_alloc.h \
1155 subfd.h substdio.h sgetopt.h subgetopt.h getln.h alloc.h str.h fmt.h \
1156 hfield.h token822.h gen_alloc.h control.h env.h gen_alloc.h \
1157 gen_allocdefs.h error.h qmail.h substdio.h now.h datetime.h exit.h \
1158 quote.h headerbody.h auto_qmail.h newfield.h stralloc.h constmap.h
1159         ./compile qmail-inject.c
1160
1161 qmail-limits.0: \
1162 qmail-limits.7
1163         nroff -man qmail-limits.7 > qmail-limits.0
1164
1165 qmail-limits.7: \
1166 qmail-limits.9 conf-break conf-spawn
1167         cat qmail-limits.9 \
1168         | sed s}QMAILHOME}"`head -1 conf-qmail`"}g \
1169         | sed s}BREAK}"`head -1 conf-break`"}g \
1170         | sed s}SPAWN}"`head -1 conf-spawn`"}g \
1171         > qmail-limits.7
1172
1173 qmail-local: \
1174 load qmail-local.o qmail.o quote.o now.o gfrom.o myctime.o \
1175 slurpclose.o case.a getln.a getopt.a sig.a open.a seek.a lock.a fd.a \
1176 wait.a env.a stralloc.a alloc.a strerr.a substdio.a error.a str.a \
1177 fs.a datetime.a auto_qmail.o auto_patrn.o socket.lib
1178         ./load qmail-local qmail.o quote.o now.o gfrom.o myctime.o \
1179         slurpclose.o case.a getln.a getopt.a sig.a open.a seek.a \
1180         lock.a fd.a wait.a env.a stralloc.a alloc.a strerr.a \
1181         substdio.a error.a str.a fs.a datetime.a auto_qmail.o \
1182         auto_patrn.o  `cat socket.lib`
1183
1184 qmail-local.0: \
1185 qmail-local.8
1186         nroff -man qmail-local.8 > qmail-local.0
1187
1188 qmail-local.o: \
1189 compile qmail-local.c readwrite.h sig.h env.h byte.h exit.h fork.h \
1190 open.h wait.h lock.h seek.h substdio.h getln.h strerr.h subfd.h \
1191 substdio.h sgetopt.h subgetopt.h alloc.h error.h stralloc.h \
1192 gen_alloc.h fmt.h str.h now.h datetime.h case.h quote.h qmail.h \
1193 substdio.h slurpclose.h myctime.h gfrom.h auto_patrn.h
1194         ./compile qmail-local.c
1195
1196 qmail-log.0: \
1197 qmail-log.5
1198         nroff -man qmail-log.5 > qmail-log.0
1199
1200 qmail-lspawn: \
1201 load qmail-lspawn.o spawn.o prot.o slurpclose.o coe.o sig.a wait.a \
1202 case.a cdb.a fd.a open.a stralloc.a alloc.a substdio.a error.a str.a \
1203 fs.a auto_qmail.o auto_uids.o auto_spawn.o
1204         ./load qmail-lspawn spawn.o prot.o slurpclose.o coe.o \
1205         sig.a wait.a case.a cdb.a fd.a open.a stralloc.a alloc.a \
1206         substdio.a error.a str.a fs.a auto_qmail.o auto_uids.o \
1207         auto_spawn.o 
1208
1209 qmail-lspawn.0: \
1210 qmail-lspawn.8
1211         nroff -man qmail-lspawn.8 > qmail-lspawn.0
1212
1213 qmail-lspawn.o: \
1214 compile qmail-lspawn.c fd.h wait.h prot.h substdio.h stralloc.h \
1215 gen_alloc.h scan.h exit.h fork.h error.h cdb.h uint32.h case.h \
1216 slurpclose.h auto_qmail.h auto_uids.h qlx.h
1217         ./compile qmail-lspawn.c
1218
1219 qmail-newmrh: \
1220 load qmail-newmrh.o cdbmss.o getln.a open.a cdbmake.a seek.a case.a \
1221 stralloc.a alloc.a strerr.a substdio.a error.a str.a auto_qmail.o
1222         ./load qmail-newmrh cdbmss.o getln.a open.a cdbmake.a \
1223         seek.a case.a stralloc.a alloc.a strerr.a substdio.a \
1224         error.a str.a auto_qmail.o 
1225
1226 qmail-newmrh.0: \
1227 qmail-newmrh.8
1228         nroff -man qmail-newmrh.8 > qmail-newmrh.0
1229
1230 qmail-newmrh.8: \
1231 qmail-newmrh.9 conf-break conf-spawn
1232         cat qmail-newmrh.9 \
1233         | sed s}QMAILHOME}"`head -1 conf-qmail`"}g \
1234         | sed s}BREAK}"`head -1 conf-break`"}g \
1235         | sed s}SPAWN}"`head -1 conf-spawn`"}g \
1236         > qmail-newmrh.8
1237
1238 qmail-newmrh.o: \
1239 compile qmail-newmrh.c strerr.h stralloc.h gen_alloc.h substdio.h \
1240 getln.h exit.h readwrite.h open.h auto_qmail.h cdbmss.h cdbmake.h \
1241 uint32.h substdio.h
1242         ./compile qmail-newmrh.c
1243
1244 qmail-newu: \
1245 load qmail-newu.o cdbmss.o getln.a open.a seek.a cdbmake.a case.a \
1246 stralloc.a alloc.a substdio.a error.a str.a auto_qmail.o
1247         ./load qmail-newu cdbmss.o getln.a open.a seek.a cdbmake.a \
1248         case.a stralloc.a alloc.a substdio.a error.a str.a \
1249         auto_qmail.o 
1250
1251 qmail-newu.0: \
1252 qmail-newu.8
1253         nroff -man qmail-newu.8 > qmail-newu.0
1254
1255 qmail-newu.8: \
1256 qmail-newu.9 conf-break conf-spawn
1257         cat qmail-newu.9 \
1258         | sed s}QMAILHOME}"`head -1 conf-qmail`"}g \
1259         | sed s}BREAK}"`head -1 conf-break`"}g \
1260         | sed s}SPAWN}"`head -1 conf-spawn`"}g \
1261         > qmail-newu.8
1262
1263 qmail-newu.o: \
1264 compile qmail-newu.c stralloc.h gen_alloc.h subfd.h substdio.h \
1265 getln.h substdio.h cdbmss.h cdbmake.h uint32.h substdio.h exit.h \
1266 readwrite.h open.h error.h case.h auto_qmail.h
1267         ./compile qmail-newu.c
1268
1269 qmail-pop3d: \
1270 load qmail-pop3d.o commands.o case.a timeoutread.o timeoutwrite.o \
1271 maildir.o prioq.o now.o env.a strerr.a sig.a open.a getln.a \
1272 stralloc.a alloc.a substdio.a error.a str.a fs.a socket.lib
1273         ./load qmail-pop3d commands.o case.a timeoutread.o \
1274         timeoutwrite.o maildir.o prioq.o now.o env.a strerr.a sig.a \
1275         open.a getln.a stralloc.a alloc.a substdio.a error.a str.a \
1276         fs.a  `cat socket.lib`
1277
1278 qmail-pop3d.0: \
1279 qmail-pop3d.8
1280         nroff -man qmail-pop3d.8 > qmail-pop3d.0
1281
1282 qmail-pop3d.o: \
1283 compile qmail-pop3d.c commands.h sig.h getln.h stralloc.h gen_alloc.h \
1284 substdio.h alloc.h open.h prioq.h datetime.h gen_alloc.h scan.h fmt.h \
1285 str.h exit.h maildir.h strerr.h readwrite.h timeoutread.h \
1286 timeoutwrite.h
1287         ./compile qmail-pop3d.c
1288
1289 qmail-popup: \
1290 load qmail-popup.o commands.o timeoutread.o timeoutwrite.o now.o \
1291 case.a fd.a sig.a wait.a stralloc.a alloc.a substdio.a error.a str.a \
1292 fs.a socket.lib
1293         ./load qmail-popup commands.o timeoutread.o timeoutwrite.o \
1294         now.o case.a fd.a sig.a wait.a stralloc.a alloc.a \
1295         substdio.a error.a str.a fs.a  `cat socket.lib`
1296
1297 qmail-popup.0: \
1298 qmail-popup.8
1299         nroff -man qmail-popup.8 > qmail-popup.0
1300
1301 qmail-popup.o: \
1302 compile qmail-popup.c commands.h fd.h sig.h stralloc.h gen_alloc.h \
1303 substdio.h alloc.h wait.h str.h byte.h now.h datetime.h fmt.h exit.h \
1304 readwrite.h timeoutread.h timeoutwrite.h
1305         ./compile qmail-popup.c
1306
1307 qmail-pw2u: \
1308 load qmail-pw2u.o constmap.o control.o open.a getln.a case.a getopt.a \
1309 stralloc.a alloc.a substdio.a error.a str.a fs.a auto_usera.o \
1310 auto_break.o auto_qmail.o
1311         ./load qmail-pw2u constmap.o control.o open.a getln.a \
1312         case.a getopt.a stralloc.a alloc.a substdio.a error.a str.a \
1313         fs.a auto_usera.o auto_break.o auto_qmail.o 
1314
1315 qmail-pw2u.0: \
1316 qmail-pw2u.8
1317         nroff -man qmail-pw2u.8 > qmail-pw2u.0
1318
1319 qmail-pw2u.8: \
1320 qmail-pw2u.9 conf-break conf-spawn
1321         cat qmail-pw2u.9 \
1322         | sed s}QMAILHOME}"`head -1 conf-qmail`"}g \
1323         | sed s}BREAK}"`head -1 conf-break`"}g \
1324         | sed s}SPAWN}"`head -1 conf-spawn`"}g \
1325         > qmail-pw2u.8
1326
1327 qmail-pw2u.o: \
1328 compile qmail-pw2u.c substdio.h readwrite.h subfd.h substdio.h \
1329 sgetopt.h subgetopt.h control.h constmap.h stralloc.h gen_alloc.h \
1330 fmt.h str.h scan.h open.h error.h getln.h auto_break.h auto_qmail.h \
1331 auto_usera.h
1332         ./compile qmail-pw2u.c
1333
1334 qmail-qmqpc: \
1335 load qmail-qmqpc.o slurpclose.o timeoutread.o timeoutwrite.o \
1336 timeoutconn.o ip.o control.o auto_qmail.o sig.a ndelay.a open.a \
1337 getln.a substdio.a stralloc.a alloc.a error.a str.a fs.a socket.lib
1338         ./load qmail-qmqpc slurpclose.o timeoutread.o \
1339         timeoutwrite.o timeoutconn.o ip.o control.o auto_qmail.o \
1340         sig.a ndelay.a open.a getln.a substdio.a stralloc.a alloc.a \
1341         error.a str.a fs.a  `cat socket.lib`
1342
1343 qmail-qmqpc.0: \
1344 qmail-qmqpc.8
1345         nroff -man qmail-qmqpc.8 > qmail-qmqpc.0
1346
1347 qmail-qmqpc.o: \
1348 compile qmail-qmqpc.c substdio.h getln.h readwrite.h exit.h \
1349 stralloc.h gen_alloc.h slurpclose.h error.h sig.h ip.h timeoutconn.h \
1350 timeoutread.h timeoutwrite.h auto_qmail.h control.h fmt.h
1351         ./compile qmail-qmqpc.c
1352
1353 qmail-qmqpd: \
1354 load qmail-qmqpd.o received.o now.o date822fmt.o qmail.o auto_qmail.o \
1355 env.a substdio.a sig.a error.a wait.a fd.a str.a datetime.a fs.a
1356         ./load qmail-qmqpd received.o now.o date822fmt.o qmail.o \
1357         auto_qmail.o env.a substdio.a sig.a error.a wait.a fd.a \
1358         str.a datetime.a fs.a 
1359
1360 qmail-qmqpd.0: \
1361 qmail-qmqpd.8
1362         nroff -man qmail-qmqpd.8 > qmail-qmqpd.0
1363
1364 qmail-qmqpd.o: \
1365 compile qmail-qmqpd.c auto_qmail.h qmail.h substdio.h received.h \
1366 sig.h substdio.h readwrite.h exit.h now.h datetime.h fmt.h env.h
1367         ./compile qmail-qmqpd.c
1368
1369 qmail-qmtpd: \
1370 load qmail-qmtpd.o rcpthosts.o control.o constmap.o received.o \
1371 date822fmt.o now.o qmail.o cdb.a fd.a wait.a datetime.a open.a \
1372 getln.a sig.a case.a env.a stralloc.a alloc.a substdio.a error.a \
1373 str.a fs.a auto_qmail.o
1374         ./load qmail-qmtpd rcpthosts.o control.o constmap.o \
1375         received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
1376         datetime.a open.a getln.a sig.a case.a env.a stralloc.a \
1377         alloc.a substdio.a error.a str.a fs.a auto_qmail.o 
1378
1379 qmail-qmtpd.0: \
1380 qmail-qmtpd.8
1381         nroff -man qmail-qmtpd.8 > qmail-qmtpd.0
1382
1383 qmail-qmtpd.o: \
1384 compile qmail-qmtpd.c stralloc.h gen_alloc.h substdio.h qmail.h \
1385 substdio.h now.h datetime.h str.h fmt.h env.h sig.h rcpthosts.h \
1386 auto_qmail.h readwrite.h control.h received.h
1387         ./compile qmail-qmtpd.c
1388
1389 qmail-qread: \
1390 load qmail-qread.o fmtqfn.o readsubdir.o date822fmt.o datetime.a \
1391 open.a getln.a stralloc.a alloc.a substdio.a error.a str.a fs.a \
1392 auto_qmail.o auto_split.o
1393         ./load qmail-qread fmtqfn.o readsubdir.o date822fmt.o \
1394         datetime.a open.a getln.a stralloc.a alloc.a substdio.a \
1395         error.a str.a fs.a auto_qmail.o auto_split.o 
1396
1397 qmail-qread.0: \
1398 qmail-qread.8
1399         nroff -man qmail-qread.8 > qmail-qread.0
1400
1401 qmail-qread.o: \
1402 compile qmail-qread.c stralloc.h gen_alloc.h substdio.h subfd.h \
1403 substdio.h fmt.h str.h getln.h fmtqfn.h readsubdir.h direntry.h \
1404 auto_qmail.h open.h datetime.h date822fmt.h readwrite.h error.h \
1405 exit.h
1406         ./compile qmail-qread.c
1407
1408 qmail-qstat: \
1409 warn-auto.sh qmail-qstat.sh conf-qmail conf-break conf-split
1410         cat warn-auto.sh qmail-qstat.sh \
1411         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
1412         | sed s}BREAK}"`head -1 conf-break`"}g \
1413         | sed s}SPLIT}"`head -1 conf-split`"}g \
1414         > qmail-qstat
1415         chmod 755 qmail-qstat
1416
1417 qmail-qstat.0: \
1418 qmail-qstat.8
1419         nroff -man qmail-qstat.8 > qmail-qstat.0
1420
1421 qmail-queue: \
1422 load qmail-queue.o triggerpull.o fmtqfn.o now.o date822fmt.o \
1423 datetime.a seek.a ndelay.a open.a sig.a alloc.a substdio.a error.a \
1424 str.a fs.a auto_qmail.o auto_split.o auto_uids.o
1425         ./load qmail-queue triggerpull.o fmtqfn.o now.o \
1426         date822fmt.o datetime.a seek.a ndelay.a open.a sig.a \
1427         alloc.a substdio.a error.a str.a fs.a auto_qmail.o \
1428         auto_split.o auto_uids.o 
1429
1430 qmail-queue.0: \
1431 qmail-queue.8
1432         nroff -man qmail-queue.8 > qmail-queue.0
1433
1434 qmail-queue.o: \
1435 compile qmail-queue.c readwrite.h sig.h exit.h open.h seek.h fmt.h \
1436 alloc.h substdio.h datetime.h now.h datetime.h triggerpull.h extra.h \
1437 auto_qmail.h auto_uids.h date822fmt.h fmtqfn.h
1438         ./compile qmail-queue.c
1439
1440 qmail-remote: \
1441 load qmail-remote.o control.o constmap.o timeoutread.o timeoutwrite.o \
1442 timeoutconn.o tcpto.o now.o dns.o ip.o ipalloc.o ipme.o quote.o \
1443 ndelay.a case.a sig.a open.a lock.a seek.a getln.a stralloc.a alloc.a \
1444 substdio.a error.a str.a fs.a auto_qmail.o dns.lib socket.lib
1445         ./load qmail-remote control.o constmap.o timeoutread.o \
1446         timeoutwrite.o timeoutconn.o tcpto.o now.o dns.o ip.o \
1447         ipalloc.o ipme.o quote.o ndelay.a case.a sig.a open.a \
1448         lock.a seek.a getln.a stralloc.a alloc.a substdio.a error.a \
1449         str.a fs.a auto_qmail.o  `cat dns.lib` `cat socket.lib`
1450
1451 qmail-remote.0: \
1452 qmail-remote.8
1453         nroff -man qmail-remote.8 > qmail-remote.0
1454
1455 qmail-remote.o: \
1456 compile qmail-remote.c sig.h stralloc.h gen_alloc.h substdio.h \
1457 subfd.h substdio.h scan.h case.h error.h auto_qmail.h control.h dns.h \
1458 alloc.h quote.h ip.h ipalloc.h ip.h gen_alloc.h ipme.h ip.h ipalloc.h \
1459 gen_alloc.h gen_allocdefs.h str.h now.h datetime.h exit.h constmap.h \
1460 tcpto.h readwrite.h timeoutconn.h timeoutread.h timeoutwrite.h
1461         ./compile qmail-remote.c
1462
1463 qmail-rspawn: \
1464 load qmail-rspawn.o spawn.o tcpto_clean.o now.o coe.o sig.a open.a \
1465 seek.a lock.a wait.a fd.a stralloc.a alloc.a substdio.a error.a str.a \
1466 auto_qmail.o auto_uids.o auto_spawn.o
1467         ./load qmail-rspawn spawn.o tcpto_clean.o now.o coe.o \
1468         sig.a open.a seek.a lock.a wait.a fd.a stralloc.a alloc.a \
1469         substdio.a error.a str.a auto_qmail.o auto_uids.o \
1470         auto_spawn.o 
1471
1472 qmail-rspawn.0: \
1473 qmail-rspawn.8
1474         nroff -man qmail-rspawn.8 > qmail-rspawn.0
1475
1476 qmail-rspawn.o: \
1477 compile qmail-rspawn.c fd.h wait.h substdio.h exit.h fork.h error.h \
1478 tcpto.h
1479         ./compile qmail-rspawn.c
1480
1481 qmail-send: \
1482 load qmail-send.o qsutil.o control.o constmap.o newfield.o prioq.o \
1483 trigger.o fmtqfn.o quote.o now.o readsubdir.o qmail.o date822fmt.o \
1484 datetime.a case.a ndelay.a getln.a wait.a seek.a fd.a sig.a open.a \
1485 lock.a stralloc.a alloc.a substdio.a error.a str.a fs.a auto_qmail.o \
1486 auto_split.o env.a
1487         ./load qmail-send qsutil.o control.o constmap.o newfield.o \
1488         prioq.o trigger.o fmtqfn.o quote.o now.o readsubdir.o \
1489         qmail.o date822fmt.o datetime.a case.a ndelay.a getln.a \
1490         wait.a seek.a fd.a sig.a open.a lock.a stralloc.a alloc.a \
1491         substdio.a error.a str.a fs.a auto_qmail.o auto_split.o env.a
1492
1493 qmail-send.0: \
1494 qmail-send.8
1495         nroff -man qmail-send.8 > qmail-send.0
1496
1497 qmail-send.8: \
1498 qmail-send.9 conf-break conf-spawn
1499         cat qmail-send.9 \
1500         | sed s}QMAILHOME}"`head -1 conf-qmail`"}g \
1501         | sed s}BREAK}"`head -1 conf-break`"}g \
1502         | sed s}SPAWN}"`head -1 conf-spawn`"}g \
1503         > qmail-send.8
1504
1505 qmail-send.o: \
1506 compile qmail-send.c readwrite.h sig.h direntry.h control.h select.h \
1507 open.h seek.h exit.h lock.h ndelay.h now.h datetime.h getln.h \
1508 substdio.h alloc.h error.h stralloc.h gen_alloc.h str.h byte.h fmt.h \
1509 scan.h case.h auto_qmail.h trigger.h newfield.h stralloc.h quote.h \
1510 qmail.h substdio.h qsutil.h prioq.h datetime.h gen_alloc.h constmap.h \
1511 fmtqfn.h readsubdir.h direntry.h
1512         ./compile qmail-send.c
1513
1514 qmail-showctl: \
1515 load qmail-showctl.o auto_uids.o control.o open.a getln.a stralloc.a \
1516 alloc.a substdio.a error.a str.a fs.a auto_qmail.o auto_break.o \
1517 auto_patrn.o auto_spawn.o auto_split.o
1518         ./load qmail-showctl auto_uids.o control.o open.a getln.a \
1519         stralloc.a alloc.a substdio.a error.a str.a fs.a \
1520         auto_qmail.o auto_break.o auto_patrn.o auto_spawn.o \
1521         auto_split.o 
1522
1523 qmail-showctl.0: \
1524 qmail-showctl.8
1525         nroff -man qmail-showctl.8 > qmail-showctl.0
1526
1527 qmail-showctl.o: \
1528 compile qmail-showctl.c substdio.h subfd.h substdio.h exit.h fmt.h \
1529 str.h control.h constmap.h stralloc.h gen_alloc.h direntry.h \
1530 auto_uids.h auto_qmail.h auto_break.h auto_patrn.h auto_spawn.h \
1531 auto_split.h
1532         ./compile qmail-showctl.c
1533
1534 qmail-smtpd: \
1535 load qmail-smtpd.o addrcheck.o rcpthosts.o commands.o timeoutread.o \
1536 timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o received.o \
1537 date822fmt.o now.o qmail.o cdb.a fd.a wait.a datetime.a getln.a \
1538 open.a sig.a case.a env.a stralloc.a alloc.a substdio.a error.a str.a \
1539 fs.a auto_qmail.o socket.lib
1540         ./load qmail-smtpd addrcheck.o rcpthosts.o commands.o timeoutread.o \
1541         timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \
1542         received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
1543         datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
1544         alloc.a substdio.a error.a str.a fs.a auto_qmail.o  `cat \
1545         socket.lib`
1546
1547 qmail-smtpd.0: \
1548 qmail-smtpd.8
1549         nroff -man qmail-smtpd.8 > qmail-smtpd.0
1550
1551 qmail-smtpd.o: \
1552 compile qmail-smtpd.c sig.h readwrite.h stralloc.h gen_alloc.h \
1553 substdio.h alloc.h auto_qmail.h control.h received.h constmap.h \
1554 error.h ipme.h ip.h ipalloc.h ip.h gen_alloc.h ip.h qmail.h \
1555 substdio.h str.h fmt.h scan.h byte.h case.h env.h now.h datetime.h \
1556 exit.h rcpthosts.h timeoutread.h timeoutwrite.h commands.h addrcheck.h
1557         ./compile qmail-smtpd.c
1558
1559 addrcheck.o: \
1560 compile addrcheck.c cdb.h stralloc.h byte.h str.h
1561         ./compile addrcheck.c
1562
1563 qmail-start: \
1564 load qmail-start.o prot.o fd.a auto_uids.o
1565         ./load qmail-start prot.o fd.a auto_uids.o 
1566
1567 qmail-start.0: \
1568 qmail-start.8
1569         nroff -man qmail-start.8 > qmail-start.0
1570
1571 qmail-start.8: \
1572 qmail-start.9 conf-break conf-spawn
1573         cat qmail-start.9 \
1574         | sed s}QMAILHOME}"`head -1 conf-qmail`"}g \
1575         | sed s}BREAK}"`head -1 conf-break`"}g \
1576         | sed s}SPAWN}"`head -1 conf-spawn`"}g \
1577         > qmail-start.8
1578
1579 qmail-start.o: \
1580 compile qmail-start.c fd.h prot.h exit.h fork.h auto_uids.h
1581         ./compile qmail-start.c
1582
1583 qmail-tcpok: \
1584 load qmail-tcpok.o open.a lock.a strerr.a substdio.a error.a str.a \
1585 auto_qmail.o
1586         ./load qmail-tcpok open.a lock.a strerr.a substdio.a \
1587         error.a str.a auto_qmail.o 
1588
1589 qmail-tcpok.0: \
1590 qmail-tcpok.8
1591         nroff -man qmail-tcpok.8 > qmail-tcpok.0
1592
1593 qmail-tcpok.o: \
1594 compile qmail-tcpok.c strerr.h substdio.h lock.h open.h readwrite.h \
1595 auto_qmail.h exit.h
1596         ./compile qmail-tcpok.c
1597
1598 qmail-tcpto: \
1599 load qmail-tcpto.o ip.o now.o open.a lock.a substdio.a error.a str.a \
1600 fs.a auto_qmail.o
1601         ./load qmail-tcpto ip.o now.o open.a lock.a substdio.a \
1602         error.a str.a fs.a auto_qmail.o 
1603
1604 qmail-tcpto.0: \
1605 qmail-tcpto.8
1606         nroff -man qmail-tcpto.8 > qmail-tcpto.0
1607
1608 qmail-tcpto.o: \
1609 compile qmail-tcpto.c substdio.h subfd.h substdio.h auto_qmail.h \
1610 fmt.h ip.h lock.h error.h exit.h datetime.h now.h datetime.h
1611         ./compile qmail-tcpto.c
1612
1613 qmail-upq: \
1614 warn-auto.sh qmail-upq.sh conf-qmail conf-break conf-split
1615         cat warn-auto.sh qmail-upq.sh \
1616         | sed s}QMAIL}"`head -1 conf-qmail`"}g \
1617         | sed s}BREAK}"`head -1 conf-break`"}g \
1618         | sed s}SPLIT}"`head -1 conf-split`"}g \
1619         > qmail-upq
1620         chmod 755 qmail-upq
1621
1622 qmail-users.0: \
1623 qmail-users.5
1624         nroff -man qmail-users.5 > qmail-users.0
1625
1626 qmail-users.5: \
1627 qmail-users.9 conf-break conf-spawn
1628         cat qmail-users.9 \
1629         | sed s}QMAILHOME}"`head -1 conf-qmail`"}g \
1630         | sed s}BREAK}"`head -1 conf-break`"}g \
1631         | sed s}SPAWN}"`head -1 conf-spawn`"}g \
1632         > qmail-users.5
1633
1634 qmail-valid-addresses.0: \
1635 qmail-valid-addresses.8
1636         nroff -man qmail-valid-addresses.8 > qmail-valid-addresses.0
1637
1638 qmail.0: \
1639 qmail.7
1640         nroff -man qmail.7 > qmail.0
1641
1642 qmail.o: \
1643 compile qmail.c substdio.h readwrite.h wait.h exit.h fork.h fd.h \
1644 qmail.h substdio.h auto_qmail.h
1645         ./compile qmail.c
1646
1647 qreceipt: \
1648 load qreceipt.o headerbody.o hfield.o quote.o token822.o qmail.o \
1649 getln.a fd.a wait.a sig.a env.a stralloc.a alloc.a substdio.a error.a \
1650 str.a auto_qmail.o
1651         ./load qreceipt headerbody.o hfield.o quote.o token822.o \
1652         qmail.o getln.a fd.a wait.a sig.a env.a stralloc.a alloc.a \
1653         substdio.a error.a str.a auto_qmail.o 
1654
1655 qreceipt.0: \
1656 qreceipt.1
1657         nroff -man qreceipt.1 > qreceipt.0
1658
1659 qreceipt.o: \
1660 compile qreceipt.c sig.h env.h substdio.h stralloc.h gen_alloc.h \
1661 subfd.h substdio.h getln.h alloc.h str.h hfield.h token822.h \
1662 gen_alloc.h error.h gen_alloc.h gen_allocdefs.h headerbody.h exit.h \
1663 open.h quote.h qmail.h substdio.h
1664         ./compile qreceipt.c
1665
1666 qsmhook: \
1667 load qsmhook.o sig.a case.a fd.a wait.a getopt.a env.a stralloc.a \
1668 alloc.a substdio.a error.a str.a
1669         ./load qsmhook sig.a case.a fd.a wait.a getopt.a env.a \
1670         stralloc.a alloc.a substdio.a error.a str.a 
1671
1672 qsmhook.o: \
1673 compile qsmhook.c fd.h stralloc.h gen_alloc.h readwrite.h sgetopt.h \
1674 subgetopt.h wait.h env.h byte.h str.h alloc.h exit.h fork.h case.h \
1675 subfd.h substdio.h error.h substdio.h sig.h
1676         ./compile qsmhook.c
1677
1678 qsutil.o: \
1679 compile qsutil.c stralloc.h gen_alloc.h readwrite.h substdio.h \
1680 qsutil.h
1681         ./compile qsutil.c
1682
1683 quote.o: \
1684 compile quote.c stralloc.h gen_alloc.h str.h quote.h
1685         ./compile quote.c
1686
1687 rcpthosts.o: \
1688 compile rcpthosts.c cdb.h uint32.h byte.h open.h error.h control.h \
1689 constmap.h stralloc.h gen_alloc.h rcpthosts.h
1690         ./compile rcpthosts.c
1691
1692 readsubdir.o: \
1693 compile readsubdir.c readsubdir.h direntry.h fmt.h scan.h str.h \
1694 auto_split.h
1695         ./compile readsubdir.c
1696
1697 received.o: \
1698 compile received.c fmt.h qmail.h substdio.h now.h datetime.h \
1699 datetime.h date822fmt.h received.h
1700         ./compile received.c
1701
1702 remoteinfo.o: \
1703 compile remoteinfo.c byte.h substdio.h ip.h fmt.h timeoutconn.h \
1704 timeoutread.h timeoutwrite.h remoteinfo.h
1705         ./compile remoteinfo.c
1706
1707 scan_8long.o: \
1708 compile scan_8long.c scan.h
1709         ./compile scan_8long.c
1710
1711 scan_ulong.o: \
1712 compile scan_ulong.c scan.h
1713         ./compile scan_ulong.c
1714
1715 seek.a: \
1716 makelib seek_cur.o seek_end.o seek_set.o seek_trunc.o
1717         ./makelib seek.a seek_cur.o seek_end.o seek_set.o \
1718         seek_trunc.o
1719
1720 seek_cur.o: \
1721 compile seek_cur.c seek.h
1722         ./compile seek_cur.c
1723
1724 seek_end.o: \
1725 compile seek_end.c seek.h
1726         ./compile seek_end.c
1727
1728 seek_set.o: \
1729 compile seek_set.c seek.h
1730         ./compile seek_set.c
1731
1732 seek_trunc.o: \
1733 compile seek_trunc.c seek.h
1734         ./compile seek_trunc.c
1735
1736 select.h: \
1737 compile trysysel.c select.h1 select.h2
1738         ( ./compile trysysel.c >/dev/null 2>&1 \
1739         && cat select.h2 || cat select.h1 ) > select.h
1740         rm -f trysysel.o trysysel
1741
1742 sendmail: \
1743 load sendmail.o env.a getopt.a alloc.a substdio.a error.a str.a \
1744 auto_qmail.o
1745         ./load sendmail env.a getopt.a alloc.a substdio.a error.a \
1746         str.a auto_qmail.o 
1747
1748 sendmail.o: \
1749 compile sendmail.c sgetopt.h subgetopt.h substdio.h subfd.h \
1750 substdio.h alloc.h auto_qmail.h exit.h env.h str.h
1751         ./compile sendmail.c
1752
1753 setup: \
1754 it man
1755         ./install
1756
1757 sgetopt.o: \
1758 compile sgetopt.c substdio.h subfd.h substdio.h sgetopt.h subgetopt.h \
1759 subgetopt.h
1760         ./compile sgetopt.c
1761
1762 shar: \
1763 FILES BLURB BLURB2 BLURB3 BLURB4 README FAQ INSTALL INSTALL.alias \
1764 INSTALL.ctl INSTALL.ids INSTALL.maildir INSTALL.mbox INSTALL.vsm \
1765 REMOVE.sendmail REMOVE.binmail TEST.deliver TEST.receive UPGRADE \
1766 THOUGHTS TODO THANKS CHANGES SECURITY INTERNALS SENDMAIL \
1767 PIC.local2alias PIC.local2ext PIC.local2local PIC.local2rem \
1768 PIC.local2virt PIC.nullclient PIC.relaybad PIC.relaygood \
1769 PIC.rem2local FILES VERSION SYSDEPS TARGETS Makefile BIN.README \
1770 BIN.Makefile BIN.setup idedit.c conf-break auto_break.h conf-spawn \
1771 auto_spawn.h chkspawn.c conf-split auto_split.h conf-patrn \
1772 auto_patrn.h conf-users conf-groups auto_uids.h auto_usera.h extra.h \
1773 addresses.5 except.1 bouncesaying.1 condredirect.1 dot-qmail.9 \
1774 envelopes.5 forgeries.7 forward.1 maildir2mbox.1 maildirmake.1 \
1775 maildirwatch.1 mailsubj.1 mbox.5 preline.1 qbiff.1 qmail-clean.8 \
1776 qmail-command.8 qmail-control.9 qmail-getpw.9 qmail-header.5 \
1777 qmail-inject.8 qmail-limits.9 qmail-local.8 qmail-log.5 \
1778 qmail-lspawn.8 qmail-newmrh.9 qmail-newu.9 qmail-pop3d.8 \
1779 qmail-popup.8 qmail-pw2u.9 qmail-qmqpc.8 qmail-qmqpd.8 qmail-qmtpd.8 \
1780 qmail-qread.8 qmail-qstat.8 qmail-queue.8 qmail-remote.8 \
1781 qmail-rspawn.8 qmail-send.9 qmail-showctl.8 qmail-smtpd.8 \
1782 qmail-start.9 qmail-tcpok.8 qmail-tcpto.8 qmail-users.9 qmail.7 \
1783 qreceipt.1 splogger.8 tcp-env.1 config.sh config-fast.sh \
1784 qmail-clean.c qmail-getpw.c qmail-inject.c qmail-local.c \
1785 qmail-lspawn.c qmail-newmrh.c qmail-newu.c qmail-pop3d.c \
1786 qmail-popup.c qmail-pw2u.c qmail-qmqpc.c qmail-qmqpd.c qmail-qmtpd.c \
1787 qmail-qread.c qmail-qstat.sh qmail-queue.c qmail-remote.c \
1788 qmail-rspawn.c qmail-send.c qmail-showctl.c qmail-smtpd.c \
1789 qmail-start.c qmail-tcpok.c qmail-tcpto.c spawn.c dnscname.c dnsfq.c \
1790 dnsip.c dnsmxip.c dnsptr.c hostname.c ipmeprint.c tcp-env.c \
1791 sendmail.c qreceipt.c qsmhook.c qbiff.c forward.c preline.c predate.c \
1792 except.c bouncesaying.c condredirect.c maildirmake.c maildir2mbox.c \
1793 maildirwatch.c splogger.c qail.sh elq.sh pinq.sh qmail-upq.sh \
1794 datemail.sh mailsubj.sh qlx.h rcpthosts.h rcpthosts.c commands.h \
1795 commands.c dnsdoe.h dnsdoe.c fmtqfn.h fmtqfn.c gfrom.h gfrom.c \
1796 myctime.h myctime.c newfield.h newfield.c qsutil.h qsutil.c \
1797 readsubdir.h readsubdir.c received.h received.c tcpto.h tcpto.c \
1798 tcpto_clean.c trigger.h trigger.c triggerpull.h triggerpull.c \
1799 trynpbg1.c trysyslog.c conf-cc conf-ld home.sh home+df.sh proc.sh \
1800 proc+df.sh binm1.sh binm2.sh binm3.sh binm1+df.sh binm2+df.sh \
1801 binm3+df.sh find-systype.sh make-compile.sh make-load.sh \
1802 make-makelib.sh trycpp.c warn-auto.sh auto-str.c auto-int.c \
1803 auto-int8.c auto-gid.c auto-uid.c hier.c install.c instcheck.c \
1804 install-big.c alloc.3 alloc.h alloc.c alloc_re.c case.3 case.h \
1805 case_diffb.c case_diffs.c case_lowerb.c case_lowers.c case_starts.c \
1806 cdb.3 cdb.h cdb_hash.c cdb_seek.c cdb_unpack.c cdbmake.h \
1807 cdbmake_add.c cdbmake_hash.c cdbmake_pack.c cdbmss.h cdbmss.c coe.3 \
1808 coe.h coe.c fd.h fd_copy.3 fd_copy.c fd_move.3 fd_move.c fifo_make.3 \
1809 fifo.h fifo.c trymkffo.c fork.h1 fork.h2 tryvfork.c now.3 now.h now.c \
1810 open.h open_append.c open_excl.c open_read.c open_trunc.c \
1811 open_write.c seek.h seek_cur.c seek_end.c seek_set.c seek_trunc.c \
1812 conf-qmail auto_qmail.h qmail.h qmail.c gen_alloc.h gen_allocdefs.h \
1813 stralloc.3 stralloc.h stralloc_eady.c stralloc_pend.c stralloc_copy.c \
1814 stralloc_opyb.c stralloc_opys.c stralloc_cat.c stralloc_catb.c \
1815 stralloc_cats.c stralloc_arts.c strerr.h strerr_sys.c strerr_die.c \
1816 substdio.h substdio.c substdi.c substdo.c substdio_copy.c subfd.h \
1817 subfderr.c subfdouts.c subfdout.c subfdins.c subfdin.c readwrite.h \
1818 exit.h timeoutconn.h timeoutconn.c timeoutread.h timeoutread.c \
1819 timeoutwrite.h timeoutwrite.c remoteinfo.h remoteinfo.c uint32.h1 \
1820 uint32.h2 tryulong32.c wait.3 wait.h wait_pid.c wait_nohang.c \
1821 trywaitp.c sig.h sig_alarm.c sig_block.c sig_catch.c sig_pause.c \
1822 sig_pipe.c sig_child.c sig_term.c sig_hup.c sig_misc.c sig_bug.c \
1823 trysgact.c trysgprm.c env.3 env.h env.c envread.c byte.h byte_chr.c \
1824 byte_copy.c byte_cr.c byte_diff.c byte_rchr.c byte_zero.c str.h \
1825 str_chr.c str_cpy.c str_diff.c str_diffn.c str_len.c str_rchr.c \
1826 str_start.c lock.h lock_ex.c lock_exnb.c lock_un.c tryflock.c getln.3 \
1827 getln.h getln.c getln2.3 getln2.c sgetopt.3 sgetopt.h sgetopt.c \
1828 subgetopt.3 subgetopt.h subgetopt.c error.3 error_str.3 error_temp.3 \
1829 error.h error.c error_str.c error_temp.c fmt.h fmt_str.c fmt_strn.c \
1830 fmt_uint.c fmt_uint0.c fmt_ulong.c scan.h scan_ulong.c scan_8long.c \
1831 slurpclose.h slurpclose.c quote.h quote.c hfield.h hfield.c \
1832 headerbody.h headerbody.c token822.h token822.c control.h control.c \
1833 datetime.3 datetime.h datetime.c datetime_un.c prioq.h prioq.c \
1834 date822fmt.h date822fmt.c dns.h dns.c trylsock.c tryrsolv.c ip.h ip.c \
1835 ipalloc.h ipalloc.c select.h1 select.h2 trysysel.c ndelay.h ndelay.c \
1836 ndelay_off.c direntry.3 direntry.h1 direntry.h2 trydrent.c prot.h \
1837 prot.c chkshsgr.c warn-shsgr tryshsgr.c ipme.h ipme.c trysalen.c \
1838 maildir.5 maildir.h maildir.c tcp-environ.5 constmap.h constmap.c
1839         shar -m `cat FILES` > shar
1840         chmod 400 shar
1841
1842 sig.a: \
1843 makelib sig_alarm.o sig_block.o sig_catch.o sig_pause.o sig_pipe.o \
1844 sig_child.o sig_hup.o sig_term.o sig_bug.o sig_misc.o
1845         ./makelib sig.a sig_alarm.o sig_block.o sig_catch.o \
1846         sig_pause.o sig_pipe.o sig_child.o sig_hup.o sig_term.o \
1847         sig_bug.o sig_misc.o
1848
1849 sig_alarm.o: \
1850 compile sig_alarm.c sig.h
1851         ./compile sig_alarm.c
1852
1853 sig_block.o: \
1854 compile sig_block.c sig.h hassgprm.h
1855         ./compile sig_block.c
1856
1857 sig_bug.o: \
1858 compile sig_bug.c sig.h
1859         ./compile sig_bug.c
1860
1861 sig_catch.o: \
1862 compile sig_catch.c sig.h hassgact.h
1863         ./compile sig_catch.c
1864
1865 sig_child.o: \
1866 compile sig_child.c sig.h
1867         ./compile sig_child.c
1868
1869 sig_hup.o: \
1870 compile sig_hup.c sig.h
1871         ./compile sig_hup.c
1872
1873 sig_misc.o: \
1874 compile sig_misc.c sig.h
1875         ./compile sig_misc.c
1876
1877 sig_pause.o: \
1878 compile sig_pause.c sig.h hassgprm.h
1879         ./compile sig_pause.c
1880
1881 sig_pipe.o: \
1882 compile sig_pipe.c sig.h
1883         ./compile sig_pipe.c
1884
1885 sig_term.o: \
1886 compile sig_term.c sig.h
1887         ./compile sig_term.c
1888
1889 slurpclose.o: \
1890 compile slurpclose.c stralloc.h gen_alloc.h readwrite.h slurpclose.h \
1891 error.h
1892         ./compile slurpclose.c
1893
1894 socket.lib: \
1895 trylsock.c compile load
1896         ( ( ./compile trylsock.c && \
1897         ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \
1898         && echo -lsocket -lnsl || exit 0 ) > socket.lib
1899         rm -f trylsock.o trylsock
1900
1901 spawn.o: \
1902 compile chkspawn spawn.c sig.h wait.h substdio.h byte.h str.h \
1903 stralloc.h gen_alloc.h select.h exit.h coe.h open.h error.h \
1904 auto_qmail.h auto_uids.h auto_spawn.h
1905         ./chkspawn
1906         ./compile spawn.c
1907
1908 splogger: \
1909 load splogger.o substdio.a error.a str.a fs.a syslog.lib socket.lib
1910         ./load splogger substdio.a error.a str.a fs.a  `cat \
1911         syslog.lib` `cat socket.lib`
1912
1913 splogger.0: \
1914 splogger.8
1915         nroff -man splogger.8 > splogger.0
1916
1917 splogger.o: \
1918 compile splogger.c error.h substdio.h subfd.h substdio.h exit.h str.h \
1919 scan.h fmt.h
1920         ./compile splogger.c
1921
1922 str.a: \
1923 makelib str_len.o str_diff.o str_diffn.o str_cpy.o str_chr.o \
1924 str_rchr.o str_start.o byte_chr.o byte_rchr.o byte_diff.o byte_copy.o \
1925 byte_cr.o byte_zero.o
1926         ./makelib str.a str_len.o str_diff.o str_diffn.o str_cpy.o \
1927         str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.o \
1928         byte_diff.o byte_copy.o byte_cr.o byte_zero.o
1929
1930 str_chr.o: \
1931 compile str_chr.c str.h
1932         ./compile str_chr.c
1933
1934 str_cpy.o: \
1935 compile str_cpy.c str.h
1936         ./compile str_cpy.c
1937
1938 str_diff.o: \
1939 compile str_diff.c str.h
1940         ./compile str_diff.c
1941
1942 str_diffn.o: \
1943 compile str_diffn.c str.h
1944         ./compile str_diffn.c
1945
1946 str_len.o: \
1947 compile str_len.c str.h
1948         ./compile str_len.c
1949
1950 str_rchr.o: \
1951 compile str_rchr.c str.h
1952         ./compile str_rchr.c
1953
1954 str_start.o: \
1955 compile str_start.c str.h
1956         ./compile str_start.c
1957
1958 stralloc.a: \
1959 makelib stralloc_eady.o stralloc_pend.o stralloc_copy.o \
1960 stralloc_opys.o stralloc_opyb.o stralloc_cat.o stralloc_cats.o \
1961 stralloc_catb.o stralloc_arts.o
1962         ./makelib stralloc.a stralloc_eady.o stralloc_pend.o \
1963         stralloc_copy.o stralloc_opys.o stralloc_opyb.o \
1964         stralloc_cat.o stralloc_cats.o stralloc_catb.o \
1965         stralloc_arts.o
1966
1967 stralloc_arts.o: \
1968 compile stralloc_arts.c byte.h str.h stralloc.h gen_alloc.h
1969         ./compile stralloc_arts.c
1970
1971 stralloc_cat.o: \
1972 compile stralloc_cat.c byte.h stralloc.h gen_alloc.h
1973         ./compile stralloc_cat.c
1974
1975 stralloc_catb.o: \
1976 compile stralloc_catb.c stralloc.h gen_alloc.h byte.h
1977         ./compile stralloc_catb.c
1978
1979 stralloc_cats.o: \
1980 compile stralloc_cats.c byte.h str.h stralloc.h gen_alloc.h
1981         ./compile stralloc_cats.c
1982
1983 stralloc_copy.o: \
1984 compile stralloc_copy.c byte.h stralloc.h gen_alloc.h
1985         ./compile stralloc_copy.c
1986
1987 stralloc_eady.o: \
1988 compile stralloc_eady.c alloc.h stralloc.h gen_alloc.h \
1989 gen_allocdefs.h
1990         ./compile stralloc_eady.c
1991
1992 stralloc_opyb.o: \
1993 compile stralloc_opyb.c stralloc.h gen_alloc.h byte.h
1994         ./compile stralloc_opyb.c
1995
1996 stralloc_opys.o: \
1997 compile stralloc_opys.c byte.h str.h stralloc.h gen_alloc.h
1998         ./compile stralloc_opys.c
1999
2000 stralloc_pend.o: \
2001 compile stralloc_pend.c alloc.h stralloc.h gen_alloc.h \
2002 gen_allocdefs.h
2003         ./compile stralloc_pend.c
2004
2005 strerr.a: \
2006 makelib strerr_sys.o strerr_die.o
2007         ./makelib strerr.a strerr_sys.o strerr_die.o
2008
2009 strerr_die.o: \
2010 compile strerr_die.c substdio.h subfd.h substdio.h exit.h strerr.h
2011         ./compile strerr_die.c
2012
2013 strerr_sys.o: \
2014 compile strerr_sys.c error.h strerr.h
2015         ./compile strerr_sys.c
2016
2017 subfderr.o: \
2018 compile subfderr.c readwrite.h substdio.h subfd.h substdio.h
2019         ./compile subfderr.c
2020
2021 subfdin.o: \
2022 compile subfdin.c readwrite.h substdio.h subfd.h substdio.h
2023         ./compile subfdin.c
2024
2025 subfdins.o: \
2026 compile subfdins.c readwrite.h substdio.h subfd.h substdio.h
2027         ./compile subfdins.c
2028
2029 subfdout.o: \
2030 compile subfdout.c readwrite.h substdio.h subfd.h substdio.h
2031         ./compile subfdout.c
2032
2033 subfdouts.o: \
2034 compile subfdouts.c readwrite.h substdio.h subfd.h substdio.h
2035         ./compile subfdouts.c
2036
2037 subgetopt.o: \
2038 compile subgetopt.c subgetopt.h
2039         ./compile subgetopt.c
2040
2041 substdi.o: \
2042 compile substdi.c substdio.h byte.h error.h
2043         ./compile substdi.c
2044
2045 substdio.a: \
2046 makelib substdio.o substdi.o substdo.o subfderr.o subfdout.o \
2047 subfdouts.o subfdin.o subfdins.o substdio_copy.o
2048         ./makelib substdio.a substdio.o substdi.o substdo.o \
2049         subfderr.o subfdout.o subfdouts.o subfdin.o subfdins.o \
2050         substdio_copy.o
2051
2052 substdio.o: \
2053 compile substdio.c substdio.h
2054         ./compile substdio.c
2055
2056 substdio_copy.o: \
2057 compile substdio_copy.c substdio.h
2058         ./compile substdio_copy.c
2059
2060 substdo.o: \
2061 compile substdo.c substdio.h str.h byte.h error.h
2062         ./compile substdo.c
2063
2064 syslog.lib: \
2065 trysyslog.c compile load
2066         ( ( ./compile trysyslog.c && \
2067         ./load trysyslog -lgen ) >/dev/null 2>&1 \
2068         && echo -lgen || exit 0 ) > syslog.lib
2069         rm -f trysyslog.o trysyslog
2070
2071 systype: \
2072 find-systype trycpp.c
2073         ./find-systype > systype
2074
2075 tcp-env: \
2076 load tcp-env.o dns.o remoteinfo.o timeoutread.o timeoutwrite.o \
2077 timeoutconn.o ip.o ipalloc.o case.a ndelay.a sig.a env.a getopt.a \
2078 stralloc.a alloc.a substdio.a error.a str.a fs.a dns.lib socket.lib
2079         ./load tcp-env dns.o remoteinfo.o timeoutread.o \
2080         timeoutwrite.o timeoutconn.o ip.o ipalloc.o case.a ndelay.a \
2081         sig.a env.a getopt.a stralloc.a alloc.a substdio.a error.a \
2082         str.a fs.a  `cat dns.lib` `cat socket.lib`
2083
2084 tcp-env.0: \
2085 tcp-env.1
2086         nroff -man tcp-env.1 > tcp-env.0
2087
2088 tcp-env.o: \
2089 compile tcp-env.c sig.h stralloc.h gen_alloc.h str.h env.h fmt.h \
2090 scan.h subgetopt.h ip.h dns.h byte.h remoteinfo.h exit.h case.h
2091         ./compile tcp-env.c
2092
2093 tcp-environ.0: \
2094 tcp-environ.5
2095         nroff -man tcp-environ.5 > tcp-environ.0
2096
2097 tcpto.o: \
2098 compile tcpto.c tcpto.h open.h lock.h seek.h now.h datetime.h ip.h \
2099 byte.h datetime.h readwrite.h
2100         ./compile tcpto.c
2101
2102 tcpto_clean.o: \
2103 compile tcpto_clean.c tcpto.h open.h substdio.h readwrite.h
2104         ./compile tcpto_clean.c
2105
2106 timeoutconn.o: \
2107 compile timeoutconn.c ndelay.h select.h error.h readwrite.h ip.h \
2108 byte.h timeoutconn.h
2109         ./compile timeoutconn.c
2110
2111 timeoutread.o: \
2112 compile timeoutread.c timeoutread.h select.h error.h readwrite.h
2113         ./compile timeoutread.c
2114
2115 timeoutwrite.o: \
2116 compile timeoutwrite.c timeoutwrite.h select.h error.h readwrite.h
2117         ./compile timeoutwrite.c
2118
2119 token822.o: \
2120 compile token822.c stralloc.h gen_alloc.h alloc.h str.h token822.h \
2121 gen_alloc.h gen_allocdefs.h
2122         ./compile token822.c
2123
2124 trigger.o: \
2125 compile trigger.c select.h open.h trigger.h hasnpbg1.h
2126         ./compile trigger.c
2127
2128 triggerpull.o: \
2129 compile triggerpull.c ndelay.h open.h triggerpull.h
2130         ./compile triggerpull.c
2131
2132 uint32.h: \
2133 tryulong32.c compile load uint32.h1 uint32.h2
2134         ( ( ./compile tryulong32.c && ./load tryulong32 && \
2135         ./tryulong32 ) >/dev/null 2>&1 \
2136         && cat uint32.h2 || cat uint32.h1 ) > uint32.h
2137         rm -f tryulong32.o tryulong32
2138
2139 wait.a: \
2140 makelib wait_pid.o wait_nohang.o
2141         ./makelib wait.a wait_pid.o wait_nohang.o
2142
2143 wait_nohang.o: \
2144 compile wait_nohang.c haswaitp.h
2145         ./compile wait_nohang.c
2146
2147 wait_pid.o: \
2148 compile wait_pid.c error.h haswaitp.h
2149         ./compile wait_pid.c