2
SRCS = lmtp.c lmtp_connect.c lmtp_proto.c lmtp_chat.c lmtp_session.c \
3
lmtp_addr.c lmtp_trouble.c lmtp_state.c lmtp_sasl_glue.c \
5
OBJS = lmtp.o lmtp_connect.o lmtp_proto.o lmtp_chat.o lmtp_session.o \
6
lmtp_addr.o lmtp_trouble.o lmtp_state.o lmtp_sasl_glue.o \
10
DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
11
CFLAGS = $(DEBUG) $(OPT) $(DEFS)
14
INC_DIR = ../../include
15
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libdns.a ../../lib/libutil.a
17
.c.o:; $(CC) $(CFLAGS) -c $*.c
19
$(PROG): $(OBJS) $(LIBS)
20
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
23
(set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
29
update: ../../libexec/$(PROG)
31
../../libexec/$(PROG): $(PROG)
32
cp $(PROG) ../../libexec
34
printfck: $(OBJS) $(PROG)
38
sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
39
set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
40
cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
43
lint $(DEFS) $(SRCS) $(LINTFIX)
46
rm -f *.o *core $(PROG) $(TESTPROG) junk
52
(sed '1,/^# do not edit/!d' Makefile.in; \
53
set -e; for i in [a-z][a-z0-9]*.c; do \
54
$(CC) -E $(DEFS) $(INCL) $$i | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
55
-e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' -e 'p' -e '}'; \
56
done) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
57
@$(EXPORT) make -f Makefile.in Makefile 1>&2
59
# do not edit below this line - it is generated by 'make depend'
61
lmtp.o: ../../include/sys_defs.h
62
lmtp.o: ../../include/dict.h
63
lmtp.o: ../../include/vstream.h
64
lmtp.o: ../../include/vbuf.h
65
lmtp.o: ../../include/argv.h
66
lmtp.o: ../../include/msg.h
67
lmtp.o: ../../include/mymalloc.h
68
lmtp.o: ../../include/name_mask.h
69
lmtp.o: ../../include/split_at.h
70
lmtp.o: ../../include/deliver_request.h
71
lmtp.o: ../../include/vstring.h
72
lmtp.o: ../../include/recipient_list.h
73
lmtp.o: ../../include/mail_queue.h
74
lmtp.o: ../../include/mail_params.h
75
lmtp.o: ../../include/mail_conf.h
76
lmtp.o: ../../include/debug_peer.h
77
lmtp.o: ../../include/mail_error.h
78
lmtp.o: ../../include/flush_clnt.h
79
lmtp.o: ../../include/mail_server.h
82
lmtp_addr.o: lmtp_addr.c
83
lmtp_addr.o: ../../include/sys_defs.h
84
lmtp_addr.o: ../../include/msg.h
85
lmtp_addr.o: ../../include/vstring.h
86
lmtp_addr.o: ../../include/vbuf.h
87
lmtp_addr.o: ../../include/mymalloc.h
88
lmtp_addr.o: ../../include/inet_addr_list.h
89
lmtp_addr.o: ../../include/stringops.h
90
lmtp_addr.o: ../../include/mail_params.h
91
lmtp_addr.o: ../../include/own_inet_addr.h
92
lmtp_addr.o: ../../include/dns.h
94
lmtp_addr.o: ../../include/vstream.h
95
lmtp_addr.o: ../../include/argv.h
96
lmtp_addr.o: ../../include/deliver_request.h
97
lmtp_addr.o: ../../include/recipient_list.h
98
lmtp_addr.o: lmtp_addr.h
99
lmtp_chat.o: lmtp_chat.c
100
lmtp_chat.o: ../../include/sys_defs.h
101
lmtp_chat.o: ../../include/msg.h
102
lmtp_chat.o: ../../include/vstring.h
103
lmtp_chat.o: ../../include/vbuf.h
104
lmtp_chat.o: ../../include/vstream.h
105
lmtp_chat.o: ../../include/argv.h
106
lmtp_chat.o: ../../include/stringops.h
107
lmtp_chat.o: ../../include/line_wrap.h
108
lmtp_chat.o: ../../include/mymalloc.h
109
lmtp_chat.o: ../../include/recipient_list.h
110
lmtp_chat.o: ../../include/deliver_request.h
111
lmtp_chat.o: ../../include/smtp_stream.h
112
lmtp_chat.o: ../../include/mail_params.h
113
lmtp_chat.o: ../../include/mail_addr.h
114
lmtp_chat.o: ../../include/post_mail.h
115
lmtp_chat.o: ../../include/cleanup_user.h
116
lmtp_chat.o: ../../include/mail_error.h
117
lmtp_chat.o: ../../include/name_mask.h
119
lmtp_connect.o: lmtp_connect.c
120
lmtp_connect.o: ../../include/sys_defs.h
121
lmtp_connect.o: ../../include/msg.h
122
lmtp_connect.o: ../../include/vstream.h
123
lmtp_connect.o: ../../include/vbuf.h
124
lmtp_connect.o: ../../include/vstring.h
125
lmtp_connect.o: ../../include/split_at.h
126
lmtp_connect.o: ../../include/mymalloc.h
127
lmtp_connect.o: ../../include/iostuff.h
128
lmtp_connect.o: ../../include/timed_connect.h
129
lmtp_connect.o: ../../include/stringops.h
130
lmtp_connect.o: ../../include/host_port.h
131
lmtp_connect.o: ../../include/sane_connect.h
132
lmtp_connect.o: ../../include/mail_params.h
133
lmtp_connect.o: ../../include/mail_proto.h
134
lmtp_connect.o: ../../include/attr.h
135
lmtp_connect.o: ../../include/dns.h
136
lmtp_connect.o: lmtp.h
137
lmtp_connect.o: ../../include/argv.h
138
lmtp_connect.o: ../../include/deliver_request.h
139
lmtp_connect.o: ../../include/recipient_list.h
140
lmtp_connect.o: lmtp_addr.h
141
lmtp_proto.o: lmtp_proto.c
142
lmtp_proto.o: ../../include/sys_defs.h
143
lmtp_proto.o: ../../include/msg.h
144
lmtp_proto.o: ../../include/vstring.h
145
lmtp_proto.o: ../../include/vbuf.h
146
lmtp_proto.o: ../../include/vstream.h
147
lmtp_proto.o: ../../include/vstring_vstream.h
148
lmtp_proto.o: ../../include/stringops.h
149
lmtp_proto.o: ../../include/mymalloc.h
150
lmtp_proto.o: ../../include/name_code.h
151
lmtp_proto.o: ../../include/mail_params.h
152
lmtp_proto.o: ../../include/smtp_stream.h
153
lmtp_proto.o: ../../include/mail_queue.h
154
lmtp_proto.o: ../../include/recipient_list.h
155
lmtp_proto.o: ../../include/deliver_request.h
156
lmtp_proto.o: ../../include/deliver_completed.h
157
lmtp_proto.o: ../../include/defer.h
158
lmtp_proto.o: ../../include/bounce.h
159
lmtp_proto.o: ../../include/sent.h
160
lmtp_proto.o: ../../include/record.h
161
lmtp_proto.o: ../../include/rec_type.h
162
lmtp_proto.o: ../../include/off_cvt.h
163
lmtp_proto.o: ../../include/mark_corrupt.h
164
lmtp_proto.o: ../../include/quote_821_local.h
165
lmtp_proto.o: ../../include/quote_flags.h
166
lmtp_proto.o: ../../include/mail_proto.h
167
lmtp_proto.o: ../../include/iostuff.h
168
lmtp_proto.o: ../../include/attr.h
170
lmtp_proto.o: ../../include/argv.h
171
lmtp_proto.o: lmtp_sasl.h
172
lmtp_sasl_glue.o: lmtp_sasl_glue.c
173
lmtp_sasl_glue.o: ../../include/sys_defs.h
174
lmtp_sasl_glue.o: ../../include/msg.h
175
lmtp_sasl_glue.o: ../../include/mymalloc.h
176
lmtp_sasl_glue.o: ../../include/stringops.h
177
lmtp_sasl_glue.o: ../../include/vstring.h
178
lmtp_sasl_glue.o: ../../include/vbuf.h
179
lmtp_sasl_glue.o: ../../include/split_at.h
180
lmtp_sasl_glue.o: ../../include/name_mask.h
181
lmtp_sasl_glue.o: ../../include/mail_params.h
182
lmtp_sasl_glue.o: ../../include/string_list.h
183
lmtp_sasl_glue.o: ../../include/match_list.h
184
lmtp_sasl_glue.o: ../../include/match_ops.h
185
lmtp_sasl_glue.o: ../../include/maps.h
186
lmtp_sasl_glue.o: ../../include/dict.h
187
lmtp_sasl_glue.o: ../../include/vstream.h
188
lmtp_sasl_glue.o: ../../include/argv.h
189
lmtp_sasl_glue.o: lmtp.h
190
lmtp_sasl_glue.o: ../../include/deliver_request.h
191
lmtp_sasl_glue.o: ../../include/recipient_list.h
192
lmtp_sasl_glue.o: lmtp_sasl.h
193
lmtp_sasl_proto.o: lmtp_sasl_proto.c
194
lmtp_sasl_proto.o: ../../include/sys_defs.h
195
lmtp_sasl_proto.o: ../../include/msg.h
196
lmtp_sasl_proto.o: ../../include/mymalloc.h
197
lmtp_sasl_proto.o: ../../include/mail_params.h
198
lmtp_sasl_proto.o: lmtp.h
199
lmtp_sasl_proto.o: ../../include/vstream.h
200
lmtp_sasl_proto.o: ../../include/vbuf.h
201
lmtp_sasl_proto.o: ../../include/vstring.h
202
lmtp_sasl_proto.o: ../../include/argv.h
203
lmtp_sasl_proto.o: ../../include/deliver_request.h
204
lmtp_sasl_proto.o: ../../include/recipient_list.h
205
lmtp_sasl_proto.o: lmtp_sasl.h
206
lmtp_session.o: lmtp_session.c
207
lmtp_session.o: ../../include/sys_defs.h
208
lmtp_session.o: ../../include/mymalloc.h
209
lmtp_session.o: ../../include/vstream.h
210
lmtp_session.o: ../../include/vbuf.h
211
lmtp_session.o: ../../include/stringops.h
212
lmtp_session.o: ../../include/vstring.h
213
lmtp_session.o: ../../include/debug_peer.h
214
lmtp_session.o: lmtp.h
215
lmtp_session.o: ../../include/argv.h
216
lmtp_session.o: ../../include/deliver_request.h
217
lmtp_session.o: ../../include/recipient_list.h
218
lmtp_state.o: lmtp_state.c
219
lmtp_state.o: ../../include/sys_defs.h
220
lmtp_state.o: ../../include/mymalloc.h
221
lmtp_state.o: ../../include/vstring.h
222
lmtp_state.o: ../../include/vbuf.h
223
lmtp_state.o: ../../include/vstream.h
224
lmtp_state.o: ../../include/mail_conf.h
226
lmtp_state.o: ../../include/argv.h
227
lmtp_state.o: ../../include/deliver_request.h
228
lmtp_state.o: ../../include/recipient_list.h
229
lmtp_state.o: lmtp_sasl.h
230
lmtp_trouble.o: lmtp_trouble.c
231
lmtp_trouble.o: ../../include/sys_defs.h
232
lmtp_trouble.o: ../../include/msg.h
233
lmtp_trouble.o: ../../include/vstring.h
234
lmtp_trouble.o: ../../include/vbuf.h
235
lmtp_trouble.o: ../../include/stringops.h
236
lmtp_trouble.o: ../../include/mymalloc.h
237
lmtp_trouble.o: ../../include/smtp_stream.h
238
lmtp_trouble.o: ../../include/vstream.h
239
lmtp_trouble.o: ../../include/deliver_request.h
240
lmtp_trouble.o: ../../include/recipient_list.h
241
lmtp_trouble.o: ../../include/deliver_completed.h
242
lmtp_trouble.o: ../../include/bounce.h
243
lmtp_trouble.o: ../../include/defer.h
244
lmtp_trouble.o: ../../include/mail_error.h
245
lmtp_trouble.o: ../../include/name_mask.h
246
lmtp_trouble.o: lmtp.h
247
lmtp_trouble.o: ../../include/argv.h