No empty .Rs/.Re
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / bounce / Makefile.in
blob09de6e9d0ae5b258498f667a702f3837b4b81318
1 SHELL = /bin/sh
2 SRCS = bounce.c bounce_append_service.c bounce_notify_service.c \
3 bounce_cleanup.c bounce_notify_util.c bounce_notify_verp.c \
4 bounce_one_service.c bounce_warn_service.c bounce_trace_service.c \
5 bounce_template.c bounce_templates.c
6 OBJS = bounce.o bounce_append_service.o bounce_notify_service.o \
7 bounce_cleanup.o bounce_notify_util.o bounce_notify_verp.o \
8 bounce_one_service.o bounce_warn_service.o bounce_trace_service.o \
9 bounce_template.o bounce_templates.o
10 HDRS =
11 TESTSRC =
12 DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
13 CFLAGS = $(DEBUG) $(OPT) $(DEFS)
14 TESTPROG=
15 PROG = bounce
16 SAMPLES = ../../conf/bounce.cf.default
17 INC_DIR = ../../include
18 LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
20 .c.o:; $(CC) $(CFLAGS) -c $*.c
22 all: $(PROG) ../../conf/bounce.cf.default
24 $(PROG): $(OBJS) $(LIBS)
25 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
27 # Eliminate dependency on installed Postfix.
28 ../../conf/bounce.cf.default: template_test.ref annotate.pl
29 rm -f $@
30 perl annotate.pl <template_test.ref >$@
32 main.cf:
33 echo queue_directory=. >main.cf
34 echo myhostname=example.com >>main.cf
36 $(OBJS): ../../conf/makedefs.out
38 Makefile: Makefile.in
39 cat ../../conf/makedefs.out $? >$@
41 test: $(TESTPROG)
43 tests: update template_test 2template_test
45 root_tests:
47 update: ../../libexec/$(PROG) $(SAMPLES)
49 ../../libexec/$(PROG): $(PROG)
50 cp $(PROG) ../../libexec
52 printfck: $(OBJS) $(PROG)
53 rm -rf printfck
54 mkdir printfck
55 cp *.h printfck
56 sed '1,/^# do not edit/!d' Makefile > printfck/Makefile
57 set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
58 cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
60 lint:
61 lint $(DEFS) $(SRCS) $(LINTFIX)
63 clean:
64 rm -f *.o *core $(PROG) $(TESTPROG) junk main.cf
65 rm -rf printfck
67 tidy: clean
69 # Avoid dependency on installed Postfix.
70 # XXX This still requires that default_privs, mail_owner etc. accounts exist.
71 template_test: $(PROG) main.cf template_test.ref
72 MAIL_CONFIG=. ./$(PROG) -SVzndump_templates >template_test.tmp
73 diff template_test.ref template_test.tmp
74 MAIL_CONFIG=. ./$(PROG) -SVzndump_templates \
75 -o bounce_template_file=template_test.ref > template_test.tmp
76 diff template_test.ref template_test.tmp
77 rm -f template_test.tmp
79 2template_test: $(PROG) main.cf template_test.ref 2template_test.in
80 MAIL_CONFIG=. ./$(PROG) -SVzndump_templates \
81 -o bounce_template_file=2template_test.in > template_test.tmp
82 diff template_test.ref template_test.tmp
83 rm -f template_test.tmp
85 depend: $(MAKES)
86 (sed '1,/^# do not edit/!d' Makefile.in; \
87 set -e; for i in [a-z][a-z0-9]*.c; do \
88 $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
89 -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
90 -e 's/o: \.\//o: /' -e p -e '}' ; \
91 done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
92 @$(EXPORT) make -f Makefile.in Makefile 1>&2
94 # do not edit below this line - it is generated by 'make depend'
95 bounce.o: ../../include/attr.h
96 bounce.o: ../../include/bounce.h
97 bounce.o: ../../include/bounce_log.h
98 bounce.o: ../../include/deliver_request.h
99 bounce.o: ../../include/dsb_scan.h
100 bounce.o: ../../include/dsn.h
101 bounce.o: ../../include/dsn_buf.h
102 bounce.o: ../../include/iostuff.h
103 bounce.o: ../../include/load_file.h
104 bounce.o: ../../include/mail_addr.h
105 bounce.o: ../../include/mail_conf.h
106 bounce.o: ../../include/mail_params.h
107 bounce.o: ../../include/mail_proto.h
108 bounce.o: ../../include/mail_queue.h
109 bounce.o: ../../include/mail_server.h
110 bounce.o: ../../include/mail_version.h
111 bounce.o: ../../include/msg.h
112 bounce.o: ../../include/msg_stats.h
113 bounce.o: ../../include/rcpt_buf.h
114 bounce.o: ../../include/recipient_list.h
115 bounce.o: ../../include/stringops.h
116 bounce.o: ../../include/sys_defs.h
117 bounce.o: ../../include/vbuf.h
118 bounce.o: ../../include/vstream.h
119 bounce.o: ../../include/vstring.h
120 bounce.o: bounce.c
121 bounce.o: bounce_service.h
122 bounce.o: bounce_template.h
123 bounce_append_service.o: ../../include/attr.h
124 bounce_append_service.o: ../../include/bounce_log.h
125 bounce_append_service.o: ../../include/deliver_flock.h
126 bounce_append_service.o: ../../include/dsn.h
127 bounce_append_service.o: ../../include/dsn_buf.h
128 bounce_append_service.o: ../../include/iostuff.h
129 bounce_append_service.o: ../../include/mail_params.h
130 bounce_append_service.o: ../../include/mail_proto.h
131 bounce_append_service.o: ../../include/mail_queue.h
132 bounce_append_service.o: ../../include/msg.h
133 bounce_append_service.o: ../../include/myflock.h
134 bounce_append_service.o: ../../include/quote_822_local.h
135 bounce_append_service.o: ../../include/quote_flags.h
136 bounce_append_service.o: ../../include/rcpt_buf.h
137 bounce_append_service.o: ../../include/recipient_list.h
138 bounce_append_service.o: ../../include/stringops.h
139 bounce_append_service.o: ../../include/sys_defs.h
140 bounce_append_service.o: ../../include/vbuf.h
141 bounce_append_service.o: ../../include/vstream.h
142 bounce_append_service.o: ../../include/vstring.h
143 bounce_append_service.o: bounce_append_service.c
144 bounce_append_service.o: bounce_service.h
145 bounce_append_service.o: bounce_template.h
146 bounce_cleanup.o: ../../include/attr.h
147 bounce_cleanup.o: ../../include/bounce_log.h
148 bounce_cleanup.o: ../../include/dsn.h
149 bounce_cleanup.o: ../../include/dsn_buf.h
150 bounce_cleanup.o: ../../include/mail_queue.h
151 bounce_cleanup.o: ../../include/msg.h
152 bounce_cleanup.o: ../../include/mymalloc.h
153 bounce_cleanup.o: ../../include/rcpt_buf.h
154 bounce_cleanup.o: ../../include/recipient_list.h
155 bounce_cleanup.o: ../../include/sys_defs.h
156 bounce_cleanup.o: ../../include/vbuf.h
157 bounce_cleanup.o: ../../include/vstream.h
158 bounce_cleanup.o: ../../include/vstring.h
159 bounce_cleanup.o: bounce_cleanup.c
160 bounce_cleanup.o: bounce_service.h
161 bounce_cleanup.o: bounce_template.h
162 bounce_notify_service.o: ../../include/attr.h
163 bounce_notify_service.o: ../../include/bounce.h
164 bounce_notify_service.o: ../../include/bounce_log.h
165 bounce_notify_service.o: ../../include/cleanup_user.h
166 bounce_notify_service.o: ../../include/deliver_request.h
167 bounce_notify_service.o: ../../include/dsn.h
168 bounce_notify_service.o: ../../include/dsn_buf.h
169 bounce_notify_service.o: ../../include/dsn_mask.h
170 bounce_notify_service.o: ../../include/int_filt.h
171 bounce_notify_service.o: ../../include/mail_addr.h
172 bounce_notify_service.o: ../../include/mail_error.h
173 bounce_notify_service.o: ../../include/mail_params.h
174 bounce_notify_service.o: ../../include/mail_queue.h
175 bounce_notify_service.o: ../../include/msg.h
176 bounce_notify_service.o: ../../include/msg_stats.h
177 bounce_notify_service.o: ../../include/name_mask.h
178 bounce_notify_service.o: ../../include/post_mail.h
179 bounce_notify_service.o: ../../include/rcpt_buf.h
180 bounce_notify_service.o: ../../include/recipient_list.h
181 bounce_notify_service.o: ../../include/sys_defs.h
182 bounce_notify_service.o: ../../include/vbuf.h
183 bounce_notify_service.o: ../../include/vstream.h
184 bounce_notify_service.o: ../../include/vstring.h
185 bounce_notify_service.o: bounce_notify_service.c
186 bounce_notify_service.o: bounce_service.h
187 bounce_notify_service.o: bounce_template.h
188 bounce_notify_util.o: ../../include/attr.h
189 bounce_notify_util.o: ../../include/bounce_log.h
190 bounce_notify_util.o: ../../include/cleanup_user.h
191 bounce_notify_util.o: ../../include/deliver_completed.h
192 bounce_notify_util.o: ../../include/dsn.h
193 bounce_notify_util.o: ../../include/dsn_buf.h
194 bounce_notify_util.o: ../../include/dsn_mask.h
195 bounce_notify_util.o: ../../include/events.h
196 bounce_notify_util.o: ../../include/int_filt.h
197 bounce_notify_util.o: ../../include/iostuff.h
198 bounce_notify_util.o: ../../include/is_header.h
199 bounce_notify_util.o: ../../include/lex_822.h
200 bounce_notify_util.o: ../../include/line_wrap.h
201 bounce_notify_util.o: ../../include/mail_addr.h
202 bounce_notify_util.o: ../../include/mail_date.h
203 bounce_notify_util.o: ../../include/mail_error.h
204 bounce_notify_util.o: ../../include/mail_params.h
205 bounce_notify_util.o: ../../include/mail_proto.h
206 bounce_notify_util.o: ../../include/mail_queue.h
207 bounce_notify_util.o: ../../include/msg.h
208 bounce_notify_util.o: ../../include/myflock.h
209 bounce_notify_util.o: ../../include/mymalloc.h
210 bounce_notify_util.o: ../../include/name_mask.h
211 bounce_notify_util.o: ../../include/post_mail.h
212 bounce_notify_util.o: ../../include/quote_822_local.h
213 bounce_notify_util.o: ../../include/quote_flags.h
214 bounce_notify_util.o: ../../include/rcpt_buf.h
215 bounce_notify_util.o: ../../include/rec_type.h
216 bounce_notify_util.o: ../../include/recipient_list.h
217 bounce_notify_util.o: ../../include/record.h
218 bounce_notify_util.o: ../../include/stringops.h
219 bounce_notify_util.o: ../../include/sys_defs.h
220 bounce_notify_util.o: ../../include/vbuf.h
221 bounce_notify_util.o: ../../include/vstream.h
222 bounce_notify_util.o: ../../include/vstring.h
223 bounce_notify_util.o: bounce_notify_util.c
224 bounce_notify_util.o: bounce_service.h
225 bounce_notify_util.o: bounce_template.h
226 bounce_notify_verp.o: ../../include/attr.h
227 bounce_notify_verp.o: ../../include/bounce.h
228 bounce_notify_verp.o: ../../include/bounce_log.h
229 bounce_notify_verp.o: ../../include/cleanup_user.h
230 bounce_notify_verp.o: ../../include/deliver_request.h
231 bounce_notify_verp.o: ../../include/dsn.h
232 bounce_notify_verp.o: ../../include/dsn_buf.h
233 bounce_notify_verp.o: ../../include/dsn_mask.h
234 bounce_notify_verp.o: ../../include/int_filt.h
235 bounce_notify_verp.o: ../../include/mail_addr.h
236 bounce_notify_verp.o: ../../include/mail_error.h
237 bounce_notify_verp.o: ../../include/mail_params.h
238 bounce_notify_verp.o: ../../include/mail_queue.h
239 bounce_notify_verp.o: ../../include/msg.h
240 bounce_notify_verp.o: ../../include/msg_stats.h
241 bounce_notify_verp.o: ../../include/name_mask.h
242 bounce_notify_verp.o: ../../include/post_mail.h
243 bounce_notify_verp.o: ../../include/rcpt_buf.h
244 bounce_notify_verp.o: ../../include/recipient_list.h
245 bounce_notify_verp.o: ../../include/sys_defs.h
246 bounce_notify_verp.o: ../../include/vbuf.h
247 bounce_notify_verp.o: ../../include/verp_sender.h
248 bounce_notify_verp.o: ../../include/vstream.h
249 bounce_notify_verp.o: ../../include/vstring.h
250 bounce_notify_verp.o: bounce_notify_verp.c
251 bounce_notify_verp.o: bounce_service.h
252 bounce_notify_verp.o: bounce_template.h
253 bounce_one_service.o: ../../include/attr.h
254 bounce_one_service.o: ../../include/bounce.h
255 bounce_one_service.o: ../../include/bounce_log.h
256 bounce_one_service.o: ../../include/cleanup_user.h
257 bounce_one_service.o: ../../include/deliver_request.h
258 bounce_one_service.o: ../../include/dsn.h
259 bounce_one_service.o: ../../include/dsn_buf.h
260 bounce_one_service.o: ../../include/dsn_mask.h
261 bounce_one_service.o: ../../include/int_filt.h
262 bounce_one_service.o: ../../include/mail_addr.h
263 bounce_one_service.o: ../../include/mail_error.h
264 bounce_one_service.o: ../../include/mail_params.h
265 bounce_one_service.o: ../../include/msg.h
266 bounce_one_service.o: ../../include/msg_stats.h
267 bounce_one_service.o: ../../include/name_mask.h
268 bounce_one_service.o: ../../include/post_mail.h
269 bounce_one_service.o: ../../include/rcpt_buf.h
270 bounce_one_service.o: ../../include/recipient_list.h
271 bounce_one_service.o: ../../include/sys_defs.h
272 bounce_one_service.o: ../../include/vbuf.h
273 bounce_one_service.o: ../../include/vstream.h
274 bounce_one_service.o: ../../include/vstring.h
275 bounce_one_service.o: bounce_one_service.c
276 bounce_one_service.o: bounce_service.h
277 bounce_one_service.o: bounce_template.h
278 bounce_template.o: ../../include/attr.h
279 bounce_template.o: ../../include/iostuff.h
280 bounce_template.o: ../../include/is_header.h
281 bounce_template.o: ../../include/mac_expand.h
282 bounce_template.o: ../../include/mac_parse.h
283 bounce_template.o: ../../include/mail_conf.h
284 bounce_template.o: ../../include/mail_params.h
285 bounce_template.o: ../../include/mail_proto.h
286 bounce_template.o: ../../include/msg.h
287 bounce_template.o: ../../include/mymalloc.h
288 bounce_template.o: ../../include/split_at.h
289 bounce_template.o: ../../include/stringops.h
290 bounce_template.o: ../../include/sys_defs.h
291 bounce_template.o: ../../include/vbuf.h
292 bounce_template.o: ../../include/vstream.h
293 bounce_template.o: ../../include/vstring.h
294 bounce_template.o: bounce_template.c
295 bounce_template.o: bounce_template.h
296 bounce_templates.o: ../../include/attr.h
297 bounce_templates.o: ../../include/iostuff.h
298 bounce_templates.o: ../../include/mail_addr.h
299 bounce_templates.o: ../../include/mail_proto.h
300 bounce_templates.o: ../../include/msg.h
301 bounce_templates.o: ../../include/mymalloc.h
302 bounce_templates.o: ../../include/stringops.h
303 bounce_templates.o: ../../include/sys_defs.h
304 bounce_templates.o: ../../include/vbuf.h
305 bounce_templates.o: ../../include/vstream.h
306 bounce_templates.o: ../../include/vstring.h
307 bounce_templates.o: ../../include/vstring_vstream.h
308 bounce_templates.o: bounce_template.h
309 bounce_templates.o: bounce_templates.c
310 bounce_trace_service.o: ../../include/attr.h
311 bounce_trace_service.o: ../../include/bounce_log.h
312 bounce_trace_service.o: ../../include/cleanup_user.h
313 bounce_trace_service.o: ../../include/deliver_request.h
314 bounce_trace_service.o: ../../include/dsn.h
315 bounce_trace_service.o: ../../include/dsn_buf.h
316 bounce_trace_service.o: ../../include/dsn_mask.h
317 bounce_trace_service.o: ../../include/int_filt.h
318 bounce_trace_service.o: ../../include/mail_addr.h
319 bounce_trace_service.o: ../../include/mail_error.h
320 bounce_trace_service.o: ../../include/mail_params.h
321 bounce_trace_service.o: ../../include/mail_queue.h
322 bounce_trace_service.o: ../../include/msg.h
323 bounce_trace_service.o: ../../include/msg_stats.h
324 bounce_trace_service.o: ../../include/name_mask.h
325 bounce_trace_service.o: ../../include/post_mail.h
326 bounce_trace_service.o: ../../include/rcpt_buf.h
327 bounce_trace_service.o: ../../include/recipient_list.h
328 bounce_trace_service.o: ../../include/sys_defs.h
329 bounce_trace_service.o: ../../include/vbuf.h
330 bounce_trace_service.o: ../../include/vstream.h
331 bounce_trace_service.o: ../../include/vstring.h
332 bounce_trace_service.o: bounce_service.h
333 bounce_trace_service.o: bounce_template.h
334 bounce_trace_service.o: bounce_trace_service.c
335 bounce_warn_service.o: ../../include/attr.h
336 bounce_warn_service.o: ../../include/bounce_log.h
337 bounce_warn_service.o: ../../include/cleanup_user.h
338 bounce_warn_service.o: ../../include/dsn.h
339 bounce_warn_service.o: ../../include/dsn_buf.h
340 bounce_warn_service.o: ../../include/dsn_mask.h
341 bounce_warn_service.o: ../../include/int_filt.h
342 bounce_warn_service.o: ../../include/mail_addr.h
343 bounce_warn_service.o: ../../include/mail_error.h
344 bounce_warn_service.o: ../../include/mail_params.h
345 bounce_warn_service.o: ../../include/mail_queue.h
346 bounce_warn_service.o: ../../include/msg.h
347 bounce_warn_service.o: ../../include/name_mask.h
348 bounce_warn_service.o: ../../include/post_mail.h
349 bounce_warn_service.o: ../../include/rcpt_buf.h
350 bounce_warn_service.o: ../../include/recipient_list.h
351 bounce_warn_service.o: ../../include/sys_defs.h
352 bounce_warn_service.o: ../../include/vbuf.h
353 bounce_warn_service.o: ../../include/vstream.h
354 bounce_warn_service.o: ../../include/vstring.h
355 bounce_warn_service.o: bounce_service.h
356 bounce_warn_service.o: bounce_template.h
357 bounce_warn_service.o: bounce_warn_service.c