1# This file is automatically generated, do not edit.
2SHELL=/bin/sh
3default: it
4
5all: \
6it installer mysql pgsql sqlite3 man
7
8alloc.0: \
9alloc.3
10	nroff -man alloc.3 > alloc.0
11
12alloc.a: \
13makelib alloc.lo alloc_re.lo
14	./makelib alloc.a alloc.lo alloc_re.lo
15
16alloc.lo: \
17libcompile alloc.c alloc.h error.h
18	./libcompile alloc.c
19
20alloc_re.lo: \
21libcompile alloc_re.c alloc.h byte.h
22	./libcompile alloc_re.c
23
24altpath.lo: \
25libcompile altpath.c stralloc.h gen_alloc.h config.h stralloc.h gen_alloc.h die.h hasattribute.h env.h error.h open.h slurp.h altpath.h idx.h auto_etc.h
26	./libcompile altpath.c
27
28author.lo: \
29libcompile author.c die.h hasattribute.h mime.h stralloc.h gen_alloc.h
30	./libcompile author.c
31
32auto_bin.c: \
33auto-str conf-bin
34	./auto-str auto_bin EZMLM_BIN <conf-bin >auto_bin.c
35
36auto_bin.lo: \
37libcompile auto_bin.c
38	./libcompile auto_bin.c
39
40auto-ccld.sh: \
41conf-cc conf-cclo conf-ld conf-ldso warn-auto.sh
42	( cat warn-auto.sh; \
43	echo CC=\'`head -n 1 conf-cc`\'; \
44	echo CCLO=\'`head -n 1 conf-cclo`\'; \
45	echo LD=\'`head -n 1 conf-ld`\'; \
46	echo LDSO=\'`head -n 1 conf-ldso`\'; \
47	) > auto-ccld.sh
48
49auto_cron.c: \
50auto-str conf-cron
51	./auto-str auto_cron <conf-cron >auto_cron.c
52
53auto_cron.lo: \
54libcompile auto_cron.c
55	./libcompile auto_cron.c
56
57auto_etc.c: \
58auto-str conf-etc
59	./auto-str auto_etc EZMLM_ETC <conf-etc >auto_etc.c
60
61auto_etc.lo: \
62libcompile auto_etc.c
63	./libcompile auto_etc.c
64
65auto_lib.c: \
66auto-str conf-lib
67	./auto-str auto_lib EZMLM_LIB <conf-lib >auto_lib.c
68
69auto_lib.lo: \
70libcompile auto_lib.c
71	./libcompile auto_lib.c
72
73auto_qmail.c: \
74auto-str conf-qmail
75	./auto-str auto_qmail <conf-qmail >auto_qmail.c
76
77auto_qmail.lo: \
78libcompile auto_qmail.c
79	./libcompile auto_qmail.c
80
81auto-str: \
82load auto-str.o substdio.a error.a str.a
83	./load auto-str substdio.a error.a str.a
84
85auto-str.o: \
86compile auto-str.c str.h subfd.h substdio.h readwrite.h exit.h
87	./compile auto-str.c
88
89auto_version.c: \
90auto-str VERSION
91	./auto-str auto_version < VERSION > auto_version.c
92
93auto_version.lo: \
94libcompile auto_version.c
95	./libcompile auto_version.c
96
97byte_chr.lo: \
98libcompile byte_chr.c byte.h
99	./libcompile byte_chr.c
100
101byte_copy.lo: \
102libcompile byte_copy.c byte.h
103	./libcompile byte_copy.c
104
105byte_cr.lo: \
106libcompile byte_cr.c byte.h
107	./libcompile byte_cr.c
108
109byte_diff.lo: \
110libcompile byte_diff.c byte.h
111	./libcompile byte_diff.c
112
113byte_rchr.lo: \
114libcompile byte_rchr.c byte.h
115	./libcompile byte_rchr.c
116
117byte_zero.lo: \
118libcompile byte_zero.c byte.h
119	./libcompile byte_zero.c
120
121case.0: \
122case.3
123	nroff -man case.3 > case.0
124
125case_diffb.lo: \
126libcompile case_diffb.c case.h
127	./libcompile case_diffb.c
128
129case_diffs.lo: \
130libcompile case_diffs.c case.h
131	./libcompile case_diffs.c
132
133case_lowerb.lo: \
134libcompile case_lowerb.c case.h
135	./libcompile case_lowerb.c
136
137case_startb.lo: \
138libcompile case_startb.c case.h
139	./libcompile case_startb.c
140
141case_starts.lo: \
142libcompile case_starts.c case.h
143	./libcompile case_starts.c
144
145choose: \
146warn-auto.sh choose.sh
147	cat warn-auto.sh choose.sh > choose
148	chmod 755 choose
149
150clean: \
151TARGETS
152	rm -f `cat TARGETS`
153
154compile: \
155make-compile warn-auto.sh systype
156	( cat warn-auto.sh; ./make-compile "`cat systype`" ) > compile
157	chmod 755 compile
158
159concatHDR.lo: \
160libcompile concatHDR.c stralloc.h gen_alloc.h strerr.h hasattribute.h case.h byte.h mime.h stralloc.h gen_alloc.h messages.h die.h hasattribute.h idx.h
161	./libcompile concatHDR.c
162
163config.lo: \
164libcompile config.c byte.h config.h stralloc.h gen_alloc.h die.h hasattribute.h messages.h getconf.h idx.h slurp.h str.h strerr.h hasattribute.h wrap.h
165	./libcompile config.c
166
167constmap.lo: \
168libcompile constmap.c constmap.h alloc.h case.h
169	./libcompile constmap.c
170
171cookie.lo: \
172libcompile cookie.c cookie.h str.h uint32.h surfpcs.h uint32.h
173	./libcompile cookie.c
174
175copy.lo: \
176libcompile copy.c stralloc.h gen_alloc.h substdio.h strerr.h hasattribute.h str.h getln.h case.h readwrite.h qmail.h substdio.h stralloc.h gen_alloc.h messages.h error.h quote.h copy.h cookie.h datetime.h mime.h stralloc.h gen_alloc.h altpath.h byte.h cookie.h datetime.h die.h hasattribute.h fmt.h idx.h config.h stralloc.h gen_alloc.h
177	./libcompile copy.c
178
179crypt.lib: \
180compile load trylib.c
181	( ( ./compile trylib.c && ./load trylib -lcrypt ) >/dev/null 2>&1 && echo -lcrypt || exit 0 ) >crypt.lib
182	rm -f trylib.o trylib
183
184date2yyyymm.lo: \
185libcompile date2yyyymm.c yyyymm.h stralloc.h gen_alloc.h
186	./libcompile date2yyyymm.c
187
188date822fmt.lo: \
189libcompile date822fmt.c datetime.h fmt.h date822fmt.h
190	./libcompile date822fmt.c
191
192dateline.lo: \
193libcompile dateline.c fmt.h yyyymm.h stralloc.h gen_alloc.h stralloc.h gen_alloc.h cgi.h hasattribute.h
194	./libcompile dateline.c
195
196datetime.0: \
197datetime.3
198	nroff -man datetime.3 > datetime.0
199
200datetime.lo: \
201libcompile datetime.c datetime.h
202	./libcompile datetime.c
203
204decodeB.lo: \
205libcompile decodeB.c stralloc.h gen_alloc.h strerr.h hasattribute.h uint32.h messages.h die.h hasattribute.h idx.h
206	./libcompile decodeB.c
207
208decodeHDR.lo: \
209libcompile decodeHDR.c stralloc.h gen_alloc.h strerr.h hasattribute.h error.h case.h byte.h uint32.h mime.h stralloc.h gen_alloc.h messages.h die.h hasattribute.h idx.h
210	./libcompile decodeHDR.c
211
212decodeQ.lo: \
213libcompile decodeQ.c stralloc.h gen_alloc.h strerr.h hasattribute.h messages.h mime.h stralloc.h gen_alloc.h die.h hasattribute.h idx.h
214	./libcompile decodeQ.c
215
216die_badaddr.lo: \
217libcompile die_badaddr.c strerr.h hasattribute.h messages.h die.h hasattribute.h
218	./libcompile die_badaddr.c
219
220die_badformat.lo: \
221libcompile die_badformat.c strerr.h hasattribute.h messages.h die.h hasattribute.h
222	./libcompile die_badformat.c
223
224die_dow.lo: \
225libcompile die_dow.c strerr.h hasattribute.h messages.h die.h hasattribute.h
226	./libcompile die_dow.c
227
228die_nomem.lo: \
229libcompile die_nomem.c strerr.h hasattribute.h messages.h die.h hasattribute.h
230	./libcompile die_nomem.c
231
232die_sender.lo: \
233libcompile die_sender.c strerr.h hasattribute.h messages.h die.h hasattribute.h
234	./libcompile die_sender.c
235
236die_usage.lo: \
237libcompile die_usage.c strerr.h hasattribute.h messages.h die.h hasattribute.h
238	./libcompile die_usage.c
239
240direntry.0: \
241direntry.3
242	nroff -man direntry.3 > direntry.0
243
244direntry.h: \
245compile trydrent.c direntry.h1 direntry.h2
246	( ./compile trydrent.c >/dev/null 2>&1 \
247	&& cat direntry.h2 || cat direntry.h1 ) > direntry.h
248	rm -f trydrent.o
249
250dl.lib: \
251compile load trylib.c
252	( ( ./compile trylib.c && ./load trylib -ldl ) >/dev/null 2>&1 && echo -ldl || exit 0 ) >dl.lib
253	rm -f trylib.o trylib
254
255dmarc.lo: \
256libcompile dmarc.c byte.h die.h hasattribute.h dmarc.h stralloc.h gen_alloc.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h str.h
257	./libcompile dmarc.c
258
259dns_dfd.lo: \
260libcompile dns_dfd.c error.h alloc.h byte.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h
261	./libcompile dns_dfd.c
262
263dns_domain.lo: \
264libcompile dns_domain.c error.h alloc.h case.h byte.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h
265	./libcompile dns_domain.c
266
267dns_dtda.lo: \
268libcompile dns_dtda.c stralloc.h gen_alloc.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h
269	./libcompile dns_dtda.c
270
271dns_ip.lo: \
272libcompile dns_ip.c stralloc.h gen_alloc.h uint16.h byte.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h
273	./libcompile dns_ip.c
274
275dns_ipq.lo: \
276libcompile dns_ipq.c stralloc.h gen_alloc.h case.h byte.h str.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h
277	./libcompile dns_ipq.c
278
279dns_mx.lo: \
280libcompile dns_mx.c stralloc.h gen_alloc.h byte.h uint16.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h
281	./libcompile dns_mx.c
282
283dns_name.lo: \
284libcompile dns_name.c stralloc.h gen_alloc.h uint16.h byte.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h
285	./libcompile dns_name.c
286
287dns_nd.lo: \
288libcompile dns_nd.c byte.h fmt.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h
289	./libcompile dns_nd.c
290
291dns_packet.lo: \
292libcompile dns_packet.c error.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h
293	./libcompile dns_packet.c
294
295dns_random.lo: \
296libcompile dns_random.c dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h taia.h tai.h uint64.h uint32.h
297	./libcompile dns_random.c
298
299dns_rcip.lo: \
300libcompile dns_rcip.c taia.h tai.h uint64.h openreadclose.h stralloc.h gen_alloc.h byte.h ip4.h env.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h
301	./libcompile dns_rcip.c
302
303dns_rcrw.lo: \
304libcompile dns_rcrw.c taia.h tai.h uint64.h env.h byte.h str.h openreadclose.h stralloc.h gen_alloc.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h
305	./libcompile dns_rcrw.c
306
307dns_resolve.lo: \
308libcompile dns_resolve.c iopause.h taia.h tai.h uint64.h byte.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h
309	./libcompile dns_resolve.c
310
311dns_sortip.lo: \
312libcompile dns_sortip.c byte.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h
313	./libcompile dns_sortip.c
314
315dns_transmit.lo: \
316libcompile dns_transmit.c socket.h uint16.h alloc.h error.h byte.h uint16.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h
317	./libcompile dns_transmit.c
318
319dns_txt.lo: \
320libcompile dns_txt.c stralloc.h gen_alloc.h uint16.h byte.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h
321	./libcompile dns_txt.c
322
323encodeB.lo: \
324libcompile encodeB.c stralloc.h gen_alloc.h uint32.h mime.h stralloc.h gen_alloc.h strerr.h hasattribute.h messages.h die.h hasattribute.h idx.h
325	./libcompile encodeB.c
326
327encodeQ.lo: \
328libcompile encodeQ.c messages.h mime.h stralloc.h gen_alloc.h stralloc.h gen_alloc.h strerr.h hasattribute.h die.h hasattribute.h idx.h
329	./libcompile encodeQ.c
330
331env.0: \
332env.3
333	nroff -man env.3 > env.0
334
335env.lo: \
336libcompile env.c str.h alloc.h env.h
337	./libcompile env.c
338
339envread.lo: \
340libcompile envread.c env.h str.h
341	./libcompile envread.c
342
343error.0: \
344error.3
345	nroff -man error.3 > error.0
346
347error.a: \
348makelib error.lo error_str.lo
349	./makelib error.a error.lo error_str.lo
350
351error.lo: \
352libcompile error.c error.h
353	./libcompile error.c
354
355error_str.0: \
356error_str.3
357	nroff -man error_str.3 > error_str.0
358
359error_str.lo: \
360libcompile error_str.c error.h
361	./libcompile error_str.c
362
363error_temp.0: \
364error_temp.3
365	nroff -man error_temp.3 > error_temp.0
366
367ezmlm.0: \
368ezmlm.5
369	nroff -man ezmlm.5 > ezmlm.0
370
371ezmlm-accept.0: \
372ezmlm-accept.1
373	nroff -man ezmlm-accept.1 > ezmlm-accept.0
374
375ezmlm-accept: \
376warn-auto.sh ezmlm-accept.sh
377	cat warn-auto.sh ezmlm-accept.sh > ezmlm-accept
378	chmod 755 ezmlm-accept
379
380ezmlm-archive.0: \
381ezmlm-archive.1
382	nroff -man ezmlm-archive.1 > ezmlm-archive.0
383
384ezmlm-archive: \
385load ezmlm-archive.o libezmlm.a
386	./load ezmlm-archive -lezmlm
387
388ezmlm-archive.o: \
389compile ezmlm-archive.c alloc.h byte.h error.h stralloc.h gen_alloc.h str.h sig.h getconf.h strerr.h hasattribute.h getln.h substdio.h readwrite.h fmt.h getconfopt.h idxthread.h idx.h makehash.h lock.h open.h scan.h die.h hasattribute.h wrap.h idx.h messages.h config.h stralloc.h gen_alloc.h auto_version.h
390	./compile ezmlm-archive.c
391
392ezmlm-cgi.0: \
393ezmlm-cgi.1
394	nroff -man ezmlm-cgi.1 > ezmlm-cgi.0
395
396ezmlm-cgi: \
397load ezmlm-cgi.o libezmlm.a
398	./load ezmlm-cgi -lezmlm
399
400ezmlm-cgi.o: \
401compile ezmlm-cgi.c alloc.h direntry.h datetime.h now.h datetime.h stralloc.h gen_alloc.h strerr.h hasattribute.h error.h env.h sig.h open.h getln.h case.h scan.h str.h fmt.h readwrite.h fork.h wait.h exit.h substdio.h getconf.h gen_alloc.h gen_allocdefs.h constmap.h byte.h subdb.h stralloc.h gen_alloc.h messages.h makehash.h mime.h stralloc.h gen_alloc.h wrap.h die.h hasattribute.h idx.h yyyymm.h stralloc.h gen_alloc.h cgi.h hasattribute.h auto_etc.h
402	./compile ezmlm-cgi.c
403
404ezmlm-check.0: \
405ezmlm-check.1
406	nroff -man ezmlm-check.1 > ezmlm-check.0
407
408ezmlm-check: \
409warn-auto.sh ezmlm-check.sh
410	cat warn-auto.sh ezmlm-check.sh > ezmlm-check
411	chmod 755 ezmlm-check
412
413ezmlm-checksub.0: \
414ezmlm-checksub.1
415	nroff -man ezmlm-checksub.1 > ezmlm-checksub.0
416
417ezmlm-checksub: \
418load ezmlm-checksub.o libezmlm.a dl.lib
419	./load ezmlm-checksub -lezmlm  `cat dl.lib`
420
421ezmlm-checksub.o: \
422compile ezmlm-checksub.c strerr.h hasattribute.h env.h sender.h str.h subdb.h stralloc.h gen_alloc.h subfd.h substdio.h getconfopt.h messages.h die.h hasattribute.h idx.h config.h stralloc.h gen_alloc.h auto_version.h
423	./compile ezmlm-checksub.c
424
425ezmlm-clean.0: \
426ezmlm-clean.1
427	nroff -man ezmlm-clean.1 > ezmlm-clean.0
428
429ezmlm-clean: \
430load ezmlm-clean.o libezmlm.a
431	./load ezmlm-clean -lezmlm
432
433ezmlm-clean.o: \
434compile ezmlm-clean.c error.h stralloc.h gen_alloc.h str.h env.h sig.h getconf.h getconfopt.h strerr.h hasattribute.h byte.h getln.h case.h qmail.h substdio.h stralloc.h gen_alloc.h substdio.h readwrite.h seek.h quote.h datetime.h now.h datetime.h direntry.h cookie.h fmt.h messages.h copy.h cookie.h datetime.h open.h scan.h lock.h hdr.h die.h hasattribute.h idx.h mime.h stralloc.h gen_alloc.h config.h stralloc.h gen_alloc.h auto_version.h
435	./compile ezmlm-clean.c
436
437ezmlm-confirm.0: \
438ezmlm-confirm.1
439	nroff -man ezmlm-confirm.1 > ezmlm-confirm.0
440
441ezmlm-confirm: \
442load ezmlm-confirm.o libezmlm.a
443	./load ezmlm-confirm -lezmlm
444
445ezmlm-confirm.o: \
446compile ezmlm-confirm.c error.h case.h stralloc.h gen_alloc.h str.h env.h sender.h error.h sig.h fork.h wait.h strerr.h hasattribute.h byte.h getln.h qmail.h substdio.h stralloc.h gen_alloc.h substdio.h readwrite.h seek.h quote.h datetime.h now.h datetime.h fmt.h getconfopt.h cookie.h messages.h copy.h cookie.h datetime.h open.h lock.h wrap.h die.h hasattribute.h idx.h mime.h stralloc.h gen_alloc.h config.h stralloc.h gen_alloc.h auto_version.h
447	./compile ezmlm-confirm.c
448
449ezmlm-cron.0: \
450ezmlm-cron.1
451	nroff -man ezmlm-cron.1 > ezmlm-cron.0
452
453ezmlm-cron: \
454load ezmlm-cron.o libezmlm.a
455	./load ezmlm-cron -lezmlm
456
457ezmlm-cron.o: \
458compile ezmlm-cron.c strerr.h hasattribute.h stralloc.h gen_alloc.h getconfopt.h substdio.h error.h str.h fmt.h wait.h readwrite.h sig.h case.h scan.h open.h lock.h byte.h getln.h auto_qmail.h auto_cron.h auto_version.h messages.h die.h hasattribute.h idx.h wrap.h
459	./compile ezmlm-cron.c
460
461ezmlm-dispatch.0: \
462ezmlm-dispatch.1
463	nroff -man ezmlm-dispatch.1 > ezmlm-dispatch.0
464
465ezmlm-dispatch: \
466load ezmlm-dispatch.o libezmlm.a
467	./load ezmlm-dispatch -lezmlm
468
469ezmlm-dispatch.o: \
470compile ezmlm-dispatch.c env.h sender.h strerr.h hasattribute.h getconfopt.h substdio.h subfd.h substdio.h messages.h error.h byte.h fmt.h str.h stralloc.h gen_alloc.h qmail.h substdio.h stralloc.h gen_alloc.h seek.h wrap.h slurp.h die.h hasattribute.h auto_version.h
471	./compile ezmlm-dispatch.c
472
473ezmlm-gate.0: \
474ezmlm-gate.1
475	nroff -man ezmlm-gate.1 > ezmlm-gate.0
476
477ezmlm-gate: \
478load ezmlm-gate.o libezmlm.a dl.lib
479	./load ezmlm-gate -lezmlm  `cat dl.lib`
480
481ezmlm-gate.o: \
482compile ezmlm-gate.c substdio.h subfd.h substdio.h stralloc.h gen_alloc.h strerr.h hasattribute.h error.h env.h sender.h sig.h str.h seek.h wait.h exit.h getconf.h auto_bin.h getconfopt.h messages.h die.h hasattribute.h idx.h subdb.h stralloc.h gen_alloc.h wrap.h config.h stralloc.h gen_alloc.h auto_version.h
483	./compile ezmlm-gate.c
484
485ezmlm-get.0: \
486ezmlm-get.1
487	nroff -man ezmlm-get.1 > ezmlm-get.0
488
489ezmlm-get: \
490load ezmlm-get.o libezmlm.a dl.lib
491	./load ezmlm-get -lezmlm  `cat dl.lib`
492
493ezmlm-get.o: \
494compile ezmlm-get.c alloc.h error.h stralloc.h gen_alloc.h str.h env.h sender.h sig.h getconf.h strerr.h hasattribute.h byte.h getln.h case.h qmail.h substdio.h stralloc.h gen_alloc.h substdio.h readwrite.h seek.h quote.h datetime.h now.h datetime.h date822fmt.h fmt.h getconfopt.h cookie.h makehash.h copy.h cookie.h datetime.h constmap.h subdb.h stralloc.h gen_alloc.h hdr.h open.h lock.h scan.h idxthread.h idx.h die.h hasattribute.h wrap.h idx.h mime.h stralloc.h gen_alloc.h messages.h config.h stralloc.h gen_alloc.h auto_version.h
495	./compile ezmlm-get.c
496
497ezmlm-glconf.0: \
498ezmlm-glconf.1
499	nroff -man ezmlm-glconf.1 > ezmlm-glconf.0
500
501ezmlm-glconf: \
502warn-auto.sh ezmlm-glconf.sh
503	cat warn-auto.sh ezmlm-glconf.sh > ezmlm-glconf
504	chmod 755 ezmlm-glconf
505
506ezmlmglrc.0: \
507ezmlmglrc.5
508	nroff -man ezmlmglrc.5 > ezmlmglrc.0
509
510ezmlm-idx.0: \
511ezmlm-idx.1
512	nroff -man ezmlm-idx.1 > ezmlm-idx.0
513
514ezmlm-idx: \
515load ezmlm-idx.o libezmlm.a
516	./load ezmlm-idx -lezmlm
517
518ezmlm-idx.o: \
519compile ezmlm-idx.c stralloc.h gen_alloc.h subfd.h substdio.h strerr.h hasattribute.h error.h lock.h slurp.h open.h getln.h getconfopt.h case.h scan.h str.h fmt.h readwrite.h exit.h substdio.h sig.h byte.h die.h hasattribute.h idx.h mime.h stralloc.h gen_alloc.h wrap.h messages.h getconf.h makehash.h config.h stralloc.h gen_alloc.h auto_version.h
520	./compile ezmlm-idx.c
521
522ezmlm-idx.spec: \
523ezmlm-idx.spec.template VERSION fill-template
524	./fill-template ezmlm-idx.spec
525
526ezmlm-import.0: \
527ezmlm-import.1
528	nroff -man ezmlm-import.1 > ezmlm-import.0
529
530ezmlm-import: \
531load ezmlm-import.o libezmlm.a
532	./load ezmlm-import -lezmlm
533
534ezmlm-import.o: \
535compile ezmlm-import.c stralloc.h gen_alloc.h getconf.h config.h stralloc.h gen_alloc.h error.h strerr.h hasattribute.h substdio.h lock.h open.h messages.h die.h hasattribute.h wrap.h fmt.h getln.h byte.h idx.h getconfopt.h auto_version.h
536	./compile ezmlm-import.c
537
538ezmlm-issubn.0: \
539ezmlm-issubn.1
540	nroff -man ezmlm-issubn.1 > ezmlm-issubn.0
541
542ezmlm-issubn: \
543load ezmlm-issubn.o libezmlm.a dl.lib
544	./load ezmlm-issubn -lezmlm  `cat dl.lib`
545
546ezmlm-issubn.o: \
547compile ezmlm-issubn.c strerr.h hasattribute.h env.h sender.h subdb.h stralloc.h gen_alloc.h getconfopt.h messages.h die.h hasattribute.h idx.h config.h stralloc.h gen_alloc.h auto_version.h
548	./compile ezmlm-issubn.c
549
550ezmlm-limit.0: \
551ezmlm-limit.1
552	nroff -man ezmlm-limit.1 > ezmlm-limit.0
553
554ezmlm-limit: \
555load ezmlm-limit.o libezmlm.a
556	./load ezmlm-limit -lezmlm
557
558ezmlm-limit.o: \
559compile ezmlm-limit.c stralloc.h gen_alloc.h substdio.h readwrite.h strerr.h hasattribute.h sig.h lock.h getconf.h fmt.h now.h datetime.h getconfopt.h error.h scan.h open.h messages.h die.h hasattribute.h config.h stralloc.h gen_alloc.h idx.h
560	./compile ezmlm-limit.c
561
562ezmlm-list.0: \
563ezmlm-list.1
564	nroff -man ezmlm-list.1 > ezmlm-list.0
565
566ezmlm-list: \
567load ezmlm-list.o libezmlm.a dl.lib
568	./load ezmlm-list -lezmlm  `cat dl.lib`
569
570ezmlm-list.o: \
571compile ezmlm-list.c strerr.h hasattribute.h readwrite.h substdio.h subfd.h substdio.h subdb.h stralloc.h gen_alloc.h exit.h fmt.h getconfopt.h messages.h die.h hasattribute.h idx.h config.h stralloc.h gen_alloc.h auto_version.h
572	./compile ezmlm-list.c
573
574ezmlm-make.0: \
575ezmlm-make.1
576	nroff -man ezmlm-make.1 > ezmlm-make.0
577
578ezmlm-make: \
579load ezmlm-make.o libezmlm.a dl.lib
580	./load ezmlm-make -lezmlm  `cat dl.lib`
581
582ezmlm-make.o: \
583compile ezmlm-make.c sgetopt.h subgetopt.h stralloc.h gen_alloc.h strerr.h hasattribute.h exit.h readwrite.h byte.h open.h substdio.h subdb.h stralloc.h gen_alloc.h str.h wrap.h auto_bin.h getln.h error.h lock.h messages.h die.h hasattribute.h idx.h auto_etc.h auto_version.h
584	./compile ezmlm-make.c
585
586ezmlm-manage.0: \
587ezmlm-manage.1
588	nroff -man ezmlm-manage.1 > ezmlm-manage.0
589
590ezmlm-manage: \
591load ezmlm-manage.o libezmlm.a dl.lib
592	./load ezmlm-manage -lezmlm  `cat dl.lib`
593
594ezmlm-manage.o: \
595compile ezmlm-manage.c error.h stralloc.h gen_alloc.h str.h env.h sender.h sig.h slurp.h getconf.h strerr.h hasattribute.h byte.h getln.h case.h qmail.h substdio.h stralloc.h gen_alloc.h substdio.h readwrite.h seek.h quote.h datetime.h now.h datetime.h fmt.h subdb.h stralloc.h gen_alloc.h cookie.h getconfopt.h copy.h cookie.h datetime.h messages.h open.h lock.h scan.h mime.h stralloc.h gen_alloc.h hdr.h die.h hasattribute.h wrap.h idx.h config.h stralloc.h gen_alloc.h auto_version.h
596	./compile ezmlm-manage.c
597
598ezmlm-moderate.0: \
599ezmlm-moderate.1
600	nroff -man ezmlm-moderate.1 > ezmlm-moderate.0
601
602ezmlm-moderate: \
603load ezmlm-moderate.o libezmlm.a
604	./load ezmlm-moderate -lezmlm
605
606ezmlm-moderate.o: \
607compile ezmlm-moderate.c error.h case.h stralloc.h gen_alloc.h str.h env.h sender.h error.h sig.h wait.h strerr.h hasattribute.h byte.h getln.h qmail.h substdio.h stralloc.h gen_alloc.h substdio.h subfd.h substdio.h readwrite.h seek.h quote.h datetime.h now.h datetime.h fmt.h getconfopt.h cookie.h messages.h copy.h cookie.h datetime.h hdr.h mime.h stralloc.h gen_alloc.h open.h lock.h die.h hasattribute.h idx.h wrap.h config.h stralloc.h gen_alloc.h auto_version.h
608	./compile ezmlm-moderate.c
609
610ezmlmrc.0: \
611ezmlmrc.5
612	nroff -man ezmlmrc.5 > ezmlmrc.0
613
614ezmlmrc.all: \
615lang/ch_GB/ezmlmrc lang/cs/ezmlmrc lang/da/ezmlmrc lang/de/ezmlmrc lang/en_US/ezmlmrc lang/es/ezmlmrc lang/fr/ezmlmrc lang/hu/ezmlmrc lang/id/ezmlmrc lang/it/ezmlmrc lang/ja/ezmlmrc lang/nl/ezmlmrc lang/pl/ezmlmrc lang/pt/ezmlmrc lang/pt_BR/ezmlmrc lang/ru/ezmlmrc lang/sv/ezmlmrc
616
617ezmlmrc: \
618ezmlmrc.template VERSION fill-template
619	./fill-template ezmlmrc
620
621ezmlm-receipt.0: \
622ezmlm-receipt.1
623	nroff -man ezmlm-receipt.1 > ezmlm-receipt.0
624
625ezmlm-reject.0: \
626ezmlm-reject.1
627	nroff -man ezmlm-reject.1 > ezmlm-reject.0
628
629ezmlm-reject: \
630load ezmlm-reject.o libezmlm.a
631	./load ezmlm-reject -lezmlm
632
633ezmlm-reject.o: \
634compile ezmlm-reject.c strerr.h hasattribute.h substdio.h byte.h case.h str.h readwrite.h stralloc.h gen_alloc.h getln.h getconfopt.h getconf.h constmap.h fmt.h qmail.h substdio.h stralloc.h gen_alloc.h seek.h scan.h env.h sender.h messages.h mime.h stralloc.h gen_alloc.h die.h hasattribute.h idx.h config.h stralloc.h gen_alloc.h auto_version.h
635	./compile ezmlm-reject.c
636
637ezmlm-request.0: \
638ezmlm-request.1
639	nroff -man ezmlm-request.1 > ezmlm-request.0
640
641ezmlm-request: \
642load ezmlm-request.o libezmlm.a dl.lib
643	./load ezmlm-request -lezmlm  `cat dl.lib`
644
645ezmlm-request.o: \
646compile ezmlm-request.c stralloc.h gen_alloc.h subfd.h substdio.h strerr.h hasattribute.h error.h qmail.h substdio.h stralloc.h gen_alloc.h env.h sender.h sig.h open.h getln.h case.h str.h datetime.h now.h datetime.h quote.h readwrite.h exit.h substdio.h getconf.h constmap.h fmt.h getconfopt.h byte.h seek.h messages.h copy.h cookie.h datetime.h cookie.h subdb.h stralloc.h gen_alloc.h mime.h stralloc.h gen_alloc.h hdr.h die.h hasattribute.h idx.h config.h stralloc.h gen_alloc.h auto_version.h
647	./compile ezmlm-request.c
648
649ezmlm-return.0: \
650ezmlm-return.1
651	nroff -man ezmlm-return.1 > ezmlm-return.0
652
653ezmlm-return: \
654load ezmlm-return.o libezmlm.a dl.lib
655	./load ezmlm-return -lezmlm  `cat dl.lib`
656
657ezmlm-return.o: \
658compile ezmlm-return.c direntry.h stralloc.h gen_alloc.h str.h env.h sender.h sig.h strerr.h hasattribute.h byte.h case.h open.h scan.h lock.h slurpclose.h getln.h substdio.h error.h quote.h readwrite.h fmt.h now.h datetime.h cookie.h getconfopt.h subdb.h stralloc.h gen_alloc.h messages.h die.h hasattribute.h wrap.h config.h stralloc.h gen_alloc.h idx.h auto_version.h
659	./compile ezmlm-return.c
660
661ezmlm-rmtab.0: \
662ezmlm-rmtab.1
663	nroff -man ezmlm-rmtab.1 > ezmlm-rmtab.0
664
665ezmlm-rmtab: \
666load ezmlm-rmtab.o libezmlm.a dl.lib
667	./load ezmlm-rmtab -lezmlm  `cat dl.lib`
668
669ezmlm-rmtab.o: \
670compile ezmlm-rmtab.c strerr.h hasattribute.h readwrite.h substdio.h subfd.h substdio.h subdb.h stralloc.h gen_alloc.h exit.h fmt.h getconfopt.h messages.h die.h hasattribute.h idx.h config.h stralloc.h gen_alloc.h auto_version.h
671	./compile ezmlm-rmtab.c
672
673ezmlm-send.0: \
674ezmlm-send.1
675	nroff -man ezmlm-send.1 > ezmlm-send.0
676
677ezmlm-send: \
678load ezmlm-send.o libezmlm.a dl.lib
679	./load ezmlm-send -lezmlm  `cat dl.lib`
680
681ezmlm-send.o: \
682compile ezmlm-send.c stralloc.h gen_alloc.h subfd.h substdio.h strerr.h hasattribute.h error.h qmail.h substdio.h stralloc.h gen_alloc.h env.h sender.h lock.h sig.h open.h getln.h case.h scan.h str.h fmt.h readwrite.h exit.h substdio.h getconf.h constmap.h byte.h getconfopt.h quote.h subdb.h stralloc.h gen_alloc.h mime.h stralloc.h gen_alloc.h messages.h makehash.h cookie.h dmarc.h stralloc.h gen_alloc.h hdr.h die.h hasattribute.h wrap.h idx.h copy.h cookie.h datetime.h config.h stralloc.h gen_alloc.h auto_version.h
683	./compile ezmlm-send.c
684
685ezmlm-split.0: \
686ezmlm-split.1
687	nroff -man ezmlm-split.1 > ezmlm-split.0
688
689ezmlm-split: \
690load ezmlm-split.o libezmlm.a
691	./load ezmlm-split -lezmlm
692
693ezmlm-split.o: \
694compile ezmlm-split.c error.h stralloc.h gen_alloc.h str.h env.h sender.h sig.h open.h scan.h strerr.h hasattribute.h byte.h getln.h case.h qmail.h substdio.h stralloc.h gen_alloc.h getconfopt.h subfd.h substdio.h readwrite.h quote.h now.h datetime.h uint32.h subhash.h fmt.h messages.h die.h hasattribute.h config.h stralloc.h gen_alloc.h idx.h auto_version.h
695	./compile ezmlm-split.c
696
697ezmlm-store.0: \
698ezmlm-store.1
699	nroff -man ezmlm-store.1 > ezmlm-store.0
700
701ezmlm-store: \
702load ezmlm-store.o libezmlm.a dl.lib
703	./load ezmlm-store -lezmlm  `cat dl.lib`
704
705ezmlm-store.o: \
706compile ezmlm-store.c stralloc.h gen_alloc.h subfd.h substdio.h strerr.h hasattribute.h error.h qmail.h substdio.h stralloc.h gen_alloc.h env.h sender.h lock.h sig.h open.h getln.h str.h fmt.h readwrite.h wait.h exit.h substdio.h getconf.h datetime.h now.h datetime.h cookie.h getconfopt.h messages.h byte.h case.h quote.h hdr.h die.h hasattribute.h idx.h copy.h cookie.h datetime.h subdb.h stralloc.h gen_alloc.h mime.h stralloc.h gen_alloc.h wrap.h config.h stralloc.h gen_alloc.h auto_version.h
707	./compile ezmlm-store.c
708
709ezmlm-sub.0: \
710ezmlm-sub.1
711	nroff -man ezmlm-sub.1 > ezmlm-sub.0
712
713ezmlm-sub: \
714load ezmlm-sub.o ezmlm-subunsub.o libezmlm.a dl.lib
715	./load ezmlm-sub ezmlm-subunsub.o -lezmlm  `cat dl.lib`
716
717ezmlm-sub.o: \
718compile ezmlm-sub.c hasattribute.h
719	./compile ezmlm-sub.c
720
721ezmlmsubrc.0: \
722ezmlmsubrc.5
723	nroff -man ezmlmsubrc.5 > ezmlmsubrc.0
724
725ezmlm-subunsub.o: \
726compile ezmlm-subunsub.c strerr.h hasattribute.h subdb.h stralloc.h gen_alloc.h getconfopt.h str.h stralloc.h gen_alloc.h substdio.h subfd.h substdio.h readwrite.h getln.h scan.h messages.h die.h hasattribute.h idx.h config.h stralloc.h gen_alloc.h auto_version.h
727	./compile ezmlm-subunsub.c
728
729ezmlm-test.0: \
730ezmlm-test.1
731	nroff -man ezmlm-test.1 > ezmlm-test.0
732
733ezmlm-test: \
734warn-auto.sh conf-qmail VERSION Makefile tests/00-config tests/01-misc tests/02-functions tests/09-getconfopt tests/100-ezmlm-make tests/110-ezmlm-reject tests/115-ezmlm-sub tests/116-ezmlm-checksub tests/119-ezmlm-nosql tests/119-ezmlm-sql tests/120-ezmlm-send tests/125-ezmlm-tstdig tests/130-ezmlm-weed tests/135-ezmlmrc tests/140-ezmlm-clean tests/145-ezmlm-store tests/150-ezmlm-return tests/155-ezmlm-warn tests/160-ezmlm-manage tests/165-ezmlm-request tests/170-ezmlm-split tests/180-ezmlm-gate tests/210-ezmlm-idx tests/221-ezmlm-get-index tests/222-ezmlm-get-get tests/223-ezmlm-get-thread tests/225-ezmlm-get-digest tests/260-ezmlm-manage tests/270-ezmlm-moderate tests/280-ezmlm-warn tests/290-ezmlm-archive tests/300-ezmlm-dispatch tests/310-dispatch-editor tests/400-decode-sender tests/500-export tests/504-flags tests/505-substs tests/506-messages tests/510-ezmlm-manage-subnop tests/510-ezmlm-manage-unsubnop tests/511-ezmlm-manage-subprobe tests/511-ezmlm-manage-unsubprobe tests/512-ezmlm-manage-subscribe tests/512-ezmlm-manage-unsubscribe tests/513-ezmlm-manage-modsub tests/513-ezmlm-manage-modunsub tests/514-ezmlm-manage-subbymod tests/514-ezmlm-manage-unsubbymod tests/519-ezmlm-manage-copylines tests/550-ezmlm-send tests/551-ezmlm-send-rewritefrom tests/560-addtrailer tests/570-omitbottom tests/90-cleanup tests/99-bugs
735	(cat warn-auto.sh; \
736	echo VER=\"`head -n 1 VERSION`\"; \
737	cat tests/*-* ) >ezmlm-test;
738	chmod 755 ezmlm-test
739
740ezmlm-tstdig.0: \
741ezmlm-tstdig.1
742	nroff -man ezmlm-tstdig.1 > ezmlm-tstdig.0
743
744ezmlm-tstdig: \
745load ezmlm-tstdig.o libezmlm.a
746	./load ezmlm-tstdig -lezmlm
747
748ezmlm-tstdig.o: \
749compile ezmlm-tstdig.c stralloc.h gen_alloc.h substdio.h readwrite.h strerr.h hasattribute.h sig.h getconf.h env.h fmt.h now.h datetime.h lock.h getconfopt.h messages.h scan.h case.h str.h open.h die.h hasattribute.h wrap.h idx.h config.h stralloc.h gen_alloc.h
750	./compile ezmlm-tstdig.c
751
752ezmlm-unsub.0: \
753ezmlm-unsub.1
754	nroff -man ezmlm-unsub.1 > ezmlm-unsub.0
755
756ezmlm-unsub: \
757load ezmlm-unsub.o ezmlm-subunsub.o libezmlm.a dl.lib
758	./load ezmlm-unsub ezmlm-subunsub.o -lezmlm  `cat dl.lib`
759
760ezmlm-unsub.o: \
761compile ezmlm-unsub.c hasattribute.h
762	./compile ezmlm-unsub.c
763
764ezmlm-warn.0: \
765ezmlm-warn.1
766	nroff -man ezmlm-warn.1 > ezmlm-warn.0
767
768ezmlm-warn: \
769load ezmlm-warn.o libezmlm.a dl.lib
770	./load ezmlm-warn -lezmlm  `cat dl.lib`
771
772ezmlm-warn.o: \
773compile ezmlm-warn.c direntry.h readwrite.h getln.h substdio.h stralloc.h gen_alloc.h slurp.h getconfopt.h getconf.h byte.h error.h str.h strerr.h hasattribute.h sig.h now.h datetime.h fmt.h cookie.h qmail.h substdio.h stralloc.h gen_alloc.h messages.h quote.h open.h scan.h lock.h copy.h cookie.h datetime.h mime.h stralloc.h gen_alloc.h hdr.h die.h hasattribute.h wrap.h idx.h config.h stralloc.h gen_alloc.h subdb.h stralloc.h gen_alloc.h
774	./compile ezmlm-warn.c
775
776ezmlm-weed.0: \
777ezmlm-weed.1
778	nroff -man ezmlm-weed.1 > ezmlm-weed.0
779
780ezmlm-weed: \
781load ezmlm-weed.o libezmlm.a
782	./load ezmlm-weed -lezmlm
783
784ezmlm-weed.o: \
785compile ezmlm-weed.c stralloc.h gen_alloc.h str.h byte.h case.h readwrite.h substdio.h subfd.h substdio.h getln.h strerr.h hasattribute.h messages.h mime.h stralloc.h gen_alloc.h die.h hasattribute.h
786	./compile ezmlm-weed.c
787
788fd_copy.0: \
789fd_copy.3
790	nroff -man fd_copy.3 > fd_copy.0
791
792fd_copy.lo: \
793libcompile fd_copy.c fd.h
794	./libcompile fd_copy.c
795
796fd_move.0: \
797fd_move.3
798	nroff -man fd_move.3 > fd_move.0
799
800fd_move.lo: \
801libcompile fd_move.c fd.h
802	./libcompile fd_move.c
803
804fill-template: \
805warn-auto.sh fill-template.sh
806	cat warn-auto.sh fill-template.sh > fill-template
807	chmod 755 fill-template
808
809find-systype: \
810find-systype.sh auto-ccld.sh
811	cat auto-ccld.sh find-systype.sh > find-systype
812	chmod 755 find-systype
813
814fmt_str.lo: \
815libcompile fmt_str.c fmt.h
816	./libcompile fmt_str.c
817
818fmt_uint0.lo: \
819libcompile fmt_uint0.c fmt.h
820	./libcompile fmt_uint0.c
821
822fmt_uint.lo: \
823libcompile fmt_uint.c fmt.h
824	./libcompile fmt_uint.c
825
826fmt_ulong.lo: \
827libcompile fmt_ulong.c fmt.h
828	./libcompile fmt_ulong.c
829
830fs.a: \
831makelib fmt_str.lo fmt_uint.lo fmt_uint0.lo fmt_ulong.lo scan_ulong.lo scan_8long.lo
832	./makelib fs.a fmt_str.lo fmt_uint.lo fmt_uint0.lo fmt_ulong.lo scan_ulong.lo scan_8long.lo
833
834getconf.lo: \
835libcompile getconf.c stralloc.h gen_alloc.h byte.h slurp.h strerr.h hasattribute.h getconf.h altpath.h die.h hasattribute.h config.h stralloc.h gen_alloc.h copy.h cookie.h datetime.h idx.h wrap.h messages.h
836	./libcompile getconf.c
837
838getconfopt_copy.lo: \
839libcompile getconfopt_copy.c die.h hasattribute.h getconfopt.h stralloc.h gen_alloc.h
840	./libcompile getconfopt_copy.c
841
842getconfopt_cstr_flag.lo: \
843libcompile getconfopt_cstr_flag.c getconf.h getconfopt.h
844	./libcompile getconfopt_cstr_flag.c
845
846getconfopt_cstr.lo: \
847libcompile getconfopt_cstr.c getconf.h getconfopt.h stralloc.h gen_alloc.h
848	./libcompile getconfopt_cstr.c
849
850getconfopt_flag.lo: \
851libcompile getconfopt_flag.c getconf.h getconfopt.h
852	./libcompile getconfopt_flag.c
853
854getconfopt.lo: \
855libcompile getconfopt.c config.h stralloc.h gen_alloc.h die.h hasattribute.h getconf.h getconfopt.h str.h
856	./libcompile getconfopt.c
857
858getconfopt_str.lo: \
859libcompile getconfopt_str.c die.h hasattribute.h getconf.h getconfopt.h stralloc.h gen_alloc.h
860	./libcompile getconfopt_str.c
861
862getconfopt_ulong_flag.lo: \
863libcompile getconfopt_ulong_flag.c getconf.h getconfopt.h
864	./libcompile getconfopt_ulong_flag.c
865
866getconfopt_ulong.lo: \
867libcompile getconfopt_ulong.c die.h hasattribute.h getconf.h getconfopt.h scan.h
868	./libcompile getconfopt_ulong.c
869
870getconfopt_version.lo: \
871libcompile getconfopt_version.c auto_version.h getconfopt.h strerr.h hasattribute.h
872	./libcompile getconfopt_version.c
873
874getconf_ulong.lo: \
875libcompile getconf_ulong.c stralloc.h gen_alloc.h getconf.h die.h hasattribute.h scan.h
876	./libcompile getconf_ulong.c
877
878gethdrln.lo: \
879libcompile gethdrln.c substdio.h byte.h stralloc.h gen_alloc.h getln.h
880	./libcompile gethdrln.c
881
882getln.0: \
883getln.3
884	nroff -man getln.3 > getln.0
885
886getln2.0: \
887getln2.3
888	nroff -man getln2.3 > getln2.0
889
890getln2.lo: \
891libcompile getln2.c substdio.h stralloc.h gen_alloc.h byte.h getln.h
892	./libcompile getln2.c
893
894getln.a: \
895makelib getln.lo getln2.lo
896	./makelib getln.a getln.lo getln2.lo
897
898getln.lo: \
899libcompile getln.c substdio.h byte.h stralloc.h gen_alloc.h getln.h
900	./libcompile getln.c
901
902getopt.0: \
903getopt.3
904	nroff -man getopt.3 > getopt.0
905
906hasattribute.h: \
907choose compile hasattribute.h1 hasattribute.h2 tryattribute.c
908	./choose c tryattribute hasattribute.h1 hasattribute.h2 > hasattribute.h
909
910hasflock.h: \
911tryflock.c compile load
912	( ( ./compile tryflock.c && ./load tryflock ) >/dev/null 2>&1 \
913	&& echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h
914	rm -f tryflock.o tryflock
915
916hassgact.h: \
917trysgact.c compile load
918	( ( ./compile trysgact.c && ./load trysgact ) >/dev/null 2>&1 \
919	&& echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h
920	rm -f trysgact.o trysgact
921
922haswaitp.h: \
923choose compile haswaitp.h1 haswaitp.h2 load trywaitp.c
924	./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h
925
926hdr_add.lo: \
927libcompile hdr_add.c hdr.h qmail.h substdio.h stralloc.h gen_alloc.h
928	./libcompile hdr_add.c
929
930hdr_boundary.lo: \
931libcompile hdr_boundary.c hdr.h qmail.h substdio.h stralloc.h gen_alloc.h makehash.h
932	./libcompile hdr_boundary.c
933
934hdr_ctboundary.lo: \
935libcompile hdr_ctboundary.c hdr.h qmail.h substdio.h stralloc.h gen_alloc.h
936	./libcompile hdr_ctboundary.c
937
938hdr_datemsgid.lo: \
939libcompile hdr_datemsgid.c hdr.h qmail.h substdio.h stralloc.h gen_alloc.h stralloc.h gen_alloc.h datetime.h fmt.h date822fmt.h makehash.h die.h hasattribute.h idx.h
940	./libcompile hdr_datemsgid.c
941
942hdr_from.lo: \
943libcompile hdr_from.c hdr.h qmail.h substdio.h stralloc.h gen_alloc.h stralloc.h gen_alloc.h quote.h die.h hasattribute.h idx.h
944	./libcompile hdr_from.c
945
946hdr_listsubject.lo: \
947libcompile hdr_listsubject.c hdr.h qmail.h substdio.h stralloc.h gen_alloc.h stralloc.h gen_alloc.h quote.h die.h hasattribute.h
948	./libcompile hdr_listsubject.c
949
950hdr_mime.lo: \
951libcompile hdr_mime.c hdr.h qmail.h substdio.h stralloc.h gen_alloc.h makehash.h stralloc.h gen_alloc.h str.h
952	./libcompile hdr_mime.c
953
954hdr_subject.lo: \
955libcompile hdr_subject.c hdr.h qmail.h substdio.h stralloc.h gen_alloc.h
956	./libcompile hdr_subject.c
957
958hdr_transferenc.lo: \
959libcompile hdr_transferenc.c hdr.h qmail.h substdio.h stralloc.h gen_alloc.h
960	./libcompile hdr_transferenc.c
961
962idxthread.lo: \
963libcompile idxthread.c error.h alloc.h str.h stralloc.h gen_alloc.h strerr.h hasattribute.h lock.h open.h getln.h scan.h byte.h die.h hasattribute.h idx.h messages.h substdio.h fmt.h readwrite.h makehash.h yyyymm.h stralloc.h gen_alloc.h
964	./libcompile idxthread.c
965
966install: \
967it man installer conf-bin conf-etc conf-lang conf-lib conf-man BIN ETC LIB MAN
968	./installer /opengrok/src/dports/mail/ezmlm-idx/stage"`head -n 1 conf-bin`" < BIN
969	./installer /opengrok/src/dports/mail/ezmlm-idx/stage"`head -n 1 conf-etc`" < ETC
970	./installer /opengrok/src/dports/mail/ezmlm-idx/stage"`head -n 1 conf-man`" < MAN
971	./installer /opengrok/src/dports/mail/ezmlm-idx/stage"`head -n 1 conf-lib`" < LIB
972	rm -f /opengrok/src/dports/mail/ezmlm-idx/stage"`head -n 1 conf-etc`"/default
973	ln -sf "`head -n 1 conf-lang`" /opengrok/src/dports/mail/ezmlm-idx/stage"`head -n 1 conf-etc`"/default
974
975installer: \
976load installer.o getln.a strerr.a substdio.a stralloc.a alloc.a open.a error.a str.a fs.a
977	./load installer getln.a strerr.a substdio.a stralloc.a alloc.a open.a error.a str.a fs.a
978
979installer.o: \
980compile installer.c substdio.h stralloc.h gen_alloc.h getln.h readwrite.h exit.h open.h error.h strerr.h hasattribute.h byte.h scan.h
981	./compile installer.c
982
983iopause.h: \
984choose compile load trypoll.c iopause.h1 iopause.h2
985	./choose clr trypoll iopause.h1 iopause.h2 > iopause.h
986
987iopause.lo: \
988libcompile iopause.c taia.h tai.h uint64.h select.h iopause.h
989	./libcompile iopause.c
990
991ip4_scan.lo: \
992libcompile ip4_scan.c scan.h ip4.h
993	./libcompile ip4_scan.c
994
995it: \
996ezmlm-accept ezmlm-archive ezmlm-check ezmlm-checksub ezmlm-cgi ezmlm-clean ezmlm-confirm ezmlm-cron ezmlm-dispatch ezmlm-gate ezmlm-get ezmlm-glconf ezmlm-idx ezmlm-import ezmlm-issubn ezmlm-limit ezmlm-list ezmlm-make ezmlm-manage ezmlm-moderate ezmlm-reject ezmlm-request ezmlm-return ezmlm-rmtab ezmlm-send ezmlm-split ezmlm-store ezmlm-sub ezmlm-tstdig ezmlm-unsub ezmlm-warn ezmlm-weed ezmlm-test sub-std.so ezmlmrc.all messages.all ezmlm-idx.spec test-getconfopt
997
998lang/ch_GB/ezmlmrc: \
999makelang ezmlmrc
1000	./makelang ch_GB
1001
1002lang/cs/ezmlmrc: \
1003makelang ezmlmrc
1004	./makelang cs
1005
1006lang/cs/text/messages: \
1007make-messages lang/cs/messages
1008	./make-messages < lang/cs/messages > lang/cs/text/messages
1009
1010lang/da/ezmlmrc: \
1011makelang ezmlmrc
1012	./makelang da
1013
1014lang/da/text/messages: \
1015make-messages lang/da/messages
1016	./make-messages < lang/da/messages > lang/da/text/messages
1017
1018lang/de/ezmlmrc: \
1019makelang ezmlmrc
1020	./makelang de
1021
1022lang/de/text/messages: \
1023make-messages lang/de/messages
1024	./make-messages < lang/de/messages > lang/de/text/messages
1025
1026lang/en_US/ezmlmrc: \
1027makelang ezmlmrc
1028	./makelang en_US
1029
1030lang/en_US/text/messages: \
1031make-messages lang/en_US/messages
1032	./make-messages < lang/en_US/messages > lang/en_US/text/messages
1033
1034lang/es/ezmlmrc: \
1035makelang ezmlmrc
1036	./makelang es
1037
1038lang/fr/ezmlmrc: \
1039makelang ezmlmrc
1040	./makelang fr
1041
1042lang/fr/text/messages: \
1043make-messages lang/fr/messages
1044	./make-messages < lang/fr/messages > lang/fr/text/messages
1045
1046lang/hu/ezmlmrc: \
1047makelang ezmlmrc
1048	./makelang hu
1049
1050lang/hu/text/messages: \
1051make-messages lang/hu/messages
1052	./make-messages < lang/hu/messages > lang/hu/text/messages
1053
1054lang/id/ezmlmrc: \
1055makelang ezmlmrc
1056	./makelang id
1057
1058lang/id/text/messages: \
1059make-messages lang/id/messages
1060	./make-messages < lang/id/messages > lang/id/text/messages
1061
1062lang/it/ezmlmrc: \
1063makelang ezmlmrc
1064	./makelang it
1065
1066lang/it/text/messages: \
1067make-messages lang/it/messages
1068	./make-messages < lang/it/messages > lang/it/text/messages
1069
1070lang/ja/ezmlmrc: \
1071makelang ezmlmrc
1072	./makelang ja
1073
1074lang/nl/ezmlmrc: \
1075makelang ezmlmrc
1076	./makelang nl
1077
1078lang/nl/text/messages: \
1079make-messages lang/nl/messages
1080	./make-messages < lang/nl/messages > lang/nl/text/messages
1081
1082lang/pl/ezmlmrc: \
1083makelang ezmlmrc
1084	./makelang pl
1085
1086lang/pl/text/messages: \
1087make-messages lang/pl/messages
1088	./make-messages < lang/pl/messages > lang/pl/text/messages
1089
1090lang/pt_BR/ezmlmrc: \
1091makelang ezmlmrc
1092	./makelang pt_BR
1093
1094lang/pt_BR/text/messages: \
1095make-messages lang/pt_BR/messages
1096	./make-messages < lang/pt_BR/messages > lang/pt_BR/text/messages
1097
1098lang/pt/ezmlmrc: \
1099makelang ezmlmrc
1100	./makelang pt
1101
1102lang/pt/text/messages: \
1103make-messages lang/pt/messages
1104	./make-messages < lang/pt/messages > lang/pt/text/messages
1105
1106lang/ru/ezmlmrc: \
1107makelang ezmlmrc
1108	./makelang ru
1109
1110lang/sv/ezmlmrc: \
1111makelang ezmlmrc
1112	./makelang sv
1113
1114lang/sv/text/messages: \
1115make-messages lang/sv/messages
1116	./make-messages < lang/sv/messages > lang/sv/text/messages
1117
1118libcompile: \
1119make-libcompile warn-auto.sh systype
1120	( cat warn-auto.sh; ./make-libcompile "`cat systype`" ) > libcompile
1121	chmod 755 libcompile
1122
1123libezmlm.a: \
1124makelib alloc.lo alloc_re.lo altpath.lo author.lo auto_bin.lo auto_cron.lo auto_etc.lo auto_lib.lo auto_qmail.lo auto_version.lo byte_chr.lo byte_copy.lo byte_cr.lo byte_diff.lo byte_rchr.lo byte_zero.lo case_diffb.lo case_diffs.lo case_lowerb.lo case_startb.lo case_starts.lo concatHDR.lo config.lo constmap.lo cookie.lo copy.lo date2yyyymm.lo date822fmt.lo dateline.lo datetime.lo decodeB.lo decodeHDR.lo decodeQ.lo die_badaddr.lo die_badformat.lo die_dow.lo die_nomem.lo die_sender.lo die_usage.lo dmarc.lo dns_dfd.lo dns_domain.lo dns_dtda.lo dns_ip.lo dns_ipq.lo dns_mx.lo dns_name.lo dns_nd.lo dns_packet.lo dns_random.lo dns_rcip.lo dns_rcrw.lo dns_resolve.lo dns_sortip.lo dns_transmit.lo dns_txt.lo encodeB.lo encodeQ.lo env.lo envread.lo error.lo error_str.lo fd_copy.lo fd_move.lo fmt_str.lo fmt_uint.lo fmt_uint0.lo fmt_ulong.lo getconf.lo getconf_ulong.lo gethdrln.lo getln.lo getln2.lo getconfopt.lo getconfopt_copy.lo getconfopt_cstr.lo getconfopt_cstr_flag.lo getconfopt_flag.lo getconfopt_str.lo getconfopt_ulong.lo getconfopt_ulong_flag.lo getconfopt_version.lo hdr_add.lo hdr_boundary.lo hdr_ctboundary.lo hdr_datemsgid.lo hdr_from.lo hdr_listsubject.lo hdr_mime.lo hdr_subject.lo hdr_transferenc.lo idxthread.lo iopause.lo ip4_scan.lo lock_ex.lo lockfile.lo log.lo makehash.lo makepath.lo messages.lo ndelay_on.lo now.lo open_append.lo openreadclose.lo open_read.lo open_trunc.lo qmail.lo qmail_copy.lo quote.lo readclose.lo scan_8long.lo scan_ulong.lo seek_set.lo sender.lo sgetopt.lo sig_catch.lo sig_pipe.lo slurp.lo slurpclose.lo str_chr.lo str_cpy.lo str_diff.lo str_diffn.lo str_len.lo str_rchr.lo str_start.lo socket_bind.lo socket_conn.lo socket_tcp.lo socket_udp.lo stralloc_arts.lo stralloc_cat.lo stralloc_catb.lo stralloc_cats.lo stralloc_copy.lo stralloc_eady.lo stralloc_num.lo stralloc_opyb.lo stralloc_opys.lo stralloc_pend.lo strerr.lo subdb.lo subfderr.lo subfdin.lo subfdout.lo subgetopt.lo subhash.lo substdi.lo substdio.lo substdio_copy.lo substdo.lo surf.lo surfpcs.lo taia_add.lo taia_approx.lo taia_frac.lo taia_less.lo taia_now.lo taia_pack.lo taia_sub.lo taia_uint.lo tai_pack.lo uint16_pack.lo uint16_unpack.lo uint32_unpack.lo unfoldHDR.lo wait_pid.lo wrap_chdir.lo wrap_execbin.lo wrap_execsh.lo wrap_execv.lo wrap_exitcode.lo wrap_fork.lo wrap_rename.lo wrap_stat.lo wrap_waitpid.lo
1125	./makelib libezmlm.a alloc.lo alloc_re.lo altpath.lo author.lo auto_bin.lo auto_cron.lo auto_etc.lo auto_lib.lo auto_qmail.lo auto_version.lo byte_chr.lo byte_copy.lo byte_cr.lo byte_diff.lo byte_rchr.lo byte_zero.lo case_diffb.lo case_diffs.lo case_lowerb.lo case_startb.lo case_starts.lo concatHDR.lo config.lo constmap.lo cookie.lo copy.lo date2yyyymm.lo date822fmt.lo dateline.lo datetime.lo decodeB.lo decodeHDR.lo decodeQ.lo die_badaddr.lo die_badformat.lo die_dow.lo die_nomem.lo die_sender.lo die_usage.lo dmarc.lo dns_dfd.lo dns_domain.lo dns_dtda.lo dns_ip.lo dns_ipq.lo dns_mx.lo dns_name.lo dns_nd.lo dns_packet.lo dns_random.lo dns_rcip.lo dns_rcrw.lo dns_resolve.lo dns_sortip.lo dns_transmit.lo dns_txt.lo encodeB.lo encodeQ.lo env.lo envread.lo error.lo error_str.lo fd_copy.lo fd_move.lo fmt_str.lo fmt_uint.lo fmt_uint0.lo fmt_ulong.lo getconf.lo getconf_ulong.lo gethdrln.lo getln.lo getln2.lo getconfopt.lo getconfopt_copy.lo getconfopt_cstr.lo getconfopt_cstr_flag.lo getconfopt_flag.lo getconfopt_str.lo getconfopt_ulong.lo getconfopt_ulong_flag.lo getconfopt_version.lo hdr_add.lo hdr_boundary.lo hdr_ctboundary.lo hdr_datemsgid.lo hdr_from.lo hdr_listsubject.lo hdr_mime.lo hdr_subject.lo hdr_transferenc.lo idxthread.lo iopause.lo ip4_scan.lo lock_ex.lo lockfile.lo log.lo makehash.lo makepath.lo messages.lo ndelay_on.lo now.lo open_append.lo openreadclose.lo open_read.lo open_trunc.lo qmail.lo qmail_copy.lo quote.lo readclose.lo scan_8long.lo scan_ulong.lo seek_set.lo sender.lo sgetopt.lo sig_catch.lo sig_pipe.lo slurp.lo slurpclose.lo str_chr.lo str_cpy.lo str_diff.lo str_diffn.lo str_len.lo str_rchr.lo str_start.lo socket_bind.lo socket_conn.lo socket_tcp.lo socket_udp.lo stralloc_arts.lo stralloc_cat.lo stralloc_catb.lo stralloc_cats.lo stralloc_copy.lo stralloc_eady.lo stralloc_num.lo stralloc_opyb.lo stralloc_opys.lo stralloc_pend.lo strerr.lo subdb.lo subfderr.lo subfdin.lo subfdout.lo subgetopt.lo subhash.lo substdi.lo substdio.lo substdio_copy.lo substdo.lo surf.lo surfpcs.lo taia_add.lo taia_approx.lo taia_frac.lo taia_less.lo taia_now.lo taia_pack.lo taia_sub.lo taia_uint.lo tai_pack.lo uint16_pack.lo uint16_unpack.lo uint32_unpack.lo unfoldHDR.lo wait_pid.lo wrap_chdir.lo wrap_execbin.lo wrap_execsh.lo wrap_execv.lo wrap_exitcode.lo wrap_fork.lo wrap_rename.lo wrap_stat.lo wrap_waitpid.lo
1126
1127load: \
1128make-load warn-auto.sh systype
1129	( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
1130	chmod 755 load
1131
1132lock_ex.lo: \
1133libcompile lock_ex.c hasflock.h lock.h
1134	./libcompile lock_ex.c
1135
1136lockfile.lo: \
1137libcompile lockfile.c lock.h messages.h strerr.h hasattribute.h die.h hasattribute.h idx.h open.h
1138	./libcompile lockfile.c
1139
1140log.lo: \
1141libcompile log.c substdio.h readwrite.h stralloc.h gen_alloc.h log.h now.h datetime.h fmt.h open.h sub_std.h stralloc.h gen_alloc.h
1142	./libcompile log.c
1143
1144make-compile: \
1145make-compile.sh auto-ccld.sh
1146	cat auto-ccld.sh make-compile.sh > make-compile
1147	chmod 755 make-compile
1148
1149makehash.lo: \
1150libcompile makehash.c stralloc.h gen_alloc.h byte.h surf.h uint32.h makehash.h die.h hasattribute.h idx.h surfpcs.h uint32.h
1151	./libcompile makehash.c
1152
1153makelang: \
1154warn-auto.sh makelang.sh
1155	cat warn-auto.sh makelang.sh > makelang
1156	chmod 755 makelang
1157
1158make-libcompile: \
1159make-libcompile.sh auto-ccld.sh
1160	cat auto-ccld.sh make-libcompile.sh > make-libcompile
1161	chmod 755 make-libcompile
1162
1163makelib: \
1164make-makelib warn-auto.sh systype
1165	( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > makelib
1166	chmod 755 makelib
1167
1168make-load: \
1169make-load.sh auto-ccld.sh
1170	cat auto-ccld.sh make-load.sh > make-load
1171	chmod 755 make-load
1172
1173make-makelib: \
1174make-makelib.sh auto-ccld.sh
1175	cat auto-ccld.sh make-makelib.sh > make-makelib
1176	chmod 755 make-makelib
1177
1178make-makeso: \
1179make-makeso.sh auto-ccld.sh
1180	cat auto-ccld.sh make-makeso.sh > make-makeso
1181	chmod 755 make-makeso
1182
1183make-messages-c: \
1184make-messages-c.sh auto-ccld.sh
1185	cat auto-ccld.sh make-messages-c.sh > make-messages-c
1186	chmod 755 make-messages-c
1187
1188make-messages: \
1189make-messages.sh auto-ccld.sh
1190	cat auto-ccld.sh make-messages.sh > make-messages
1191	chmod 755 make-messages
1192
1193makepath.lo: \
1194libcompile makepath.c die.h hasattribute.h stralloc.h gen_alloc.h sub_std.h stralloc.h gen_alloc.h
1195	./libcompile makepath.c
1196
1197makeso: \
1198make-makeso warn-auto.sh systype
1199	( cat warn-auto.sh; ./make-makeso "`cat systype`" ) > makeso
1200	chmod 755 makeso
1201
1202man: \
1203ezmlm.0 ezmlm-accept.0 ezmlm-archive.0 ezmlm-cgi.0 ezmlm-check.0 ezmlm-checksub.0 ezmlm-clean.0 ezmlm-confirm.0 ezmlm-cron.0 ezmlm-dispatch.0 ezmlm-gate.0 ezmlm-get.0 ezmlm-glconf.0 ezmlm-idx.0 ezmlm-import.0 ezmlm-issubn.0 ezmlm-limit.0 ezmlm-list.0 ezmlm-make.0 ezmlm-manage.0 ezmlm-moderate.0 ezmlm-receipt.0 ezmlm-reject.0 ezmlm-request.0 ezmlm-return.0 ezmlm-rmtab.0 ezmlm-send.0 ezmlm-split.0 ezmlm-store.0 ezmlm-sub.0 ezmlm-test.0 ezmlm-tstdig.0 ezmlm-unsub.0 ezmlm-warn.0 ezmlm-weed.0 alloc.0 case.0 datetime.0 direntry.0 env.0 error.0 error_str.0 error_temp.0 ezmlm.0 ezmlmglrc.0 ezmlmsubrc.0 ezmlmrc.0 fd_copy.0 fd_move.0 getln.0 getln2.0 getopt.0 now.0 sgetopt.0 stralloc.0 subfd.0 subgetopt.0 substdio.0 substdio_copy.0 substdio_in.0 substdio_out.0 surf.0 surfpcs.0 wait.0
1204
1205messages.all: \
1206lang/cs/text/messages lang/da/text/messages lang/de/text/messages lang/en_US/text/messages lang/fr/text/messages lang/hu/text/messages lang/id/text/messages lang/it/text/messages lang/nl/text/messages lang/pl/text/messages lang/pt_BR/text/messages lang/pt/text/messages lang/sv/text/messages
1207
1208messages.lo: \
1209libcompile messages.c error.h messages.h altpath.h config.h stralloc.h gen_alloc.h constmap.h copy.h cookie.h datetime.h die.h hasattribute.h slurp.h stralloc.h gen_alloc.h str.h strerr.h hasattribute.h messages-txt.c
1210	./libcompile messages.c
1211
1212messages-txt.c: \
1213make-messages-c conf-lang Makefile lang/cs/messages lang/da/messages lang/de/messages lang/en_US/messages lang/fr/messages lang/hu/messages lang/id/messages lang/it/messages lang/nl/messages lang/pl/messages lang/pt_BR/messages lang/pt/messages lang/sv/messages
1214	./make-messages-c < lang/$$(head -n 1 conf-lang)/messages >messages-txt.c
1215
1216m.lib: \
1217compile load trylib.c
1218	( ( ./compile trylib.c && ./load trylib -lm ) >/dev/null 2>&1 && echo -lm || exit 0 ) >m.lib
1219	rm -f trylib.o trylib
1220
1221mysql: \
1222sub-mysql.so
1223
1224ndelay_on.lo: \
1225libcompile ndelay_on.c ndelay.h
1226	./libcompile ndelay_on.c
1227
1228now.0: \
1229now.3
1230	nroff -man now.3 > now.0
1231
1232now.lo: \
1233libcompile now.c datetime.h now.h datetime.h
1234	./libcompile now.c
1235
1236nsl.lib: \
1237compile load trylib.c
1238	( ( ./compile trylib.c && ./load trylib -lnsl ) >/dev/null 2>&1 && echo -lnsl || exit 0 ) >nsl.lib
1239	rm -f trylib.o trylib
1240
1241open.a: \
1242makelib open_append.lo open_read.lo open_trunc.lo
1243	./makelib open.a open_append.lo open_read.lo open_trunc.lo
1244
1245open_append.lo: \
1246libcompile open_append.c open.h
1247	./libcompile open_append.c
1248
1249openreadclose.lo: \
1250libcompile openreadclose.c error.h open.h readclose.h stralloc.h gen_alloc.h openreadclose.h stralloc.h gen_alloc.h
1251	./libcompile openreadclose.c
1252
1253open_read.lo: \
1254libcompile open_read.c open.h
1255	./libcompile open_read.c
1256
1257open_trunc.lo: \
1258libcompile open_trunc.c open.h
1259	./libcompile open_trunc.c
1260
1261pgsql: \
1262sub-pgsql.so
1263
1264qmail_copy.lo: \
1265libcompile qmail_copy.c qmail.h substdio.h stralloc.h gen_alloc.h substdio.h
1266	./libcompile qmail_copy.c
1267
1268qmail.lo: \
1269libcompile qmail.c substdio.h readwrite.h wait.h die.h hasattribute.h env.h stralloc.h gen_alloc.h getconf.h str.h exit.h fork.h fd.h qmail.h substdio.h stralloc.h gen_alloc.h auto_qmail.h alloc.h stralloc.h gen_alloc.h idx.h
1270	./libcompile qmail.c
1271
1272quote.lo: \
1273libcompile quote.c stralloc.h gen_alloc.h str.h quote.h
1274	./libcompile quote.c
1275
1276readclose.lo: \
1277libcompile readclose.c error.h readclose.h stralloc.h gen_alloc.h
1278	./libcompile readclose.c
1279
1280scan_8long.lo: \
1281libcompile scan_8long.c scan.h
1282	./libcompile scan_8long.c
1283
1284scan_ulong.lo: \
1285libcompile scan_ulong.c scan.h
1286	./libcompile scan_ulong.c
1287
1288seek_set.lo: \
1289libcompile seek_set.c seek.h
1290	./libcompile seek_set.c
1291
1292select.h: \
1293choose compile trysysel.c select.h1 select.h2
1294	./choose c trysysel select.h1 select.h2 > select.h
1295
1296sender.lo: \
1297libcompile sender.c die.h hasattribute.h env.h str.h stralloc.h gen_alloc.h
1298	./libcompile sender.c
1299
1300sgetopt.0: \
1301sgetopt.3
1302	nroff -man sgetopt.3 > sgetopt.0
1303
1304sgetopt.lo: \
1305libcompile sgetopt.c substdio.h subfd.h substdio.h sgetopt.h subgetopt.h
1306	./libcompile sgetopt.c
1307
1308sig_catch.lo: \
1309libcompile sig_catch.c sig.h hassgact.h
1310	./libcompile sig_catch.c
1311
1312sig_pipe.lo: \
1313libcompile sig_pipe.c sig.h
1314	./libcompile sig_pipe.c
1315
1316slurpclose.lo: \
1317libcompile slurpclose.c stralloc.h gen_alloc.h readwrite.h slurpclose.h error.h
1318	./libcompile slurpclose.c
1319
1320slurp.lo: \
1321libcompile slurp.c stralloc.h gen_alloc.h slurp.h slurpclose.h error.h open.h
1322	./libcompile slurp.c
1323
1324socket_bind.lo: \
1325libcompile socket_bind.c byte.h socket.h uint16.h
1326	./libcompile socket_bind.c
1327
1328socket_conn.lo: \
1329libcompile socket_conn.c byte.h socket.h uint16.h
1330	./libcompile socket_conn.c
1331
1332socket_tcp.lo: \
1333libcompile socket_tcp.c ndelay.h socket.h uint16.h
1334	./libcompile socket_tcp.c
1335
1336socket_udp.lo: \
1337libcompile socket_udp.c ndelay.h socket.h uint16.h
1338	./libcompile socket_udp.c
1339
1340sqlite3: \
1341sub-sqlite3.so
1342
1343str.a: \
1344makelib str_len.lo str_diff.lo str_diffn.lo str_cpy.lo str_chr.lo str_rchr.lo str_start.lo byte_chr.lo byte_rchr.lo byte_diff.lo byte_copy.lo byte_cr.lo byte_zero.lo
1345	./makelib str.a str_len.lo str_diff.lo str_diffn.lo str_cpy.lo str_chr.lo str_rchr.lo str_start.lo byte_chr.lo byte_rchr.lo byte_diff.lo byte_copy.lo byte_cr.lo byte_zero.lo
1346
1347stralloc.0: \
1348stralloc.3
1349	nroff -man stralloc.3 > stralloc.0
1350
1351stralloc.a: \
1352makelib stralloc_eady.lo stralloc_pend.lo stralloc_copy.lo stralloc_opys.lo stralloc_opyb.lo stralloc_cat.lo stralloc_cats.lo stralloc_catb.o stralloc_arts.lo stralloc_num.lo
1353	./makelib stralloc.a stralloc_eady.lo stralloc_pend.lo stralloc_copy.lo stralloc_opys.lo stralloc_opyb.lo stralloc_cat.lo stralloc_cats.lo stralloc_catb.o stralloc_arts.lo stralloc_num.lo
1354
1355stralloc_arts.lo: \
1356libcompile stralloc_arts.c byte.h str.h stralloc.h gen_alloc.h
1357	./libcompile stralloc_arts.c
1358
1359stralloc_catb.lo: \
1360libcompile stralloc_catb.c stralloc.h gen_alloc.h byte.h
1361	./libcompile stralloc_catb.c
1362
1363stralloc_catb.o: \
1364compile stralloc_catb.c stralloc.h gen_alloc.h byte.h
1365	./compile stralloc_catb.c
1366
1367stralloc_cat.lo: \
1368libcompile stralloc_cat.c byte.h stralloc.h gen_alloc.h
1369	./libcompile stralloc_cat.c
1370
1371stralloc_cats.lo: \
1372libcompile stralloc_cats.c byte.h str.h stralloc.h gen_alloc.h
1373	./libcompile stralloc_cats.c
1374
1375stralloc_copy.lo: \
1376libcompile stralloc_copy.c byte.h stralloc.h gen_alloc.h
1377	./libcompile stralloc_copy.c
1378
1379stralloc_eady.lo: \
1380libcompile stralloc_eady.c alloc.h stralloc.h gen_alloc.h gen_allocdefs.h
1381	./libcompile stralloc_eady.c
1382
1383stralloc_num.lo: \
1384libcompile stralloc_num.c stralloc.h gen_alloc.h
1385	./libcompile stralloc_num.c
1386
1387stralloc_opyb.lo: \
1388libcompile stralloc_opyb.c stralloc.h gen_alloc.h byte.h
1389	./libcompile stralloc_opyb.c
1390
1391stralloc_opys.lo: \
1392libcompile stralloc_opys.c byte.h str.h stralloc.h gen_alloc.h
1393	./libcompile stralloc_opys.c
1394
1395stralloc_pend.lo: \
1396libcompile stralloc_pend.c alloc.h stralloc.h gen_alloc.h gen_allocdefs.h
1397	./libcompile stralloc_pend.c
1398
1399str_chr.lo: \
1400libcompile str_chr.c str.h
1401	./libcompile str_chr.c
1402
1403str_cpy.lo: \
1404libcompile str_cpy.c str.h
1405	./libcompile str_cpy.c
1406
1407str_diff.lo: \
1408libcompile str_diff.c str.h
1409	./libcompile str_diff.c
1410
1411str_diffn.lo: \
1412libcompile str_diffn.c str.h
1413	./libcompile str_diffn.c
1414
1415strerr.a: \
1416makelib strerr.lo
1417	./makelib strerr.a strerr.lo
1418
1419strerr.lo: \
1420libcompile strerr.c error.h exit.h substdio.h subfd.h substdio.h strerr.h hasattribute.h
1421	./libcompile strerr.c
1422
1423str_len.lo: \
1424libcompile str_len.c str.h
1425	./libcompile str_len.c
1426
1427str_rchr.lo: \
1428libcompile str_rchr.c str.h
1429	./libcompile str_rchr.c
1430
1431str_start.lo: \
1432libcompile str_start.c str.h
1433	./libcompile str_start.c
1434
1435subdb.lo: \
1436libcompile subdb.c case.h config.h stralloc.h gen_alloc.h cookie.h die.h hasattribute.h env.h messages.h fmt.h scan.h slurp.h stralloc.h gen_alloc.h str.h strerr.h hasattribute.h subdb.h stralloc.h gen_alloc.h auto_lib.h
1437	./libcompile subdb.c
1438
1439subfd.0: \
1440subfd.3
1441	nroff -man subfd.3 > subfd.0
1442
1443subfderr.lo: \
1444libcompile subfderr.c readwrite.h substdio.h subfd.h substdio.h
1445	./libcompile subfderr.c
1446
1447subfdin.lo: \
1448libcompile subfdin.c readwrite.h substdio.h subfd.h substdio.h
1449	./libcompile subfdin.c
1450
1451subfdout.lo: \
1452libcompile subfdout.c readwrite.h substdio.h subfd.h substdio.h
1453	./libcompile subfdout.c
1454
1455subgetopt.0: \
1456subgetopt.3
1457	nroff -man subgetopt.3 > subgetopt.0
1458
1459subgetopt.lo: \
1460libcompile subgetopt.c subgetopt.h
1461	./libcompile subgetopt.c
1462
1463subhash.lo: \
1464libcompile subhash.c subhash.h str.h
1465	./libcompile subhash.c
1466
1467sub-mysql.lo: \
1468libcompile sub-mysql.c byte.h die.h hasattribute.h str.h strerr.h hasattribute.h sub_sql.h subdb.h stralloc.h gen_alloc.h subdb.h stralloc.h gen_alloc.h
1469	./libcompile sub-mysql.c
1470
1471sub-mysql.so: \
1472makeso sub-mysql.lo sub_sql.lo libezmlm.a nsl.lib m.lib
1473	./makeso sub-mysql.so sub-mysql.lo sub_sql.lo -lezmlm -lmysqlclient  `cat nsl.lib` `cat m.lib`
1474
1475sub-pgsql.lo: \
1476libcompile sub-pgsql.c die.h hasattribute.h fmt.h scan.h strerr.h hasattribute.h sub_sql.h subdb.h stralloc.h gen_alloc.h
1477	./libcompile sub-pgsql.c
1478
1479sub-pgsql.so: \
1480makeso sub-pgsql.lo sub_sql.lo libezmlm.a crypt.lib
1481	./makeso sub-pgsql.so sub-pgsql.lo sub_sql.lo -lezmlm -lpq  `cat crypt.lib`
1482
1483sub-sqlite3.lo: \
1484libcompile sub-sqlite3.c die.h hasattribute.h strerr.h hasattribute.h sub_sql.h subdb.h stralloc.h gen_alloc.h subdb.h stralloc.h gen_alloc.h
1485	./libcompile sub-sqlite3.c
1486
1487sub-sqlite3.so: \
1488makeso sub-sqlite3.lo sub_sql.lo libezmlm.a crypt.lib
1489	./makeso sub-sqlite3.so sub-sqlite3.lo sub_sql.lo -lezmlm -lsqlite3  `cat crypt.lib`
1490
1491sub_sql.lo: \
1492libcompile sub_sql.c byte.h case.h cookie.h date822fmt.h datetime.h die.h hasattribute.h fmt.h log.h messages.h scan.h stralloc.h gen_alloc.h strerr.h hasattribute.h sub_sql.h subdb.h stralloc.h gen_alloc.h subdb.h stralloc.h gen_alloc.h subhash.h
1493	./libcompile sub_sql.c
1494
1495substdi.lo: \
1496libcompile substdi.c substdio.h byte.h error.h
1497	./libcompile substdi.c
1498
1499substdio.0: \
1500substdio.3
1501	nroff -man substdio.3 > substdio.0
1502
1503substdio.a: \
1504makelib substdio.lo substdi.lo substdo.lo subfderr.lo subfdin.lo subfdout.lo substdio_copy.lo
1505	./makelib substdio.a substdio.lo substdi.lo substdo.lo subfderr.lo subfdin.lo subfdout.lo substdio_copy.lo
1506
1507substdio_copy.0: \
1508substdio_copy.3
1509	nroff -man substdio_copy.3 > substdio_copy.0
1510
1511substdio_copy.lo: \
1512libcompile substdio_copy.c substdio.h
1513	./libcompile substdio_copy.c
1514
1515substdio_in.0: \
1516substdio_in.3
1517	nroff -man substdio_in.3 > substdio_in.0
1518
1519substdio.lo: \
1520libcompile substdio.c substdio.h
1521	./libcompile substdio.c
1522
1523substdio_out.0: \
1524substdio_out.3
1525	nroff -man substdio_out.3 > substdio_out.0
1526
1527sub-std.lo: \
1528libcompile sub-std.c byte.h case.h config.h stralloc.h gen_alloc.h cookie.h date822fmt.h datetime.h die.h hasattribute.h error.h messages.h fmt.h getln.h idx.h lock.h log.h makehash.h open.h qmail.h substdio.h stralloc.h gen_alloc.h readwrite.h scan.h slurp.h str.h stralloc.h gen_alloc.h strerr.h hasattribute.h sub_std.h stralloc.h gen_alloc.h subhash.h substdio.h subdb.h stralloc.h gen_alloc.h uint32.h wrap.h
1529	./libcompile sub-std.c
1530
1531substdo.lo: \
1532libcompile substdo.c substdio.h str.h byte.h error.h
1533	./libcompile substdo.c
1534
1535sub-std.so: \
1536makeso sub-std.lo libezmlm.a
1537	./makeso sub-std.so sub-std.lo -lezmlm
1538
1539surf.0: \
1540surf.3
1541	nroff -man surf.3 > surf.0
1542
1543surf.lo: \
1544libcompile surf.c surf.h uint32.h
1545	./libcompile surf.c
1546
1547surfpcs.0: \
1548surfpcs.3
1549	nroff -man surfpcs.3 > surfpcs.0
1550
1551surfpcs.lo: \
1552libcompile surfpcs.c surf.h uint32.h surfpcs.h uint32.h
1553	./libcompile surfpcs.c
1554
1555systype: \
1556find-systype trycpp.c
1557	./find-systype > systype
1558
1559taia_add.lo: \
1560libcompile taia_add.c taia.h tai.h uint64.h
1561	./libcompile taia_add.c
1562
1563taia_approx.lo: \
1564libcompile taia_approx.c taia.h tai.h uint64.h
1565	./libcompile taia_approx.c
1566
1567taia_frac.lo: \
1568libcompile taia_frac.c taia.h tai.h uint64.h
1569	./libcompile taia_frac.c
1570
1571taia_less.lo: \
1572libcompile taia_less.c taia.h tai.h uint64.h
1573	./libcompile taia_less.c
1574
1575taia_now.lo: \
1576libcompile taia_now.c taia.h tai.h uint64.h
1577	./libcompile taia_now.c
1578
1579taia_pack.lo: \
1580libcompile taia_pack.c taia.h tai.h uint64.h
1581	./libcompile taia_pack.c
1582
1583taia_sub.lo: \
1584libcompile taia_sub.c taia.h tai.h uint64.h
1585	./libcompile taia_sub.c
1586
1587taia_uint.lo: \
1588libcompile taia_uint.c taia.h tai.h uint64.h
1589	./libcompile taia_uint.c
1590
1591tai_pack.lo: \
1592libcompile tai_pack.c tai.h uint64.h
1593	./libcompile tai_pack.c
1594
1595targets: \
1596all install
1597
1598test-getconfopt: \
1599load test-getconfopt.o libezmlm.a
1600	./load test-getconfopt -lezmlm
1601
1602test-getconfopt.o: \
1603compile test-getconfopt.c fmt.h getconfopt.h stralloc.h gen_alloc.h substdio.h
1604	./compile test-getconfopt.c
1605
1606uint16_pack.lo: \
1607libcompile uint16_pack.c uint16.h
1608	./libcompile uint16_pack.c
1609
1610uint16_unpack.lo: \
1611libcompile uint16_unpack.c uint16.h
1612	./libcompile uint16_unpack.c
1613
1614uint32.h: \
1615tryulong32.c compile load uint32.h1 uint32.h2
1616	( ( ./compile tryulong32.c && ./load tryulong32 && ./tryulong32 ) >/dev/null 2>&1 \
1617	&& cat uint32.h2 || cat uint32.h1 ) > uint32.h
1618	rm -f tryulong32.o tryulong32
1619
1620uint32_unpack.lo: \
1621libcompile uint32_unpack.c uint32.h
1622	./libcompile uint32_unpack.c
1623
1624uint64.h: \
1625choose compile load tryulong64.c uint64.h1 uint64.h2
1626	./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h
1627
1628unfoldHDR.lo: \
1629libcompile unfoldHDR.c stralloc.h gen_alloc.h strerr.h hasattribute.h case.h byte.h messages.h mime.h stralloc.h gen_alloc.h die.h hasattribute.h idx.h
1630	./libcompile unfoldHDR.c
1631
1632wait.0: \
1633wait.3
1634	nroff -man wait.3 > wait.0
1635
1636wait_pid.lo: \
1637libcompile wait_pid.c error.h haswaitp.h
1638	./libcompile wait_pid.c
1639
1640wrap_chdir.lo: \
1641libcompile wrap_chdir.c messages.h strerr.h hasattribute.h wrap.h die.h hasattribute.h
1642	./libcompile wrap_chdir.c
1643
1644wrap_execbin.lo: \
1645libcompile wrap_execbin.c auto_bin.h stralloc.h gen_alloc.h wrap.h die.h hasattribute.h idx.h
1646	./libcompile wrap_execbin.c
1647
1648wrap_execsh.lo: \
1649libcompile wrap_execsh.c wrap.h
1650	./libcompile wrap_execsh.c
1651
1652wrap_execv.lo: \
1653libcompile wrap_execv.c error.h messages.h strerr.h hasattribute.h wrap.h die.h hasattribute.h idx.h
1654	./libcompile wrap_execv.c
1655
1656wrap_exitcode.lo: \
1657libcompile wrap_exitcode.c messages.h strerr.h hasattribute.h wrap.h die.h hasattribute.h idx.h
1658	./libcompile wrap_exitcode.c
1659
1660wrap_fork.lo: \
1661libcompile wrap_fork.c fork.h messages.h strerr.h hasattribute.h wrap.h die.h hasattribute.h idx.h
1662	./libcompile wrap_fork.c
1663
1664wrap_rename.lo: \
1665libcompile wrap_rename.c die.h hasattribute.h messages.h strerr.h hasattribute.h wrap.h
1666	./libcompile wrap_rename.c
1667
1668wrap_stat.lo: \
1669libcompile wrap_stat.c error.h messages.h strerr.h hasattribute.h wrap.h die.h hasattribute.h idx.h
1670	./libcompile wrap_stat.c
1671
1672wrap_waitpid.lo: \
1673libcompile wrap_waitpid.c wait.h messages.h strerr.h hasattribute.h wrap.h die.h hasattribute.h idx.h
1674	./libcompile wrap_waitpid.c
1675