xref: /netbsd-src/external/ibm-public/postfix/dist/src/postconf/Makefile.in (revision 51c5f9b7c2b2cc93506078d2cab158634a65201f)
1SHELL	= /bin/sh
2SRCS	= postconf.c postconf_builtin.c postconf_edit.c postconf_main.c \
3	postconf_master.c postconf_misc.c postconf_node.c postconf_other.c \
4	postconf_service.c postconf_unused.c postconf_user.c postconf_dbms.c \
5	postconf_lookup.c
6OBJS	= postconf.o postconf_builtin.o postconf_edit.o postconf_main.o \
7	postconf_master.o postconf_misc.o postconf_node.o postconf_other.o \
8	postconf_service.o postconf_unused.o postconf_user.o postconf_dbms.o \
9	postconf_lookup.o
10HDRS	= postconf.h
11TESTSRC	=
12DEFS	= -I. -I$(INC_DIR) -D$(SYSTYPE)
13CFLAGS	= $(DEBUG) $(OPT) $(DEFS) -DLEGACY_DBMS_SUPPORT
14TESTPROG=
15MAKES	= bool_table.h bool_vars.h int_table.h int_vars.h str_table.h \
16	str_vars.h time_table.h time_vars.h raw_table.h raw_vars.h \
17	nint_table.h nint_vars.h nbool_table.h nbool_vars.h long_table.h \
18	long_vars.h str_fn_table.h str_fn_vars.h
19TEST_TMP= main.cf master.cf test*.tmp
20DUMMIES	= makes_dummy # for "make -j"
21PROG	= postconf
22SAMPLES	= ../../conf/main.cf.default
23INC_DIR	= ../../include
24LIBS	= ../../lib/libxsasl.a ../../lib/libglobal.a ../../lib/libutil.a
25
26.c.o:;	$(CC) $(CFLAGS) -c $*.c
27
28$(PROG): $(OBJS) $(LIBS)
29	$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
30
31../../conf/main.cf.default: $(PROG) Makefile
32	rm -f $@
33	(echo "# DO NOT EDIT THIS FILE. EDIT THE MAIN.CF FILE INSTEAD. THE"; \
34	 echo "# TEXT HERE JUST SHOWS DEFAULT SETTINGS BUILT INTO POSTFIX."; \
35	 echo "#"; ./$(PROG) -d -c ../../conf) | \
36	    egrep -v '^(myhostname|mydomain|mynetworks|process_name|process_id) ' >$@
37
38$(OBJS): ../../conf/makedefs.out
39
40Makefile: Makefile.in
41	cat ../../conf/makedefs.out $? >$@
42
43test:	$(TESTPROG)
44
45tests: test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 test11 \
46	test12 test13 test14 test15 test16 test17 test18 test19 test20 test21 \
47	test22 test23 test24 test25 test26 test27 test28 test29 test30 test4b \
48	test31 test32 test33 test34 test35 test36 test37 test39 test40
49
50root_tests:
51
52update: ../../bin/$(PROG) $(SAMPLES)
53
54../../bin/$(PROG): $(PROG)
55	cp $(PROG) ../../bin
56
57$(MAKES): makes_dummy
58
59makes_dummy: $(INC_DIR)/mail_params.h ../global/mail_params.c extract.awk Makefile.in
60	$(AWK) -f extract.awk ../*/*.c | $(SHELL)
61	touch makes_dummy
62
63
64# Define two parameters with smtpd_restriction_classes. One will be ignored.
65
66test1:	$(PROG) test1.ref
67	rm -f main.cf master.cf
68	touch main.cf master.cf
69	echo smtpd_restriction_classes = foo bar >> main.cf
70	echo foo = yes >> main.cf
71	./$(PROG) -nc . >test1.tmp 2>&1
72	diff test1.ref test1.tmp
73	rm -f main.cf master.cf test1.tmp
74
75# Define two unused parameters. Expect two warnings.
76
77test2:	$(PROG) test2.ref
78	rm -f main.cf master.cf
79	touch main.cf master.cf
80	echo restriction_classes = foo bar >> main.cf
81	echo foo = yes >> main.cf
82	./$(PROG) -nc . >test2.tmp 2>&1
83	diff test2.ref test2.tmp
84	rm -f main.cf master.cf test2.tmp
85
86# Define one parameter in main.cf, validate it with main.cf.
87
88test3:	$(PROG) test3.ref
89	rm -f main.cf master.cf
90	touch main.cf master.cf
91	echo foo = yes >> main.cf
92	echo 'bar = $$foo' >> main.cf
93	echo 'always_bcc = $$bar' >> main.cf
94	./$(PROG) -nc . >test3.tmp 2>&1
95	diff test3.ref test3.tmp
96	rm -f main.cf master.cf test3.tmp
97
98# Define one parameter in main.cf, validate it with master.cf.
99
100test4:	$(PROG) test4.ref
101	rm -f main.cf master.cf
102	touch main.cf master.cf
103	echo foo = yes >> main.cf
104	echo 'bar = $$foo' >> main.cf
105	echo smtpd unix - n n - 0 smtpd >> master.cf
106	echo ' -o always_bcc=$$bar' >> master.cf
107	./$(PROG) -nc . >test4.tmp 2>&1
108	diff test4.ref test4.tmp
109	rm -f main.cf master.cf test4.tmp
110
111# Define one parameter in master.cf, validate it with main.cf.
112
113test4b:	$(PROG) test4b.ref
114	rm -f main.cf master.cf
115	touch main.cf master.cf
116	echo 'always_bcc = $$foo' >> main.cf
117	echo 'biff = $$bar' >> main.cf
118	echo 'bar = aaa' >> main.cf
119	echo smtpd1 unix - n n - 0 smtpd >> master.cf
120	echo ' -o foo=xxx -o bar=yyy -o baz=zzz' >> master.cf
121	echo '#smtpd2 unix - n n - 0 smtpd' >> master.cf
122	./$(PROG) -nc . >test4b.tmp 2>&1
123	diff test4b.ref test4b.tmp
124	rm -f main.cf master.cf test4b.tmp
125
126# Define one user-defined parameter with name=value in master.cf,
127# validate it with known_parameter=$$name in master.cf.
128
129test5:	$(PROG) test5.ref
130	rm -f main.cf master.cf
131	touch main.cf master.cf
132	echo smtpd unix - n n - 0 smtpd >> master.cf
133	echo ' -o bar=yes -o always_bcc=$$bar -o' >> master.cf
134	./$(PROG) -nc . >test5.tmp 2>&1
135	diff test5.ref test5.tmp
136	rm -f main.cf master.cf test5.tmp
137
138# Basic functionality test: service parameters for delivery agents.
139
140test6:	$(PROG) test6.ref
141	rm -f main.cf master.cf
142	touch main.cf master.cf
143	echo whatevershebrings unix - n n - 0 pipe >> master.cf
144	./$(PROG) -c . 2>&1 | grep whatevershebrings >test6.tmp
145	diff test6.ref test6.tmp
146	rm -f main.cf master.cf test6.tmp
147
148# Basic functionality test: service parameters for spawn programs.
149
150test7:	$(PROG) test7.ref
151	rm -f main.cf master.cf
152	touch main.cf master.cf
153	echo whatevershebrings unix - n n - 0 spawn >> master.cf
154	./$(PROG) -c . 2>&1 | grep whatevershebrings >test7.tmp
155	diff test7.ref test7.tmp
156	rm -f main.cf master.cf test7.tmp
157
158test8:	$(PROG) test8.ref
159	rm -f main.cf master.cf
160	touch main.cf master.cf
161	echo whatevershebrings inet - n n - 0 spawn >> master.cf
162	echo whatevershebrings_time_limit=1 >> main.cf
163	./$(PROG) -c . 2>&1 | grep whatevershebrings >test8.tmp
164	diff test8.ref test8.tmp
165	rm -f main.cf master.cf test8.tmp
166
167test9:	$(PROG) test9.ref
168	rm -f main.cf master.cf
169	touch main.cf master.cf
170	echo foo inet - n n - 0 spawn >> master.cf
171	echo bar unix - n n - 0 spawn >> master.cf
172	./$(PROG) -c . -M inet >test9.tmp 2>&1
173	diff test9.ref test9.tmp
174	rm -f main.cf master.cf test9.tmp
175
176test10:	$(PROG) test10.ref
177	rm -f main.cf master.cf
178	touch main.cf master.cf
179	echo foo inet - n n - 0 spawn >> master.cf
180	echo bar unix - n n - 0 spawn >> master.cf
181	./$(PROG) -c . -M bar.inet foo.unix >test10.tmp 2>&1
182	diff test10.ref test10.tmp
183	rm -f main.cf master.cf test10.tmp
184
185test11:	$(PROG) test11.ref
186	rm -f main.cf master.cf
187	touch main.cf master.cf
188	echo foo inet - n n - 0 spawn >> master.cf
189	echo bar unix - n n - 0 spawn >> master.cf
190	./$(PROG) -c . -M >test11.tmp 2>&1
191	diff test11.ref test11.tmp
192	rm -f main.cf master.cf test11.tmp
193
194# Duplicate service entry.
195
196test12:	$(PROG) test12.ref
197	rm -f main.cf master.cf
198	touch main.cf master.cf
199	echo bar=yes >> main.cf
200	echo foo inet - n n - 0 spawn >> master.cf
201	echo ' -o always_bcc=$$bar -o' >> master.cf
202	echo foo inet - n n - 0 spawn >> master.cf
203	echo ' -o always_bcc=$$bar -o' >> master.cf
204	./$(PROG) -c . -M >test12.tmp 2>&1
205	diff test12.ref test12.tmp
206	rm -f main.cf master.cf test12.tmp
207
208# Define parameter with restriction_classes in master.cf, validate in main.cf.
209
210test13:	$(PROG) test13.ref
211	rm -f main.cf master.cf
212	touch main.cf master.cf
213	echo bar=yes >> main.cf
214	echo baz=xx >> main.cf
215	echo foo inet - n n - 0 spawn >> master.cf
216	echo ' -o smtpd_restriction_classes=bar' >> master.cf
217	./$(PROG) -nc . >test13.tmp 2>&1
218	diff test13.ref test13.tmp
219	rm -f main.cf master.cf test13.tmp
220
221# Define parameter with restriction_classes in main.cf, validate in master.cf.
222
223test14:	$(PROG) test14.ref
224	rm -f main.cf master.cf
225	touch main.cf master.cf
226	echo smtpd_restriction_classes=bar >> main.cf
227	echo foo inet - n n - 0 spawn >> master.cf
228	echo ' -o bar=yes -o baz=xx' >> master.cf
229	./$(PROG) -nc . >test14.tmp 2>&1
230	diff test14.ref test14.tmp
231	rm -f main.cf master.cf test14.tmp
232
233# Define two parameters, one is hidden by master.cf.
234
235test15:	$(PROG) test15.ref
236	rm -f main.cf master.cf
237	touch main.cf master.cf
238	echo bar=xx >> main.cf
239	echo baz=yy >> main.cf
240	echo foo inet - n n - 0 spawn >> master.cf
241	echo ' -o bar=yes -o always_bcc=$$bar$$baz' >> master.cf
242	./$(PROG) -nc . >test15.tmp 2>&1
243	diff test15.ref test15.tmp
244	rm -f main.cf master.cf test15.tmp
245
246# Test graceful degradation if master.cf is unavailable.
247
248test16:	$(PROG) test16.ref
249	rm -f main.cf master.cf
250	touch main.cf
251	./$(PROG) -nc . >test16.tmp 2>&1
252	diff test16.ref test16.tmp
253	rm -f main.cf master.cf test16.tmp
254
255test17:	$(PROG) test17.ref
256	rm -f main.cf master.cf
257	touch main.cf
258	-./$(PROG) -Mc . >test17.tmp 2>&1; exit 0
259	diff test17.ref test17.tmp
260	rm -f main.cf master.cf test17.tmp
261
262# Test legacy $name in built-in defaults.
263
264test18:	$(PROG) test18.ref
265	rm -f main.cf master.cf
266	touch main.cf master.cf
267	echo virtual_maps=xxx >> main.cf
268	echo smtpd_client_connection_limit_exceptions=yyy >> main.cf
269	./$(PROG) -nc . >test18.tmp 2>&1
270	diff test18.ref test18.tmp
271	rm -f main.cf master.cf test18.tmp
272
273# Test $name in "raw" parameters.
274
275test19:	$(PROG) test19.ref
276	rm -f main.cf master.cf
277	touch main.cf master.cf
278	echo forward_path='$$'aaaa >> main.cf
279	echo default_rbl_reply='$$'bbbb >> main.cf
280	./$(PROG) -nc . >test19.tmp 2>&1
281	diff test19.ref test19.tmp
282	rm -f main.cf master.cf test19.tmp
283
284# Test master.cf line folding.
285
286test20:	$(PROG) test20.ref
287	rm -f main.cf master.cf
288	touch main.cf master.cf
289	echo foo inet - n n - 0 spawn >> master.cf
290	echo ' -o always_bcc=$$bar$$baz' >> master.cf
291	./$(PROG) -Mfc . >test20.tmp 2>&1
292	diff test20.ref test20.tmp
293	rm -f main.cf master.cf test20.tmp
294
295# Test main.cf line folding.
296
297test21:	$(PROG) test21.ref
298	rm -f main.cf master.cf
299	touch main.cf master.cf
300	echo forward_path = xxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxx \
301	    xxxxxxxxxxxxx xxxxxxxxxxxxxx >> main.cf
302	./$(PROG) -nfc . >test21.tmp 2>&1
303	diff test21.ref test21.tmp
304	rm -f main.cf master.cf test21.tmp
305
306# Like test6, but using a delivery agent that has no _time_limit magic.
307
308test22:	$(PROG) test22.ref
309	rm -f main.cf master.cf
310	touch main.cf master.cf
311	echo whatevershebrings unix - n n - 0 smtp >> master.cf
312	./$(PROG) -c . 2>&1 | grep whatevershebrings >test22.tmp
313	diff test22.ref test22.tmp
314	rm -f main.cf master.cf test22.tmp
315
316# Test the -C flag for each category.
317
318test23:	$(PROG) test23.ref
319	rm -f main.cf master.cf
320	touch main.cf master.cf
321	echo always_bcc = yes >> main.cf
322	echo name = value >> main.cf
323	echo whatevershebrings unix - n n - 0 smtp >> master.cf
324	echo ' -o always_bcc=$$name' >> master.cf
325	./$(PROG) -c . -nC builtin >test23.tmp 2>&1
326	diff test23.ref test23.tmp
327	rm -f main.cf master.cf test23.tmp
328
329test24:	$(PROG) test24.ref
330	rm -f main.cf master.cf
331	touch main.cf master.cf
332	echo always_bcc = yes >> main.cf
333	echo name = value >> main.cf
334	echo whatevershebrings unix - n n - 0 smtp >> master.cf
335	echo ' -o always_bcc=$$name' >> master.cf
336	./$(PROG) -c . -nC user >test24.tmp 2>&1
337	diff test24.ref test24.tmp
338	rm -f main.cf master.cf test24.tmp
339
340test25:	$(PROG) test25.ref
341	rm -f main.cf master.cf
342	touch main.cf master.cf
343	echo always_bcc = yes >> main.cf
344	echo name = value >> main.cf
345	echo whatevershebrings unix - n n - 0 smtp >> master.cf
346	echo ' -o always_bcc=$$name' >> master.cf
347	./$(PROG) -c . -C service 2>&1 | grep whatevershebrings >test25.tmp
348	diff test25.ref test25.tmp
349	rm -f main.cf master.cf test25.tmp
350
351# Test completeness of "-C all".
352
353test26:	$(PROG) test26.ref
354	rm -f main.cf master.cf
355	touch main.cf master.cf
356	echo always_bcc = yes >> main.cf
357	echo name = value >> main.cf
358	echo whatevershebrings unix - n n - 0 smtp >> master.cf
359	echo ' -o always_bcc=$$name' >> master.cf
360	./$(PROG) -nc . -C all >test26.tmp 2>&1
361	diff test26.ref test26.tmp
362	rm -f main.cf master.cf test26.tmp
363
364test27:	$(PROG) test27.ref
365	rm -f main.cf master.cf
366	touch main.cf master.cf
367	echo always_bcc = yes >> main.cf
368	echo name = value >> main.cf
369	echo whatevershebrings unix - n n - 0 smtp >> master.cf
370	echo ' -o always_bcc=$$name' >> master.cf
371	./$(PROG) -c . -C all 2>&1 | grep whatevershebrings >test27.tmp
372	diff test27.ref test27.tmp
373	rm -f main.cf master.cf test27.tmp
374
375# Test macro expansion, type:table parsing and scoping.
376
377test28:	$(PROG) test28.ref
378	rm -f main.cf master.cf
379	touch main.cf master.cf
380	echo 'xx = proxy:ldap:foo' >> main.cf
381	echo 'foo_domain = bar' >> main.cf
382	echo 'header_checks = ldap:hh' >> main.cf
383	echo 'hh_domain = whatever' >> main.cf
384	echo 'zz = $$yy' >> main.cf
385	echo 'yy = aap' >> main.cf
386	echo 'db = memcache' >> main.cf
387	echo whatevershebrings unix - n n - 0 other >> master.cf
388	echo ' -o body_checks=$$db:zz' >> master.cf
389	echo 'zz_domain = whatever' >> main.cf
390	echo 'aa_domain = whatever' >> main.cf
391	./$(PROG) -nc . >test28.tmp 2>&1
392	diff test28.ref test28.tmp
393	rm -f main.cf master.cf test28.tmp
394
395# Test the handling of known and unknown database-defined suffixes.
396
397test29:	$(PROG) test29.ref
398	rm -f main.cf master.cf
399	touch main.cf master.cf
400	echo 'ldapxx = proxy:ldap:ldapfoo' >> main.cf
401	echo 'ldapfoo_domain = bar' >> main.cf
402	echo 'ldapfoo_domainx = bar' >> main.cf
403	echo 'mysqlxx = proxy:mysql:mysqlfoo' >> main.cf
404	echo 'mysqlfoo_domain = bar' >> main.cf
405	echo 'mysqlfoo_domainx = bar' >> main.cf
406	echo 'pgsqlxx = proxy:pgsql:pgsqlfoo' >> main.cf
407	echo 'pgsqlfoo_domain = bar' >> main.cf
408	echo 'pgsqlfoo_domainx = bar' >> main.cf
409	echo 'sqlitexx = proxy:sqlite:sqlitefoo' >> main.cf
410	echo 'sqlitefoo_domain = bar' >> main.cf
411	echo 'sqlitefoo_domainx = bar' >> main.cf
412	echo 'memcachexx = proxy:memcache:memcachefoo' >> main.cf
413	echo 'memcachefoo_domain = bar' >> main.cf
414	echo 'memcachefoo_domainx = bar' >> main.cf
415	./$(PROG) -nc . >test29.tmp 2>&1
416	diff test29.ref test29.tmp
417	rm -f main.cf master.cf test29.tmp
418
419test30:	$(PROG) test30.ref
420	rm -f main.cf master.cf
421	touch main.cf master.cf
422	echo p1=xx >> main.cf
423	echo p2=xx >> main.cf
424	echo p3=xx >> main.cf
425	echo p4=xx >> main.cf
426	echo whatevershebrings unix - n n - 0 other >> master.cf
427	echo ' -o body_checks=$$p1' >> master.cf
428	echo ' -o bodyx_checks=$$p2' >> master.cf
429	echo ' -oheader_checks=$$p3' >> master.cf
430	echo ' -oheaderx_checks=$$p4' >> master.cf
431	./$(PROG) -nc . >test30.tmp 2>&1
432	diff test30.ref test30.tmp
433	rm -f main.cf master.cf test30.tmp
434
435# Does a non-default setting propagate to a non-default value?
436
437test31:	$(PROG) test31.ref
438	rm -f main.cf master.cf
439	touch main.cf master.cf
440	echo 'smtpd_helo_restrictions=whatever' >> main.cf
441	echo 'smtpd_sender_restrictions=$$smtpd_helo_restrictions' >> main.cf
442	./$(PROG) -nxc . >test31.tmp 2>&1
443	diff test31.ref test31.tmp
444	rm -f main.cf master.cf test31.tmp
445
446# Does a non-default setting propagate to a default value?
447
448test32:	$(PROG) test32.ref
449	rm -f main.cf master.cf
450	touch main.cf master.cf
451	echo 'relay_domains=whatever' >> main.cf
452	./$(PROG) -xc . fast_flush_domains >test32.tmp 2>&1
453	diff test32.ref test32.tmp
454	rm -f main.cf master.cf test32.tmp
455
456# Does a default setting propagate to a non-default value?
457
458test33:	$(PROG) test33.ref
459	rm -f main.cf master.cf
460	touch main.cf master.cf
461	echo 'mydestination=whatever' >> main.cf
462	echo 'always_bcc=$$relay_domains' >> main.cf
463	./$(PROG) -xc . always_bcc >test33.tmp 2>&1
464	diff test33.ref test33.tmp
465	rm -f main.cf master.cf test33.tmp
466
467test34:	$(PROG) test34.ref
468	rm -f main.cf master.cf
469	touch main.cf master.cf
470	echo 'mydestination=whatever' >> main.cf
471	echo 'process_name=xxx' >> main.cf
472	echo 'process_id=yyy' >> main.cf
473	./$(PROG) -xc . mydestination process_name >test34.tmp 2>&1
474	diff test34.ref test34.tmp
475	rm -f main.cf master.cf test34.tmp
476
477test35:	$(PROG) test35.ref
478	rm -f main.cf master.cf
479	touch main.cf master.cf
480	echo whatevershebrings unix - n n - 0 other >> master.cf
481	echo ' -o body_checks=whatever' >> master.cf
482	echo ' -o process_name=aaa' >> master.cf
483	echo ' -o process_id=bbb' >> master.cf
484	./$(PROG) -xc . process_name >test35.tmp 2>&1
485	diff test35.ref test35.tmp
486	rm -f main.cf master.cf test35.tmp
487
488test36:	$(PROG) test36.ref
489	rm -f main.cf master.cf
490	touch main.cf master.cf
491	echo 'mydestination=$$virtual_mapx' >> main.cf
492	echo 'virtual_alias_maps=$$virtual_maps' >> main.cf
493	./$(PROG) -nxc . >test36.tmp 2>&1
494	diff test36.ref test36.tmp
495	rm -f main.cf master.cf test36.tmp
496
497test37: $(PROG) test37.ref
498	rm -f main.cf master.cf
499	touch main.cf master.cf
500	echo 'xxx=yyy' >> main.cf
501	echo 'aaa=bbb' >> main.cf
502	echo whatever unix - n n - 0 other >> master.cf
503	echo ' -o mydestination=$$xxx' >> master.cf
504	echo ' -o always_bcc=$$aaa' >> master.cf
505	echo ' -o aaa=ccc' >> master.cf
506	./$(PROG) -Mfxc . >test37.tmp 2>&1
507	diff test37.ref test37.tmp
508	rm -f main.cf master.cf test37.tmp
509
510test39: $(PROG) test39.ref
511	rm -f main.cf master.cf
512	touch main.cf master.cf
513	echo foo unix - n n - 0 other >> master.cf
514	echo bar inet - n n - 0 other >> master.cf
515	echo baz unix - n n - 0 other >> master.cf
516	./$(PROG) -Mfc . unix >test39.tmp 2>&1
517	diff test39.ref test39.tmp
518	rm -f main.cf master.cf test39.tmp
519
520test40: $(PROG) test40.ref
521	rm -f main.cf master.cf
522	touch main.cf master.cf
523	echo foo unix - n n - 0 other >> master.cf
524	echo ' -voaaa=bbb' >> master.cf
525	echo ' -vo ccc=$$aaa' >> master.cf
526	echo ' -v -oddd=$$ccc' >> master.cf
527	./$(PROG) -Mfxc . unix >test40.tmp 2>&1
528	diff test40.ref test40.tmp
529	rm -f main.cf master.cf test40.tmp
530
531printfck: $(OBJS) $(PROG)
532	rm -rf printfck
533	mkdir printfck
534	cp *.h printfck
535	sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
536	set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
537	cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
538
539lint:
540	lint $(DEFS) $(SRCS) $(LINTFIX)
541
542clean:
543	rm -f *.o *core $(PROG) $(TESTPROG) junk $(MAKES) $(AUTOS) $(DUMMIES) \
544	$(TEST_TMP)
545	rm -rf printfck
546
547tidy:	clean
548
549depend: $(MAKES)
550	(sed '1,/^# do not edit/!d' Makefile.in; \
551	set -e; for i in [a-z][a-z0-9]*.c; do \
552	    $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
553	    -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
554	    -e 's/o: \.\//o: /' -e p -e '}' ; \
555	done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
556	@$(EXPORT) make -f Makefile.in Makefile 1>&2
557
558# do not edit below this line - it is generated by 'make depend'
559postconf.o: ../../include/argv.h
560postconf.o: ../../include/dict.h
561postconf.o: ../../include/htable.h
562postconf.o: ../../include/mail_conf.h
563postconf.o: ../../include/mail_dict.h
564postconf.o: ../../include/mail_params.h
565postconf.o: ../../include/mail_run.h
566postconf.o: ../../include/mail_version.h
567postconf.o: ../../include/msg.h
568postconf.o: ../../include/msg_vstream.h
569postconf.o: ../../include/myflock.h
570postconf.o: ../../include/name_mask.h
571postconf.o: ../../include/stringops.h
572postconf.o: ../../include/sys_defs.h
573postconf.o: ../../include/vbuf.h
574postconf.o: ../../include/vstream.h
575postconf.o: ../../include/vstring.h
576postconf.o: ../../include/warn_stat.h
577postconf.o: postconf.c
578postconf.o: postconf.h
579postconf_builtin.o: ../../include/argv.h
580postconf_builtin.o: ../../include/attr.h
581postconf_builtin.o: ../../include/dict.h
582postconf_builtin.o: ../../include/get_hostname.h
583postconf_builtin.o: ../../include/htable.h
584postconf_builtin.o: ../../include/inet_proto.h
585postconf_builtin.o: ../../include/iostuff.h
586postconf_builtin.o: ../../include/mail_addr.h
587postconf_builtin.o: ../../include/mail_conf.h
588postconf_builtin.o: ../../include/mail_params.h
589postconf_builtin.o: ../../include/mail_proto.h
590postconf_builtin.o: ../../include/mail_version.h
591postconf_builtin.o: ../../include/msg.h
592postconf_builtin.o: ../../include/myflock.h
593postconf_builtin.o: ../../include/mymalloc.h
594postconf_builtin.o: ../../include/mynetworks.h
595postconf_builtin.o: ../../include/server_acl.h
596postconf_builtin.o: ../../include/stringops.h
597postconf_builtin.o: ../../include/sys_defs.h
598postconf_builtin.o: ../../include/vbuf.h
599postconf_builtin.o: ../../include/vstream.h
600postconf_builtin.o: ../../include/vstring.h
601postconf_builtin.o: bool_table.h
602postconf_builtin.o: bool_vars.h
603postconf_builtin.o: install_table.h
604postconf_builtin.o: install_vars.h
605postconf_builtin.o: int_table.h
606postconf_builtin.o: int_vars.h
607postconf_builtin.o: long_table.h
608postconf_builtin.o: long_vars.h
609postconf_builtin.o: nbool_table.h
610postconf_builtin.o: nbool_vars.h
611postconf_builtin.o: nint_table.h
612postconf_builtin.o: nint_vars.h
613postconf_builtin.o: postconf.h
614postconf_builtin.o: postconf_builtin.c
615postconf_builtin.o: raw_table.h
616postconf_builtin.o: raw_vars.h
617postconf_builtin.o: str_fn_table.h
618postconf_builtin.o: str_fn_vars.h
619postconf_builtin.o: str_table.h
620postconf_builtin.o: str_vars.h
621postconf_builtin.o: time_table.h
622postconf_builtin.o: time_vars.h
623postconf_dbms.o: ../../include/argv.h
624postconf_dbms.o: ../../include/dict.h
625postconf_dbms.o: ../../include/dict_ldap.h
626postconf_dbms.o: ../../include/dict_memcache.h
627postconf_dbms.o: ../../include/dict_mysql.h
628postconf_dbms.o: ../../include/dict_pgsql.h
629postconf_dbms.o: ../../include/dict_proxy.h
630postconf_dbms.o: ../../include/dict_sqlite.h
631postconf_dbms.o: ../../include/htable.h
632postconf_dbms.o: ../../include/mac_expand.h
633postconf_dbms.o: ../../include/mac_parse.h
634postconf_dbms.o: ../../include/mail_conf.h
635postconf_dbms.o: ../../include/myflock.h
636postconf_dbms.o: ../../include/split_at.h
637postconf_dbms.o: ../../include/stringops.h
638postconf_dbms.o: ../../include/sys_defs.h
639postconf_dbms.o: ../../include/vbuf.h
640postconf_dbms.o: ../../include/vstream.h
641postconf_dbms.o: ../../include/vstring.h
642postconf_dbms.o: postconf.h
643postconf_dbms.o: postconf_dbms.c
644postconf_edit.o: ../../include/argv.h
645postconf_edit.o: ../../include/dict.h
646postconf_edit.o: ../../include/edit_file.h
647postconf_edit.o: ../../include/htable.h
648postconf_edit.o: ../../include/mail_params.h
649postconf_edit.o: ../../include/msg.h
650postconf_edit.o: ../../include/myflock.h
651postconf_edit.o: ../../include/mymalloc.h
652postconf_edit.o: ../../include/readlline.h
653postconf_edit.o: ../../include/stringops.h
654postconf_edit.o: ../../include/sys_defs.h
655postconf_edit.o: ../../include/vbuf.h
656postconf_edit.o: ../../include/vstream.h
657postconf_edit.o: ../../include/vstring.h
658postconf_edit.o: ../../include/vstring_vstream.h
659postconf_edit.o: postconf.h
660postconf_edit.o: postconf_edit.c
661postconf_lookup.o: ../../include/argv.h
662postconf_lookup.o: ../../include/dict.h
663postconf_lookup.o: ../../include/htable.h
664postconf_lookup.o: ../../include/mac_expand.h
665postconf_lookup.o: ../../include/mac_parse.h
666postconf_lookup.o: ../../include/mail_conf.h
667postconf_lookup.o: ../../include/msg.h
668postconf_lookup.o: ../../include/myflock.h
669postconf_lookup.o: ../../include/mymalloc.h
670postconf_lookup.o: ../../include/stringops.h
671postconf_lookup.o: ../../include/sys_defs.h
672postconf_lookup.o: ../../include/vbuf.h
673postconf_lookup.o: ../../include/vstream.h
674postconf_lookup.o: ../../include/vstring.h
675postconf_lookup.o: postconf.h
676postconf_lookup.o: postconf_lookup.c
677postconf_main.o: ../../include/argv.h
678postconf_main.o: ../../include/dict.h
679postconf_main.o: ../../include/htable.h
680postconf_main.o: ../../include/mac_expand.h
681postconf_main.o: ../../include/mac_parse.h
682postconf_main.o: ../../include/mail_conf.h
683postconf_main.o: ../../include/mail_params.h
684postconf_main.o: ../../include/msg.h
685postconf_main.o: ../../include/myflock.h
686postconf_main.o: ../../include/mymalloc.h
687postconf_main.o: ../../include/readlline.h
688postconf_main.o: ../../include/stringops.h
689postconf_main.o: ../../include/sys_defs.h
690postconf_main.o: ../../include/vbuf.h
691postconf_main.o: ../../include/vstream.h
692postconf_main.o: ../../include/vstring.h
693postconf_main.o: postconf.h
694postconf_main.o: postconf_main.c
695postconf_master.o: ../../include/argv.h
696postconf_master.o: ../../include/dict.h
697postconf_master.o: ../../include/htable.h
698postconf_master.o: ../../include/mail_params.h
699postconf_master.o: ../../include/match_service.h
700postconf_master.o: ../../include/msg.h
701postconf_master.o: ../../include/myflock.h
702postconf_master.o: ../../include/mymalloc.h
703postconf_master.o: ../../include/readlline.h
704postconf_master.o: ../../include/stringops.h
705postconf_master.o: ../../include/sys_defs.h
706postconf_master.o: ../../include/vbuf.h
707postconf_master.o: ../../include/vstream.h
708postconf_master.o: ../../include/vstring.h
709postconf_master.o: postconf.h
710postconf_master.o: postconf_master.c
711postconf_misc.o: ../../include/argv.h
712postconf_misc.o: ../../include/dict.h
713postconf_misc.o: ../../include/htable.h
714postconf_misc.o: ../../include/mail_conf.h
715postconf_misc.o: ../../include/mail_params.h
716postconf_misc.o: ../../include/myflock.h
717postconf_misc.o: ../../include/mymalloc.h
718postconf_misc.o: ../../include/safe.h
719postconf_misc.o: ../../include/sys_defs.h
720postconf_misc.o: ../../include/vbuf.h
721postconf_misc.o: ../../include/vstream.h
722postconf_misc.o: ../../include/vstring.h
723postconf_misc.o: postconf.h
724postconf_misc.o: postconf_misc.c
725postconf_node.o: ../../include/argv.h
726postconf_node.o: ../../include/dict.h
727postconf_node.o: ../../include/htable.h
728postconf_node.o: ../../include/msg.h
729postconf_node.o: ../../include/myflock.h
730postconf_node.o: ../../include/mymalloc.h
731postconf_node.o: ../../include/sys_defs.h
732postconf_node.o: ../../include/vbuf.h
733postconf_node.o: ../../include/vstream.h
734postconf_node.o: ../../include/vstring.h
735postconf_node.o: postconf.h
736postconf_node.o: postconf_node.c
737postconf_other.o: ../../include/argv.h
738postconf_other.o: ../../include/dict.h
739postconf_other.o: ../../include/htable.h
740postconf_other.o: ../../include/mbox_conf.h
741postconf_other.o: ../../include/myflock.h
742postconf_other.o: ../../include/sys_defs.h
743postconf_other.o: ../../include/vbuf.h
744postconf_other.o: ../../include/vstream.h
745postconf_other.o: ../../include/vstring.h
746postconf_other.o: ../../include/xsasl.h
747postconf_other.o: postconf.h
748postconf_other.o: postconf_other.c
749postconf_service.o: ../../include/argv.h
750postconf_service.o: ../../include/dict.h
751postconf_service.o: ../../include/htable.h
752postconf_service.o: ../../include/mail_params.h
753postconf_service.o: ../../include/msg.h
754postconf_service.o: ../../include/myflock.h
755postconf_service.o: ../../include/mymalloc.h
756postconf_service.o: ../../include/stringops.h
757postconf_service.o: ../../include/sys_defs.h
758postconf_service.o: ../../include/vbuf.h
759postconf_service.o: ../../include/vstream.h
760postconf_service.o: ../../include/vstring.h
761postconf_service.o: postconf.h
762postconf_service.o: postconf_service.c
763postconf_unused.o: ../../include/argv.h
764postconf_unused.o: ../../include/dict.h
765postconf_unused.o: ../../include/htable.h
766postconf_unused.o: ../../include/mail_conf.h
767postconf_unused.o: ../../include/mail_params.h
768postconf_unused.o: ../../include/msg.h
769postconf_unused.o: ../../include/myflock.h
770postconf_unused.o: ../../include/sys_defs.h
771postconf_unused.o: ../../include/vbuf.h
772postconf_unused.o: ../../include/vstream.h
773postconf_unused.o: ../../include/vstring.h
774postconf_unused.o: postconf.h
775postconf_unused.o: postconf_unused.c
776postconf_user.o: ../../include/argv.h
777postconf_user.o: ../../include/dict.h
778postconf_user.o: ../../include/htable.h
779postconf_user.o: ../../include/mac_expand.h
780postconf_user.o: ../../include/mac_parse.h
781postconf_user.o: ../../include/mail_conf.h
782postconf_user.o: ../../include/mail_params.h
783postconf_user.o: ../../include/msg.h
784postconf_user.o: ../../include/myflock.h
785postconf_user.o: ../../include/mymalloc.h
786postconf_user.o: ../../include/stringops.h
787postconf_user.o: ../../include/sys_defs.h
788postconf_user.o: ../../include/vbuf.h
789postconf_user.o: ../../include/vstream.h
790postconf_user.o: ../../include/vstring.h
791postconf_user.o: postconf.h
792postconf_user.o: postconf_user.c
793