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