Import ezmlm 0.53
[ezmlm] / Makefile
CommitLineData
5b62e993
MW
1SHELL=/bin/sh
2
3default: it
4
5alloc.0: \
6alloc.3
7 nroff -man alloc.3 > alloc.0
8
9alloc.a: \
10makelib alloc.o alloc_re.o
11 ./makelib alloc.a alloc.o alloc_re.o
12
13alloc.o: \
14compile alloc.c alloc.h alloc.c error.h alloc.c
15 ./compile alloc.c
16
17alloc_re.o: \
18compile alloc_re.c alloc.h alloc_re.c byte.h alloc_re.c
19 ./compile alloc_re.c
20
21auto-ccld.sh: \
22conf-cc conf-ld warn-auto.sh
23 ( cat warn-auto.sh; \
24 echo CC=\'`head -1 conf-cc`\'; \
25 echo LD=\'`head -1 conf-ld`\' \
26 ) > auto-ccld.sh
27
28auto-str: \
29load auto-str.o substdio.a error.a str.a
30 ./load auto-str substdio.a error.a str.a
31
32auto-str.o: \
33compile auto-str.c substdio.h auto-str.c readwrite.h auto-str.c \
34exit.h auto-str.c
35 ./compile auto-str.c
36
37auto_bin.c: \
38auto-str conf-bin
39 ./auto-str auto_bin `head -1 conf-bin` > auto_bin.c
40
41auto_bin.o: \
42compile auto_bin.c
43 ./compile auto_bin.c
44
45auto_qmail.c: \
46auto-str conf-qmail
47 ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c
48
49auto_qmail.o: \
50compile auto_qmail.c
51 ./compile auto_qmail.c
52
53byte_chr.o: \
54compile byte_chr.c byte.h byte_chr.c
55 ./compile byte_chr.c
56
57byte_copy.o: \
58compile byte_copy.c byte.h byte_copy.c
59 ./compile byte_copy.c
60
61byte_cr.o: \
62compile byte_cr.c byte.h byte_cr.c
63 ./compile byte_cr.c
64
65byte_diff.o: \
66compile byte_diff.c byte.h byte_diff.c
67 ./compile byte_diff.c
68
69byte_rchr.o: \
70compile byte_rchr.c byte.h byte_rchr.c
71 ./compile byte_rchr.c
72
73byte_zero.o: \
74compile byte_zero.c byte.h byte_zero.c
75 ./compile byte_zero.c
76
77case.0: \
78case.3
79 nroff -man case.3 > case.0
80
81case.a: \
82makelib case_diffb.o case_lowerb.o case_startb.o
83 ./makelib case.a case_diffb.o case_lowerb.o case_startb.o
84
85case_diffb.o: \
86compile case_diffb.c case.h case_diffb.c
87 ./compile case_diffb.c
88
89case_lowerb.o: \
90compile case_lowerb.c case.h case_lowerb.c
91 ./compile case_lowerb.c
92
93case_startb.o: \
94compile case_startb.c case.h case_startb.c
95 ./compile case_startb.c
96
97compile: \
98make-compile warn-auto.sh systype
99 ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \
100 compile
101 chmod 755 compile
102
103constmap.o: \
104compile constmap.c constmap.h constmap.c alloc.h constmap.c case.h \
105constmap.c
106 ./compile constmap.c
107
108cookie.o: \
109compile cookie.c cookie.h cookie.c str.h cookie.c uint32.h cookie.c \
110surfpcs.h uint32.h surfpcs.h cookie.c
111 ./compile cookie.c
112
113date822fmt.o: \
114compile date822fmt.c datetime.h date822fmt.c fmt.h date822fmt.c \
115date822fmt.h date822fmt.c
116 ./compile date822fmt.c
117
118datetime.0: \
119datetime.3
120 nroff -man datetime.3 > datetime.0
121
122datetime.o: \
123compile datetime.c datetime.h datetime.c
124 ./compile datetime.c
125
126direntry.0: \
127direntry.3
128 nroff -man direntry.3 > direntry.0
129
130direntry.h: \
131compile trydrent.c direntry.h1 direntry.h2
132 ( ./compile trydrent.c >/dev/null 2>&1 \
133 && cat direntry.h2 || cat direntry.h1 ) > direntry.h
134 rm -f trydrent.o
135
136env.0: \
137env.3
138 nroff -man env.3 > env.0
139
140env.a: \
141makelib envread.o
142 ./makelib env.a envread.o
143
144envread.o: \
145compile envread.c env.h envread.c str.h envread.c
146 ./compile envread.c
147
148error.0: \
149error.3
150 nroff -man error.3 > error.0
151
152error.a: \
153makelib error.o error_str.o
154 ./makelib error.a error.o error_str.o
155
156error.o: \
157compile error.c error.c error.h error.c
158 ./compile error.c
159
160error_str.0: \
161error_str.3
162 nroff -man error_str.3 > error_str.0
163
164error_str.o: \
165compile error_str.c error_str.c error.h error_str.c
166 ./compile error_str.c
167
168error_temp.0: \
169error_temp.3
170 nroff -man error_temp.3 > error_temp.0
171
172ezmlm-list: \
173load ezmlm-list.o strerr.a getln.a substdio.a stralloc.a alloc.a \
174error.a open.a str.a
175 ./load ezmlm-list strerr.a getln.a substdio.a stralloc.a \
176 alloc.a error.a open.a str.a
177
178ezmlm-list.0: \
179ezmlm-list.1
180 nroff -man ezmlm-list.1 > ezmlm-list.0
181
182ezmlm-list.o: \
183compile ezmlm-list.c stralloc.h gen_alloc.h stralloc.h ezmlm-list.c \
184substdio.h ezmlm-list.c getln.h ezmlm-list.c strerr.h ezmlm-list.c \
185error.h ezmlm-list.c readwrite.h ezmlm-list.c exit.h ezmlm-list.c \
186open.h ezmlm-list.c
187 ./compile ezmlm-list.c
188
189ezmlm-make: \
190load ezmlm-make.o auto_bin.o open.a getopt.a substdio.a strerr.a \
191stralloc.a alloc.a error.a str.a
192 ./load ezmlm-make auto_bin.o open.a getopt.a substdio.a \
193 strerr.a stralloc.a alloc.a error.a str.a
194
195ezmlm-make.0: \
196ezmlm-make.1
197 nroff -man ezmlm-make.1 > ezmlm-make.0
198
199ezmlm-make.o: \
200compile ezmlm-make.c ezmlm-make.c ezmlm-make.c sgetopt.h subgetopt.h \
201sgetopt.h ezmlm-make.c stralloc.h gen_alloc.h stralloc.h ezmlm-make.c \
202strerr.h ezmlm-make.c exit.h ezmlm-make.c readwrite.h ezmlm-make.c \
203open.h ezmlm-make.c substdio.h ezmlm-make.c str.h ezmlm-make.c \
204auto_bin.h ezmlm-make.c ezmlm-make.c ezmlm-make.c ezmlm-make.c \
205ezmlm-make.c
206 ./compile ezmlm-make.c
207
208ezmlm-manage: \
209load ezmlm-manage.o auto_qmail.o getconf.o subscribe.o log.o cookie.o \
210now.o datetime.o date822fmt.o slurpclose.o slurp.o qmail.o quote.o \
211surf.a getln.a env.a sig.a strerr.a substdio.a stralloc.a alloc.a \
212error.a str.a fs.a case.a open.a seek.a wait.a lock.a fd.a
213 ./load ezmlm-manage auto_qmail.o getconf.o subscribe.o \
214 log.o cookie.o now.o datetime.o date822fmt.o slurpclose.o \
215 slurp.o qmail.o quote.o surf.a getln.a env.a sig.a strerr.a \
216 substdio.a stralloc.a alloc.a error.a str.a fs.a case.a \
217 open.a seek.a wait.a lock.a fd.a
218
219ezmlm-manage.0: \
220ezmlm-manage.1
221 nroff -man ezmlm-manage.1 > ezmlm-manage.0
222
223ezmlm-manage.o: \
224compile ezmlm-manage.c ezmlm-manage.c ezmlm-manage.c error.h \
225ezmlm-manage.c stralloc.h gen_alloc.h stralloc.h ezmlm-manage.c str.h \
226ezmlm-manage.c env.h ezmlm-manage.c sig.h ezmlm-manage.c slurp.h \
227ezmlm-manage.c getconf.h ezmlm-manage.c strerr.h ezmlm-manage.c \
228byte.h ezmlm-manage.c getln.h ezmlm-manage.c case.h ezmlm-manage.c \
229qmail.h substdio.h qmail.h ezmlm-manage.c substdio.h substdio.h \
230ezmlm-manage.c readwrite.h ezmlm-manage.c seek.h ezmlm-manage.c \
231quote.h ezmlm-manage.c datetime.h ezmlm-manage.c now.h datetime.h \
232datetime.h now.h ezmlm-manage.c date822fmt.h ezmlm-manage.c fmt.h \
233ezmlm-manage.c subscribe.h strerr.h strerr.h subscribe.h \
234ezmlm-manage.c cookie.h ezmlm-manage.c
235 ./compile ezmlm-manage.c
236
237ezmlm-reject: \
238load ezmlm-reject.o getln.a strerr.a substdio.a error.a stralloc.a \
239alloc.a str.a getopt.a case.a
240 ./load ezmlm-reject getln.a strerr.a substdio.a error.a \
241 stralloc.a alloc.a str.a getopt.a case.a
242
243ezmlm-reject.0: \
244ezmlm-reject.1
245 nroff -man ezmlm-reject.1 > ezmlm-reject.0
246
247ezmlm-reject.o: \
248compile ezmlm-reject.c strerr.h ezmlm-reject.c substdio.h \
249ezmlm-reject.c readwrite.h ezmlm-reject.c stralloc.h gen_alloc.h \
250stralloc.h ezmlm-reject.c getln.h ezmlm-reject.c sgetopt.h \
251subgetopt.h sgetopt.h ezmlm-reject.c
252 ./compile ezmlm-reject.c
253
254ezmlm-return: \
255load ezmlm-return.o quote.o getconf.o issub.o subscribe.o log.o \
256slurpclose.o slurp.o now.o cookie.o surf.a lock.a env.a sig.a \
257strerr.a getln.a substdio.a stralloc.a alloc.a error.a str.a fs.a \
258case.a open.a
259 ./load ezmlm-return quote.o getconf.o issub.o subscribe.o \
260 log.o slurpclose.o slurp.o now.o cookie.o surf.a lock.a \
261 env.a sig.a strerr.a getln.a substdio.a stralloc.a alloc.a \
262 error.a str.a fs.a case.a open.a
263
264ezmlm-return.0: \
265ezmlm-return.1
266 nroff -man ezmlm-return.1 > ezmlm-return.0
267
268ezmlm-return.o: \
269compile ezmlm-return.c stralloc.h gen_alloc.h stralloc.h \
270ezmlm-return.c str.h ezmlm-return.c env.h ezmlm-return.c sig.h \
271ezmlm-return.c slurp.h ezmlm-return.c getconf.h ezmlm-return.c \
272strerr.h ezmlm-return.c byte.h ezmlm-return.c case.h ezmlm-return.c \
273getln.h ezmlm-return.c substdio.h ezmlm-return.c error.h \
274ezmlm-return.c quote.h ezmlm-return.c readwrite.h ezmlm-return.c \
275fmt.h ezmlm-return.c now.h datetime.h now.h ezmlm-return.c cookie.h \
276ezmlm-return.c subscribe.h strerr.h strerr.h subscribe.h \
277ezmlm-return.c issub.h strerr.h strerr.h issub.h ezmlm-return.c
278 ./compile ezmlm-return.c
279
280ezmlm-send: \
281load ezmlm-send.o auto_qmail.o getconf.o qmail.o constmap.o slurp.o \
282slurpclose.o wait.a getln.a strerr.a sig.a env.a open.a lock.a \
283substdio.a stralloc.a alloc.a error.a str.a fd.a case.a fs.a
284 ./load ezmlm-send auto_qmail.o getconf.o qmail.o \
285 constmap.o slurp.o slurpclose.o wait.a getln.a strerr.a \
286 sig.a env.a open.a lock.a substdio.a stralloc.a alloc.a \
287 error.a str.a fd.a case.a fs.a
288
289ezmlm-send.0: \
290ezmlm-send.1
291 nroff -man ezmlm-send.1 > ezmlm-send.0
292
293ezmlm-send.o: \
294compile ezmlm-send.c stralloc.h gen_alloc.h stralloc.h ezmlm-send.c \
295subfd.h substdio.h subfd.h ezmlm-send.c strerr.h ezmlm-send.c error.h \
296ezmlm-send.c qmail.h substdio.h substdio.h qmail.h ezmlm-send.c env.h \
297ezmlm-send.c lock.h ezmlm-send.c sig.h ezmlm-send.c open.h \
298ezmlm-send.c getln.h ezmlm-send.c case.h ezmlm-send.c scan.h \
299ezmlm-send.c str.h ezmlm-send.c fmt.h ezmlm-send.c readwrite.h \
300ezmlm-send.c exit.h ezmlm-send.c substdio.h substdio.h ezmlm-send.c \
301getconf.h ezmlm-send.c constmap.h ezmlm-send.c
302 ./compile ezmlm-send.c
303
304ezmlm-sub: \
305load ezmlm-sub.o subscribe.o log.o now.o fs.a strerr.a getln.a \
306substdio.a stralloc.a alloc.a error.a str.a case.a open.a lock.a
307 ./load ezmlm-sub subscribe.o log.o now.o fs.a strerr.a \
308 getln.a substdio.a stralloc.a alloc.a error.a str.a case.a \
309 open.a lock.a
310
311ezmlm-sub.0: \
312ezmlm-sub.1
313 nroff -man ezmlm-sub.1 > ezmlm-sub.0
314
315ezmlm-sub.o: \
316compile ezmlm-sub.c strerr.h ezmlm-sub.c subscribe.h strerr.h \
317strerr.h subscribe.h ezmlm-sub.c log.h ezmlm-sub.c
318 ./compile ezmlm-sub.c
319
320ezmlm-unsub: \
321load ezmlm-unsub.o subscribe.o log.o now.o fs.a strerr.a getln.a \
322substdio.a stralloc.a alloc.a error.a str.a case.a open.a lock.a
323 ./load ezmlm-unsub subscribe.o log.o now.o fs.a strerr.a \
324 getln.a substdio.a stralloc.a alloc.a error.a str.a case.a \
325 open.a lock.a
326
327ezmlm-unsub.0: \
328ezmlm-unsub.1
329 nroff -man ezmlm-unsub.1 > ezmlm-unsub.0
330
331ezmlm-unsub.o: \
332compile ezmlm-unsub.c strerr.h ezmlm-unsub.c subscribe.h strerr.h \
333strerr.h subscribe.h ezmlm-unsub.c log.h ezmlm-unsub.c
334 ./compile ezmlm-unsub.c
335
336ezmlm-warn: \
337load ezmlm-warn.o auto_qmail.o getconf.o cookie.o issub.o now.o \
338slurpclose.o slurp.o quote.o datetime.o date822fmt.o qmail.o surf.a \
339case.a strerr.a sig.a getln.a substdio.a stralloc.a alloc.a error.a \
340open.a lock.a str.a fs.a fd.a wait.a
341 ./load ezmlm-warn auto_qmail.o getconf.o cookie.o issub.o \
342 now.o slurpclose.o slurp.o quote.o datetime.o date822fmt.o \
343 qmail.o surf.a case.a strerr.a sig.a getln.a substdio.a \
344 stralloc.a alloc.a error.a open.a lock.a str.a fs.a fd.a \
345 wait.a
346
347ezmlm-warn.0: \
348ezmlm-warn.1
349 nroff -man ezmlm-warn.1 > ezmlm-warn.0
350
351ezmlm-warn.o: \
352compile ezmlm-warn.c ezmlm-warn.c ezmlm-warn.c direntry.h direntry.h \
353direntry.h ezmlm-warn.c readwrite.h ezmlm-warn.c getln.h ezmlm-warn.c \
354substdio.h ezmlm-warn.c stralloc.h gen_alloc.h stralloc.h \
355ezmlm-warn.c slurp.h ezmlm-warn.c getconf.h ezmlm-warn.c byte.h \
356ezmlm-warn.c error.h ezmlm-warn.c str.h ezmlm-warn.c strerr.h \
357ezmlm-warn.c sig.h ezmlm-warn.c now.h datetime.h now.h ezmlm-warn.c \
358datetime.h datetime.h ezmlm-warn.c date822fmt.h ezmlm-warn.c fmt.h \
359ezmlm-warn.c cookie.h ezmlm-warn.c qmail.h substdio.h substdio.h \
360qmail.h ezmlm-warn.c
361 ./compile ezmlm-warn.c
362
363ezmlm-weed: \
364load ezmlm-weed.o getln.a strerr.a substdio.a error.a stralloc.a \
365alloc.a str.a
366 ./load ezmlm-weed getln.a strerr.a substdio.a error.a \
367 stralloc.a alloc.a str.a
368
369ezmlm-weed.0: \
370ezmlm-weed.1
371 nroff -man ezmlm-weed.1 > ezmlm-weed.0
372
373ezmlm-weed.o: \
374compile ezmlm-weed.c stralloc.h gen_alloc.h stralloc.h ezmlm-weed.c \
375str.h ezmlm-weed.c byte.h ezmlm-weed.c readwrite.h ezmlm-weed.c \
376substdio.h ezmlm-weed.c getln.h ezmlm-weed.c strerr.h ezmlm-weed.c
377 ./compile ezmlm-weed.c
378
379ezmlm.0: \
380ezmlm.5
381 nroff -man ezmlm.5 > ezmlm.0
382
383fd.a: \
384makelib fd_copy.o fd_move.o
385 ./makelib fd.a fd_copy.o fd_move.o
386
387fd_copy.0: \
388fd_copy.3
389 nroff -man fd_copy.3 > fd_copy.0
390
391fd_copy.o: \
392compile fd_copy.c fd_copy.c fd.h fd_copy.c
393 ./compile fd_copy.c
394
395fd_move.0: \
396fd_move.3
397 nroff -man fd_move.3 > fd_move.0
398
399fd_move.o: \
400compile fd_move.c fd.h fd_move.c
401 ./compile fd_move.c
402
403find-systype: \
404find-systype.sh auto-ccld.sh
405 cat auto-ccld.sh find-systype.sh > find-systype
406 chmod 755 find-systype
407
408fmt_str.o: \
409compile fmt_str.c fmt.h fmt_str.c
410 ./compile fmt_str.c
411
412fmt_uint.o: \
413compile fmt_uint.c fmt.h fmt_uint.c
414 ./compile fmt_uint.c
415
416fmt_uint0.o: \
417compile fmt_uint0.c fmt.h fmt_uint0.c
418 ./compile fmt_uint0.c
419
420fmt_ulong.o: \
421compile fmt_ulong.c fmt.h fmt_ulong.c
422 ./compile fmt_ulong.c
423
424fork.h: \
425compile load tryvfork.c fork.h1 fork.h2
426 ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \
427 2>&1 \
428 && cat fork.h2 || cat fork.h1 ) > fork.h
429 rm -f tryvfork.o tryvfork
430
431fs.a: \
432makelib fmt_str.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o \
433scan_8long.o
434 ./makelib fs.a fmt_str.o fmt_uint.o fmt_uint0.o \
435 fmt_ulong.o scan_ulong.o scan_8long.o
436
437getconf.o: \
438compile getconf.c stralloc.h gen_alloc.h stralloc.h getconf.c slurp.h \
439getconf.c strerr.h getconf.c getconf.h getconf.c
440 ./compile getconf.c
441
442getln.0: \
443getln.3
444 nroff -man getln.3 > getln.0
445
446getln.a: \
447makelib getln.o getln2.o
448 ./makelib getln.a getln.o getln2.o
449
450getln.o: \
451compile getln.c substdio.h getln.c byte.h getln.c stralloc.h \
452gen_alloc.h stralloc.h getln.c getln.h getln.c
453 ./compile getln.c
454
455getln2.0: \
456getln2.3
457 nroff -man getln2.3 > getln2.0
458
459getln2.o: \
460compile getln2.c substdio.h getln2.c stralloc.h gen_alloc.h \
461stralloc.h getln2.c byte.h getln2.c getln.h getln2.c
462 ./compile getln2.c
463
464getopt.0: \
465getopt.3
466 nroff -man getopt.3 > getopt.0
467
468getopt.a: \
469makelib subgetopt.o sgetopt.o
470 ./makelib getopt.a subgetopt.o sgetopt.o
471
472hasflock.h: \
473tryflock.c compile load
474 ( ( ./compile tryflock.c && ./load tryflock ) >/dev/null \
475 2>&1 \
476 && echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h
477 rm -f tryflock.o tryflock
478
479hassgact.h: \
480trysgact.c compile load
481 ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \
482 2>&1 \
483 && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h
484 rm -f trysgact.o trysgact
485
486install: \
487load install.o getln.a strerr.a substdio.a stralloc.a alloc.a open.a \
488error.a str.a fs.a
489 ./load install getln.a strerr.a substdio.a stralloc.a \
490 alloc.a open.a error.a str.a fs.a
491
492install.o: \
493compile install.c substdio.h install.c stralloc.h gen_alloc.h \
494stralloc.h install.c getln.h install.c readwrite.h install.c exit.h \
495install.c open.h install.c error.h install.c strerr.h install.c \
496byte.h install.c
497 ./compile install.c
498
499issub.o: \
500compile issub.c stralloc.h gen_alloc.h stralloc.h issub.c getln.h \
501issub.c readwrite.h issub.c substdio.h issub.c open.h issub.c byte.h \
502issub.c case.h issub.c lock.h issub.c error.h issub.c issub.h \
503strerr.h issub.h issub.c uint32.h issub.c
504 ./compile issub.c
505
506it: \
507ezmlm-make ezmlm-manage ezmlm-send ezmlm-reject ezmlm-return \
508ezmlm-warn ezmlm-weed ezmlm-list ezmlm-sub ezmlm-unsub
509
510load: \
511make-load warn-auto.sh systype
512 ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
513 chmod 755 load
514
515lock.a: \
516makelib lock_ex.o
517 ./makelib lock.a lock_ex.o
518
519lock_ex.o: \
520compile lock_ex.c lock_ex.c lock_ex.c lock_ex.c hasflock.h lock_ex.c \
521lock.h lock_ex.c
522 ./compile lock_ex.c
523
524log.o: \
525compile log.c substdio.h log.c readwrite.h log.c stralloc.h \
526gen_alloc.h stralloc.h log.c log.h log.c now.h datetime.h now.h log.c \
527fmt.h log.c open.h log.c
528 ./compile log.c
529
530make-compile: \
531make-compile.sh auto-ccld.sh
532 cat auto-ccld.sh make-compile.sh > make-compile
533 chmod 755 make-compile
534
535make-load: \
536make-load.sh auto-ccld.sh
537 cat auto-ccld.sh make-load.sh > make-load
538 chmod 755 make-load
539
540make-makelib: \
541make-makelib.sh auto-ccld.sh
542 cat auto-ccld.sh make-makelib.sh > make-makelib
543 chmod 755 make-makelib
544
545makelib: \
546make-makelib warn-auto.sh systype
547 ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \
548 makelib
549 chmod 755 makelib
550
551man: \
552ezmlm.0 ezmlm-make.0 ezmlm-manage.0 ezmlm-send.0 ezmlm-reject.0 \
553ezmlm-return.0 ezmlm-warn.0 ezmlm-weed.0 ezmlm-list.0 ezmlm-sub.0 \
554ezmlm-unsub.0 alloc.0 case.0 datetime.0 direntry.0 env.0 error.0 \
555error_str.0 error_temp.0 ezmlm.0 fd_copy.0 fd_move.0 getln.0 getln2.0 \
556getopt.0 now.0 sgetopt.0 stralloc.0 subfd.0 subgetopt.0 substdio.0 \
557substdio_copy.0 substdio_in.0 substdio_out.0 surf.0 surfpcs.0 wait.0
558
559now.0: \
560now.3
561 nroff -man now.3 > now.0
562
563now.o: \
564compile now.c now.c datetime.h now.c now.h datetime.h datetime.h \
565now.h now.c
566 ./compile now.c
567
568open.a: \
569makelib open_append.o open_read.o open_trunc.o
570 ./makelib open.a open_append.o open_read.o open_trunc.o
571
572open_append.o: \
573compile open_append.c open_append.c open_append.c open.h \
574open_append.c
575 ./compile open_append.c
576
577open_read.o: \
578compile open_read.c open_read.c open_read.c open.h open_read.c
579 ./compile open_read.c
580
581open_trunc.o: \
582compile open_trunc.c open_trunc.c open_trunc.c open.h open_trunc.c
583 ./compile open_trunc.c
584
585qmail.o: \
586compile qmail.c substdio.h qmail.c readwrite.h qmail.c wait.h qmail.c \
587exit.h qmail.c fork.h qmail.c fd.h qmail.c qmail.h substdio.h \
588substdio.h qmail.h qmail.c auto_qmail.h qmail.c
589 ./compile qmail.c
590
591quote.o: \
592compile quote.c stralloc.h gen_alloc.h stralloc.h quote.c str.h \
593quote.c quote.h quote.c
594 ./compile quote.c
595
596scan_8long.o: \
597compile scan_8long.c scan.h scan_8long.c
598 ./compile scan_8long.c
599
600scan_ulong.o: \
601compile scan_ulong.c scan.h scan_ulong.c
602 ./compile scan_ulong.c
603
604seek.a: \
605makelib seek_set.o
606 ./makelib seek.a seek_set.o
607
608seek_set.o: \
609compile seek_set.c seek_set.c seek.h seek_set.c
610 ./compile seek_set.c
611
612setup: \
613it man install conf-bin conf-man
614 ./install "`head -1 conf-bin`" < BIN
615 ./install "`head -1 conf-man`" < MAN
616
617sgetopt.0: \
618sgetopt.3
619 nroff -man sgetopt.3 > sgetopt.0
620
621sgetopt.o: \
622compile sgetopt.c substdio.h sgetopt.c subfd.h substdio.h substdio.h \
623subfd.h sgetopt.c sgetopt.h sgetopt.h subgetopt.h sgetopt.h sgetopt.c \
624subgetopt.h subgetopt.h sgetopt.c
625 ./compile sgetopt.c
626
627shar: \
628FILES BLURB README INSTALL TODO THANKS CHANGES FILES BIN MAN VERSION \
629SYSDEPS Makefile ezmlm.5 ezmlm-make.1 ezmlm-make.c ezmlm-send.1 \
630ezmlm-send.c ezmlm-reject.1 ezmlm-reject.c ezmlm-list.1 ezmlm-list.c \
631ezmlm-sub.1 ezmlm-sub.c ezmlm-unsub.1 ezmlm-unsub.c ezmlm-manage.1 \
632ezmlm-manage.c ezmlm-return.1 ezmlm-return.c ezmlm-warn.1 \
633ezmlm-warn.c ezmlm-weed.1 ezmlm-weed.c getconf.h getconf.c log.h \
634log.c issub.h issub.c subscribe.h subscribe.c cookie.h cookie.c \
635auto-str.c conf-bin auto_bin.h conf-man install.c conf-cc conf-ld \
636find-systype.sh make-compile.sh make-load.sh make-makelib.sh trycpp.c \
637warn-auto.sh fork.h1 fork.h2 tryvfork.c wait.3 wait.h wait_pid.c \
638trywaitp.c error.3 error_str.3 error_temp.3 error.h error.c \
639error_str.c substdio.3 substdio_copy.3 substdio_in.3 substdio_out.3 \
640substdio.h substdio.c substdi.c substdo.c substdio_copy.c subfd.3 \
641subfd.h subfderr.c readwrite.h exit.h byte.h byte_chr.c byte_copy.c \
642byte_cr.c byte_diff.c byte_rchr.c byte_zero.c str.h str_chr.c \
643str_cpy.c str_diff.c str_diffn.c str_len.c str_rchr.c str_start.c \
644getopt.3 sgetopt.3 subgetopt.3 sgetopt.h sgetopt.c subgetopt.h \
645subgetopt.c strerr.h strerr.c strerr_sys.c strerr_die.c gen_alloc.h \
646gen_allocdefs.h stralloc.3 stralloc.h stralloc_eady.c stralloc_pend.c \
647stralloc_copy.c stralloc_opyb.c stralloc_opys.c stralloc_cat.c \
648stralloc_catb.c stralloc_cats.c stralloc_arts.c alloc.3 alloc.h \
649alloc.c alloc_re.c open.h open_append.c open_read.c open_trunc.c \
650uint32.h1 uint32.h2 tryulong32.c case.3 case.h case_diffb.c \
651case_lowerb.c case_startb.c fmt.h fmt_str.c fmt_uint.c fmt_uint0.c \
652fmt_ulong.c scan.h scan_ulong.c scan_8long.c lock.h lock_ex.c \
653tryflock.c env.3 env.h envread.c slurpclose.h slurpclose.c sig.h \
654sig_catch.c sig_pipe.c trysgact.c datetime.3 datetime.h datetime.c \
655date822fmt.h date822fmt.c now.3 now.h now.c quote.h quote.c seek.h \
656seek_set.c conf-qmail auto_qmail.h qmail.h qmail.c direntry.3 \
657direntry.h1 direntry.h2 trydrent.c getln.3 getln.h getln.c getln2.3 \
658getln2.c fd.h fd_copy.3 fd_copy.c fd_move.3 fd_move.c surf.3 surf.h \
659surf.c surfpcs.3 surfpcs.h surfpcs.c slurp.h slurp.c constmap.h \
660constmap.c
661 shar -m `cat FILES` > shar
662 chmod 400 shar
663
664sig.a: \
665makelib sig_catch.o sig_pipe.o
666 ./makelib sig.a sig_catch.o sig_pipe.o
667
668sig_catch.o: \
669compile sig_catch.c sig_catch.c sig.h sig_catch.c hassgact.h \
670sig_catch.c
671 ./compile sig_catch.c
672
673sig_pipe.o: \
674compile sig_pipe.c sig_pipe.c sig.h sig_pipe.c
675 ./compile sig_pipe.c
676
677slurp.o: \
678compile slurp.c stralloc.h gen_alloc.h stralloc.h slurp.c slurp.h \
679slurp.c error.h slurp.c open.h slurp.c
680 ./compile slurp.c
681
682slurpclose.o: \
683compile slurpclose.c stralloc.h gen_alloc.h stralloc.h slurpclose.c \
684readwrite.h slurpclose.c slurpclose.h slurpclose.c error.h \
685slurpclose.c
686 ./compile slurpclose.c
687
688str.a: \
689makelib str_len.o str_diff.o str_diffn.o str_cpy.o str_chr.o \
690str_rchr.o str_start.o byte_chr.o byte_rchr.o byte_diff.o byte_copy.o \
691byte_cr.o byte_zero.o
692 ./makelib str.a str_len.o str_diff.o str_diffn.o str_cpy.o \
693 str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.o \
694 byte_diff.o byte_copy.o byte_cr.o byte_zero.o
695
696str_chr.o: \
697compile str_chr.c str.h str_chr.c
698 ./compile str_chr.c
699
700str_cpy.o: \
701compile str_cpy.c str.h str_cpy.c
702 ./compile str_cpy.c
703
704str_diff.o: \
705compile str_diff.c str.h str_diff.c
706 ./compile str_diff.c
707
708str_diffn.o: \
709compile str_diffn.c str.h str_diffn.c
710 ./compile str_diffn.c
711
712str_len.o: \
713compile str_len.c str.h str_len.c
714 ./compile str_len.c
715
716str_rchr.o: \
717compile str_rchr.c str.h str_rchr.c
718 ./compile str_rchr.c
719
720str_start.o: \
721compile str_start.c str.h str_start.c
722 ./compile str_start.c
723
724stralloc.0: \
725stralloc.3
726 nroff -man stralloc.3 > stralloc.0
727
728stralloc.a: \
729makelib stralloc_eady.o stralloc_pend.o stralloc_copy.o \
730stralloc_opys.o stralloc_opyb.o stralloc_cat.o stralloc_cats.o \
731stralloc_catb.o stralloc_arts.o
732 ./makelib stralloc.a stralloc_eady.o stralloc_pend.o \
733 stralloc_copy.o stralloc_opys.o stralloc_opyb.o \
734 stralloc_cat.o stralloc_cats.o stralloc_catb.o \
735 stralloc_arts.o
736
737stralloc_arts.o: \
738compile stralloc_arts.c byte.h stralloc_arts.c str.h stralloc_arts.c \
739stralloc.h gen_alloc.h stralloc.h stralloc_arts.c
740 ./compile stralloc_arts.c
741
742stralloc_cat.o: \
743compile stralloc_cat.c byte.h stralloc_cat.c stralloc.h gen_alloc.h \
744stralloc.h stralloc_cat.c
745 ./compile stralloc_cat.c
746
747stralloc_catb.o: \
748compile stralloc_catb.c stralloc.h gen_alloc.h stralloc.h \
749stralloc_catb.c byte.h stralloc_catb.c
750 ./compile stralloc_catb.c
751
752stralloc_cats.o: \
753compile stralloc_cats.c byte.h stralloc_cats.c str.h stralloc_cats.c \
754stralloc.h gen_alloc.h stralloc.h stralloc_cats.c
755 ./compile stralloc_cats.c
756
757stralloc_copy.o: \
758compile stralloc_copy.c byte.h stralloc_copy.c stralloc.h gen_alloc.h \
759stralloc.h stralloc_copy.c
760 ./compile stralloc_copy.c
761
762stralloc_eady.o: \
763compile stralloc_eady.c alloc.h stralloc_eady.c stralloc.h \
764gen_alloc.h stralloc.h stralloc_eady.c gen_allocdefs.h \
765gen_allocdefs.h gen_allocdefs.h stralloc_eady.c
766 ./compile stralloc_eady.c
767
768stralloc_opyb.o: \
769compile stralloc_opyb.c stralloc.h gen_alloc.h stralloc.h \
770stralloc_opyb.c byte.h stralloc_opyb.c
771 ./compile stralloc_opyb.c
772
773stralloc_opys.o: \
774compile stralloc_opys.c byte.h stralloc_opys.c str.h stralloc_opys.c \
775stralloc.h gen_alloc.h stralloc.h stralloc_opys.c
776 ./compile stralloc_opys.c
777
778stralloc_pend.o: \
779compile stralloc_pend.c alloc.h stralloc_pend.c stralloc.h \
780gen_alloc.h stralloc.h stralloc_pend.c gen_allocdefs.h \
781gen_allocdefs.h gen_allocdefs.h stralloc_pend.c
782 ./compile stralloc_pend.c
783
784strerr.a: \
785makelib strerr.o strerr_sys.o strerr_die.o
786 ./makelib strerr.a strerr.o strerr_sys.o strerr_die.o
787
788strerr.o: \
789compile strerr.c stralloc.h gen_alloc.h stralloc.h strerr.c strerr.h \
790strerr.c
791 ./compile strerr.c
792
793strerr_die.o: \
794compile strerr_die.c substdio.h strerr_die.c subfd.h substdio.h \
795substdio.h subfd.h strerr_die.c exit.h strerr_die.c strerr.h \
796strerr_die.c
797 ./compile strerr_die.c
798
799strerr_sys.o: \
800compile strerr_sys.c error.h strerr_sys.c strerr.h strerr_sys.c
801 ./compile strerr_sys.c
802
803subfd.0: \
804subfd.3
805 nroff -man subfd.3 > subfd.0
806
807subfderr.o: \
808compile subfderr.c readwrite.h subfderr.c substdio.h subfderr.c \
809subfd.h substdio.h substdio.h subfd.h subfderr.c
810 ./compile subfderr.c
811
812subgetopt.0: \
813subgetopt.3
814 nroff -man subgetopt.3 > subgetopt.0
815
816subgetopt.o: \
817compile subgetopt.c subgetopt.h subgetopt.h subgetopt.c
818 ./compile subgetopt.c
819
820subscribe.o: \
821compile subscribe.c stralloc.h gen_alloc.h stralloc.h subscribe.c \
822getln.h subscribe.c readwrite.h subscribe.c substdio.h subscribe.c \
823strerr.h subscribe.c open.h subscribe.c byte.h subscribe.c case.h \
824subscribe.c lock.h subscribe.c error.h subscribe.c uint32.h \
825subscribe.c subscribe.h strerr.h strerr.h subscribe.h subscribe.c
826 ./compile subscribe.c
827
828substdi.o: \
829compile substdi.c substdio.h substdi.c byte.h substdi.c error.h \
830substdi.c
831 ./compile substdi.c
832
833substdio.0: \
834substdio.3
835 nroff -man substdio.3 > substdio.0
836
837substdio.a: \
838makelib substdio.o substdi.o substdo.o subfderr.o substdio_copy.o
839 ./makelib substdio.a substdio.o substdi.o substdo.o \
840 subfderr.o substdio_copy.o
841
842substdio.o: \
843compile substdio.c substdio.h substdio.c
844 ./compile substdio.c
845
846substdio_copy.0: \
847substdio_copy.3
848 nroff -man substdio_copy.3 > substdio_copy.0
849
850substdio_copy.o: \
851compile substdio_copy.c substdio.h substdio_copy.c
852 ./compile substdio_copy.c
853
854substdio_in.0: \
855substdio_in.3
856 nroff -man substdio_in.3 > substdio_in.0
857
858substdio_out.0: \
859substdio_out.3
860 nroff -man substdio_out.3 > substdio_out.0
861
862substdo.o: \
863compile substdo.c substdio.h substdo.c str.h substdo.c byte.h \
864substdo.c error.h substdo.c
865 ./compile substdo.c
866
867surf.0: \
868surf.3
869 nroff -man surf.3 > surf.0
870
871surf.a: \
872makelib surf.o surfpcs.o
873 ./makelib surf.a surf.o surfpcs.o
874
875surf.o: \
876compile surf.c surf.h surf.c uint32.h surf.c
877 ./compile surf.c
878
879surfpcs.0: \
880surfpcs.3
881 nroff -man surfpcs.3 > surfpcs.0
882
883surfpcs.o: \
884compile surfpcs.c surf.h surfpcs.c surfpcs.h uint32.h surfpcs.h \
885surfpcs.c
886 ./compile surfpcs.c
887
888systype: \
889find-systype trycpp.c
890 ./find-systype > systype
891
892uint32.h: \
893tryulong32.c compile load uint32.h1 uint32.h2
894 ( ( ./compile tryulong32.c && ./load tryulong32 && \
895 ./tryulong32 ) >/dev/null 2>&1 \
896 && cat uint32.h2 || cat uint32.h1 ) > uint32.h
897 rm -f tryulong32.o tryulong32
898
899wait.0: \
900wait.3
901 nroff -man wait.3 > wait.0
902
903wait.a: \
904makelib wait_pid.o
905 ./makelib wait.a wait_pid.o
906
907wait_pid.o: \
908compile wait_pid.c wait_pid.c wait_pid.c error.h wait_pid.c
909 ./compile wait_pid.c