SHELL	= /bin/sh
SRCS	= smtpd.c smtpd_token.c smtpd_check.c smtpd_chat.c smtpd_state.c \
	smtpd_peer.c smtpd_sasl_proto.c smtpd_sasl_glue.c smtpd_proxy.c \
	smtpd_xforward.c smtpd_dsn_fix.c smtpd_milter.c smtpd_resolve.c \
	smtpd_expand.c smtpd_haproxy.c
OBJS	= smtpd.o smtpd_token.o smtpd_check.o smtpd_chat.o smtpd_state.o \
	smtpd_peer.o smtpd_sasl_proto.o smtpd_sasl_glue.o smtpd_proxy.o \
	smtpd_xforward.o smtpd_dsn_fix.o smtpd_milter.o smtpd_resolve.o \
	smtpd_expand.o smtpd_haproxy.o
HDRS	= smtpd_token.h smtpd_check.h smtpd_chat.h smtpd_sasl_proto.h \
	smtpd_sasl_glue.h smtpd_proxy.h smtpd_dsn_fix.h smtpd_milter.h \
	smtpd_resolve.h smtpd_expand.h
TESTSRC	= smtpd_token_test.c
DEFS	= -I. -I$(INC_DIR) -D$(SYSTYPE)
CFLAGS	= $(DEBUG) $(OPT) $(DEFS)
TESTPROG= smtpd_token smtpd_check
PROG	= smtpd
INC_DIR	= ../../include
LIBS	= ../../lib/lib$(LIB_PREFIX)master$(LIB_SUFFIX) \
	../../lib/lib$(LIB_PREFIX)tls$(LIB_SUFFIX) \
	../../lib/libxsasl.a \
	../../lib/libmilter.a \
	../../lib/lib$(LIB_PREFIX)dns$(LIB_SUFFIX) \
	../../lib/lib$(LIB_PREFIX)global$(LIB_SUFFIX) \
	../../lib/lib$(LIB_PREFIX)util$(LIB_SUFFIX)

.c.o:;	$(CC) $(CFLAGS) -c $*.c

$(PROG): $(OBJS) $(LIBS)
	$(CC) $(CFLAGS) $(SHLIB_RPATH) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)

$(OBJS): ../../conf/makedefs.out

Makefile: Makefile.in
	cat ../../conf/makedefs.out $? >$@

test:	$(TESTPROG)

update: ../../libexec/$(PROG)

../../libexec/$(PROG): $(PROG)
	cp $(PROG) ../../libexec

SMTPD_CHECK_OBJ = smtpd_state.o smtpd_peer.o smtpd_xforward.o smtpd_dsn_fix.o \
	smtpd_resolve.o smtpd_expand.o smtpd_proxy.o smtpd_haproxy.o

smtpd_token: smtpd_token.c $(LIBS)
	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIBS) $(SYSLIBS)

smtpd_check: smtpd_check.o smtpd_check.c $(SMTPD_CHECK_OBJ) $(LIBS)
	mv $@.o junk
	$(CC) $(CFLAGS) -DTEST -o $@ smtpd_check.c $(SMTPD_CHECK_OBJ) \
		$(LIBS) $(SYSLIBS)
	mv junk $@.o

printfck: $(OBJS) $(PROG)
	rm -rf printfck
	mkdir printfck
	cp *.h printfck
	sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
	set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
	cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`

lint:
	lint $(DEFS) $(SRCS) $(LINTFIX)

clean:
	rm -f *.o *core $(PROG) $(TESTPROG) junk *.db *.out *.tmp
	rm -rf printfck

tidy:	clean

broken-tests: smtpd_check_test smtpd_check_test2 

tests:	smtpd_acl_test smtpd_addr_valid_test smtpd_exp_test \
	smtpd_token_test smtpd_check_test4 smtpd_check_dsn_test \
	smtpd_check_backup_test smtpd_dnswl_test smtpd_error_test \
	smtpd_server_test smtpd_nullmx_test smtpd_dns_filter_test

root_tests:

# This requires that the DNS server can query porcupine.org.

smtpd_check_test: smtpd_check smtpd_check.in smtpd_check.ref smtpd_check_access
	$(SHLIB_ENV) $(VALGRIND) ../postmap/postmap hash:smtpd_check_access
	$(SHLIB_ENV) $(VALGRIND) ./smtpd_check <smtpd_check.in >smtpd_check.tmp 2>&1
	diff smtpd_check.ref smtpd_check.tmp
	rm -f smtpd_check.tmp smtpd_check_access.*

# This requires that the DNS server can query porcupine.org.

smtpd_check_test2: smtpd_check smtpd_check.in2 smtpd_check.ref2 smtpd_check_access
	$(SHLIB_ENV) $(VALGRIND) ../postmap/postmap hash:smtpd_check_access
	$(SHLIB_ENV) $(VALGRIND) ./smtpd_check <smtpd_check.in2 >smtpd_check.tmp 2>&1
	diff smtpd_check.ref2 smtpd_check.tmp
	rm -f smtpd_check.tmp smtpd_check_access.*

smtpd_check_test4: smtpd_check smtpd_check.in4 smtpd_check.ref4 smtpd_check_access
	$(SHLIB_ENV) $(VALGRIND) ../postmap/postmap hash:smtpd_check_access
	$(SHLIB_ENV) $(VALGRIND) ./smtpd_check <smtpd_check.in4 >smtpd_check.tmp 2>&1
	diff smtpd_check.ref4 smtpd_check.tmp
	rm -f smtpd_check.tmp smtpd_check_access.*

smtpd_acl_test: smtpd_check smtpd_acl.in smtpd_acl.ref smtpd_check_access
	$(SHLIB_ENV) $(VALGRIND) ../postmap/postmap hash:smtpd_check_access
	$(SHLIB_ENV) $(VALGRIND) ./smtpd_check <smtpd_acl.in >smtpd_check.tmp 2>&1
	diff smtpd_acl.ref smtpd_check.tmp
	rm -f smtpd_check.tmp smtpd_check_access.*

smtpd_addr_valid_test: smtpd_check smtpd_addr_valid.in smtpd_addr_valid.ref
	$(SHLIB_ENV) $(VALGRIND) ./smtpd_check <smtpd_addr_valid.in >smtpd_check.tmp 2>&1
	diff smtpd_addr_valid.ref smtpd_check.tmp
	rm -f smtpd_check.tmp

# This requires that the DNS server can query porcupine.org.

ADDRINFO_FIX = sed 's/No address associated with hostname/hostname nor servname provided, or not known/'

smtpd_exp_test: smtpd_check smtpd_exp.in smtpd_exp.ref
	$(SHLIB_ENV) $(VALGRIND) ../postmap/postmap hash:smtpd_check_access
	$(SHLIB_ENV) $(VALGRIND) ./smtpd_check <smtpd_exp.in >smtpd_exp.tmp 2>&1
	diff smtpd_exp.ref smtpd_exp.tmp
	rm -f smtpd_exp.tmp smtpd_check_access.*

smtpd_server_test: smtpd_check smtpd_server.in smtpd_server.ref
	$(SHLIB_ENV) $(VALGRIND) ./smtpd_check <smtpd_server.in >smtpd_server.tmp 2>&1
	$(ADDRINFO_FIX) smtpd_server.tmp | diff smtpd_server.ref -
	rm -f smtpd_server.tmp smtpd_check_access.*

smtpd_nullmx_test: smtpd_check smtpd_nullmx.in smtpd_nullmx.ref
	$(SHLIB_ENV) $(VALGRIND) ../postmap/postmap hash:smtpd_check_access
	$(SHLIB_ENV) $(VALGRIND) ./smtpd_check <smtpd_nullmx.in >smtpd_nullmx.tmp 2>&1
	$(ADDRINFO_FIX) smtpd_nullmx.tmp | diff smtpd_nullmx.ref -
	rm -f smtpd_nullmx.tmp smtpd_check_access.*

smtpd_dns_filter_test: smtpd_check smtpd_dns_filter.in smtpd_dns_filter.ref \
	../dns/no-mx.reg ../dns/no-a.reg ../dns/error.reg
	$(SHLIB_ENV) $(VALGRIND) ./smtpd_check <smtpd_dns_filter.in 2>&1 | \
	    sed 's/\. [0-9]* IN/. TTL IN/' >smtpd_dns_filter.tmp
	diff smtpd_dns_filter.ref smtpd_dns_filter.tmp
	rm -f smtpd_dns_filter.tmp

smtpd_check_dsn_test: smtpd_check smtpd_check_dsn.in smtpd_check_dsn.ref smtpd_check_access
	$(SHLIB_ENV) $(VALGRIND) ../postmap/postmap hash:smtpd_check_access
	$(SHLIB_ENV) $(VALGRIND) ./smtpd_check <smtpd_check_dsn.in >smtpd_check.tmp 2>&1
	diff smtpd_check_dsn.ref smtpd_check.tmp
	rm -f smtpd_check.tmp smtpd_check_access.*

# This requires that 168.100.3.7 is a local or virtual interface.

smtpd_check_backup_test: smtpd_check smtpd_check_backup.in smtpd_check_backup.ref
	$(SHLIB_ENV) $(VALGRIND) ./smtpd_check <smtpd_check_backup.in >smtpd_check.tmp 2>&1
	diff smtpd_check_backup.ref smtpd_check.tmp
	rm -f smtpd_check.tmp

smtpd_token_test: smtpd_token smtpd_token.in smtpd_token.ref
	$(SHLIB_ENV) $(VALGRIND) ./smtpd_token <smtpd_token.in >smtpd_token.tmp 2>&1
	diff smtpd_token.ref smtpd_token.tmp
	rm -f smtpd_token.tmp

# This requires that the DNS server can query porcupine.org and rfc-ignorant.org

smtpd_dnswl_test: smtpd_check smtpd_dnswl.in smtpd_dnswl.ref
	$(SHLIB_ENV) $(VALGRIND) ./smtpd_check <smtpd_dnswl.in >smtpd_dnswl.tmp 2>&1
	diff smtpd_dnswl.ref smtpd_dnswl.tmp
	rm -f smtpd_dnswl.tmp

smtpd_error_test: smtpd_check smtpd_error.in smtpd_error.ref
	$(SHLIB_ENV) $(VALGRIND) ./smtpd_check <smtpd_error.in >smtpd_check.tmp 2>&1
	diff smtpd_error.ref smtpd_check.tmp
	rm -f smtpd_check.tmp

depend: $(MAKES)
	(sed '1,/^# do not edit/!d' Makefile.in; \
	set -e; for i in [a-z][a-z0-9]*.c; do \
	    $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
	    -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
	    -e 's/o: \.\//o: /' -e p -e '}' ; \
	done | LANG=C sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
	@$(EXPORT) make -f Makefile.in Makefile 1>&2

# do not edit below this line - it is generated by 'make depend'
smtpd.o: ../../include/anvil_clnt.h
smtpd.o: ../../include/argv.h
smtpd.o: ../../include/attr.h
smtpd.o: ../../include/attr_clnt.h
smtpd.o: ../../include/check_arg.h
smtpd.o: ../../include/cleanup_user.h
smtpd.o: ../../include/debug_peer.h
smtpd.o: ../../include/dict.h
smtpd.o: ../../include/dns.h
smtpd.o: ../../include/dsn_mask.h
smtpd.o: ../../include/ehlo_mask.h
smtpd.o: ../../include/events.h
smtpd.o: ../../include/flush_clnt.h
smtpd.o: ../../include/hfrom_format.h
smtpd.o: ../../include/htable.h
smtpd.o: ../../include/inet_proto.h
smtpd.o: ../../include/info_log_addr_form.h
smtpd.o: ../../include/input_transp.h
smtpd.o: ../../include/iostuff.h
smtpd.o: ../../include/is_header.h
smtpd.o: ../../include/lex_822.h
smtpd.o: ../../include/mac_expand.h
smtpd.o: ../../include/mac_parse.h
smtpd.o: ../../include/mail_conf.h
smtpd.o: ../../include/mail_date.h
smtpd.o: ../../include/mail_error.h
smtpd.o: ../../include/mail_params.h
smtpd.o: ../../include/mail_proto.h
smtpd.o: ../../include/mail_queue.h
smtpd.o: ../../include/mail_server.h
smtpd.o: ../../include/mail_stream.h
smtpd.o: ../../include/mail_version.h
smtpd.o: ../../include/maps.h
smtpd.o: ../../include/match_list.h
smtpd.o: ../../include/match_parent_style.h
smtpd.o: ../../include/milter.h
smtpd.o: ../../include/msg.h
smtpd.o: ../../include/myaddrinfo.h
smtpd.o: ../../include/myflock.h
smtpd.o: ../../include/mymalloc.h
smtpd.o: ../../include/namadr_list.h
smtpd.o: ../../include/name_code.h
smtpd.o: ../../include/name_mask.h
smtpd.o: ../../include/normalize_mailhost_addr.h
smtpd.o: ../../include/nvtable.h
smtpd.o: ../../include/off_cvt.h
smtpd.o: ../../include/quote_822_local.h
smtpd.o: ../../include/quote_flags.h
smtpd.o: ../../include/rec_type.h
smtpd.o: ../../include/recipient_list.h
smtpd.o: ../../include/record.h
smtpd.o: ../../include/resolve_clnt.h
smtpd.o: ../../include/smtp_stream.h
smtpd.o: ../../include/smtputf8.h
smtpd.o: ../../include/sock_addr.h
smtpd.o: ../../include/split_at.h
smtpd.o: ../../include/string_list.h
smtpd.o: ../../include/stringops.h
smtpd.o: ../../include/sys_defs.h
smtpd.o: ../../include/tls.h
smtpd.o: ../../include/tls_proxy.h
smtpd.o: ../../include/tok822.h
smtpd.o: ../../include/uxtext.h
smtpd.o: ../../include/valid_hostname.h
smtpd.o: ../../include/valid_mailhost_addr.h
smtpd.o: ../../include/vbuf.h
smtpd.o: ../../include/verify_sender_addr.h
smtpd.o: ../../include/verp_sender.h
smtpd.o: ../../include/vstream.h
smtpd.o: ../../include/vstring.h
smtpd.o: ../../include/vstring_vstream.h
smtpd.o: ../../include/watchdog.h
smtpd.o: ../../include/xtext.h
smtpd.o: smtpd.c
smtpd.o: smtpd.h
smtpd.o: smtpd_chat.h
smtpd.o: smtpd_check.h
smtpd.o: smtpd_expand.h
smtpd.o: smtpd_milter.h
smtpd.o: smtpd_proxy.h
smtpd.o: smtpd_sasl_glue.h
smtpd.o: smtpd_sasl_proto.h
smtpd.o: smtpd_token.h
smtpd_chat.o: ../../include/argv.h
smtpd_chat.o: ../../include/attr.h
smtpd_chat.o: ../../include/check_arg.h
smtpd_chat.o: ../../include/cleanup_user.h
smtpd_chat.o: ../../include/dict.h
smtpd_chat.o: ../../include/dns.h
smtpd_chat.o: ../../include/hfrom_format.h
smtpd_chat.o: ../../include/htable.h
smtpd_chat.o: ../../include/int_filt.h
smtpd_chat.o: ../../include/iostuff.h
smtpd_chat.o: ../../include/line_wrap.h
smtpd_chat.o: ../../include/mac_expand.h
smtpd_chat.o: ../../include/mac_parse.h
smtpd_chat.o: ../../include/mail_addr.h
smtpd_chat.o: ../../include/mail_error.h
smtpd_chat.o: ../../include/mail_params.h
smtpd_chat.o: ../../include/mail_proto.h
smtpd_chat.o: ../../include/mail_stream.h
smtpd_chat.o: ../../include/maps.h
smtpd_chat.o: ../../include/milter.h
smtpd_chat.o: ../../include/msg.h
smtpd_chat.o: ../../include/myaddrinfo.h
smtpd_chat.o: ../../include/myflock.h
smtpd_chat.o: ../../include/mymalloc.h
smtpd_chat.o: ../../include/name_code.h
smtpd_chat.o: ../../include/name_mask.h
smtpd_chat.o: ../../include/nvtable.h
smtpd_chat.o: ../../include/post_mail.h
smtpd_chat.o: ../../include/rec_type.h
smtpd_chat.o: ../../include/record.h
smtpd_chat.o: ../../include/smtp_reply_footer.h
smtpd_chat.o: ../../include/smtp_stream.h
smtpd_chat.o: ../../include/smtputf8.h
smtpd_chat.o: ../../include/sock_addr.h
smtpd_chat.o: ../../include/stringops.h
smtpd_chat.o: ../../include/sys_defs.h
smtpd_chat.o: ../../include/tls.h
smtpd_chat.o: ../../include/vbuf.h
smtpd_chat.o: ../../include/vstream.h
smtpd_chat.o: ../../include/vstring.h
smtpd_chat.o: smtpd.h
smtpd_chat.o: smtpd_chat.c
smtpd_chat.o: smtpd_chat.h
smtpd_chat.o: smtpd_expand.h
smtpd_check.o: ../../include/argv.h
smtpd_check.o: ../../include/attr.h
smtpd_check.o: ../../include/attr_clnt.h
smtpd_check.o: ../../include/attr_override.h
smtpd_check.o: ../../include/check_arg.h
smtpd_check.o: ../../include/cleanup_user.h
smtpd_check.o: ../../include/conv_time.h
smtpd_check.o: ../../include/ctable.h
smtpd_check.o: ../../include/deliver_request.h
smtpd_check.o: ../../include/dict.h
smtpd_check.o: ../../include/dns.h
smtpd_check.o: ../../include/domain_list.h
smtpd_check.o: ../../include/dsn.h
smtpd_check.o: ../../include/dsn_util.h
smtpd_check.o: ../../include/fsspace.h
smtpd_check.o: ../../include/htable.h
smtpd_check.o: ../../include/inet_addr_list.h
smtpd_check.o: ../../include/inet_proto.h
smtpd_check.o: ../../include/info_log_addr_form.h
smtpd_check.o: ../../include/input_transp.h
smtpd_check.o: ../../include/iostuff.h
smtpd_check.o: ../../include/ip_match.h
smtpd_check.o: ../../include/is_header.h
smtpd_check.o: ../../include/mac_expand.h
smtpd_check.o: ../../include/mac_parse.h
smtpd_check.o: ../../include/mail_addr.h
smtpd_check.o: ../../include/mail_addr_find.h
smtpd_check.o: ../../include/mail_addr_form.h
smtpd_check.o: ../../include/mail_conf.h
smtpd_check.o: ../../include/mail_error.h
smtpd_check.o: ../../include/mail_params.h
smtpd_check.o: ../../include/mail_proto.h
smtpd_check.o: ../../include/mail_stream.h
smtpd_check.o: ../../include/mail_version.h
smtpd_check.o: ../../include/map_search.h
smtpd_check.o: ../../include/maps.h
smtpd_check.o: ../../include/match_list.h
smtpd_check.o: ../../include/match_parent_style.h
smtpd_check.o: ../../include/midna_domain.h
smtpd_check.o: ../../include/milter.h
smtpd_check.o: ../../include/msg.h
smtpd_check.o: ../../include/msg_stats.h
smtpd_check.o: ../../include/myaddrinfo.h
smtpd_check.o: ../../include/myflock.h
smtpd_check.o: ../../include/mymalloc.h
smtpd_check.o: ../../include/mynetworks.h
smtpd_check.o: ../../include/namadr_list.h
smtpd_check.o: ../../include/name_code.h
smtpd_check.o: ../../include/name_mask.h
smtpd_check.o: ../../include/nvtable.h
smtpd_check.o: ../../include/own_inet_addr.h
smtpd_check.o: ../../include/rec_type.h
smtpd_check.o: ../../include/recipient_list.h
smtpd_check.o: ../../include/record.h
smtpd_check.o: ../../include/resolve_clnt.h
smtpd_check.o: ../../include/resolve_local.h
smtpd_check.o: ../../include/smtp_stream.h
smtpd_check.o: ../../include/sock_addr.h
smtpd_check.o: ../../include/split_at.h
smtpd_check.o: ../../include/string_list.h
smtpd_check.o: ../../include/stringops.h
smtpd_check.o: ../../include/strip_addr.h
smtpd_check.o: ../../include/sys_defs.h
smtpd_check.o: ../../include/tls.h
smtpd_check.o: ../../include/valid_hostname.h
smtpd_check.o: ../../include/valid_mailhost_addr.h
smtpd_check.o: ../../include/valid_utf8_hostname.h
smtpd_check.o: ../../include/vbuf.h
smtpd_check.o: ../../include/verify_clnt.h
smtpd_check.o: ../../include/vstream.h
smtpd_check.o: ../../include/vstring.h
smtpd_check.o: ../../include/xtext.h
smtpd_check.o: smtpd.h
smtpd_check.o: smtpd_check.c
smtpd_check.o: smtpd_check.h
smtpd_check.o: smtpd_dsn_fix.h
smtpd_check.o: smtpd_expand.h
smtpd_check.o: smtpd_resolve.h
smtpd_check.o: smtpd_sasl_glue.h
smtpd_dsn_fix.o: ../../include/msg.h
smtpd_dsn_fix.o: ../../include/sys_defs.h
smtpd_dsn_fix.o: smtpd_dsn_fix.c
smtpd_dsn_fix.o: smtpd_dsn_fix.h
smtpd_expand.o: ../../include/argv.h
smtpd_expand.o: ../../include/attr.h
smtpd_expand.o: ../../include/check_arg.h
smtpd_expand.o: ../../include/dns.h
smtpd_expand.o: ../../include/htable.h
smtpd_expand.o: ../../include/iostuff.h
smtpd_expand.o: ../../include/mac_expand.h
smtpd_expand.o: ../../include/mac_parse.h
smtpd_expand.o: ../../include/mail_params.h
smtpd_expand.o: ../../include/mail_proto.h
smtpd_expand.o: ../../include/mail_stream.h
smtpd_expand.o: ../../include/milter.h
smtpd_expand.o: ../../include/msg.h
smtpd_expand.o: ../../include/myaddrinfo.h
smtpd_expand.o: ../../include/mymalloc.h
smtpd_expand.o: ../../include/name_code.h
smtpd_expand.o: ../../include/name_mask.h
smtpd_expand.o: ../../include/nvtable.h
smtpd_expand.o: ../../include/sock_addr.h
smtpd_expand.o: ../../include/stringops.h
smtpd_expand.o: ../../include/sys_defs.h
smtpd_expand.o: ../../include/tls.h
smtpd_expand.o: ../../include/vbuf.h
smtpd_expand.o: ../../include/vstream.h
smtpd_expand.o: ../../include/vstring.h
smtpd_expand.o: smtpd.h
smtpd_expand.o: smtpd_expand.c
smtpd_expand.o: smtpd_expand.h
smtpd_haproxy.o: ../../include/argv.h
smtpd_haproxy.o: ../../include/attr.h
smtpd_haproxy.o: ../../include/check_arg.h
smtpd_haproxy.o: ../../include/dns.h
smtpd_haproxy.o: ../../include/haproxy_srvr.h
smtpd_haproxy.o: ../../include/htable.h
smtpd_haproxy.o: ../../include/iostuff.h
smtpd_haproxy.o: ../../include/mail_params.h
smtpd_haproxy.o: ../../include/mail_stream.h
smtpd_haproxy.o: ../../include/milter.h
smtpd_haproxy.o: ../../include/msg.h
smtpd_haproxy.o: ../../include/myaddrinfo.h
smtpd_haproxy.o: ../../include/mymalloc.h
smtpd_haproxy.o: ../../include/name_code.h
smtpd_haproxy.o: ../../include/name_mask.h
smtpd_haproxy.o: ../../include/nvtable.h
smtpd_haproxy.o: ../../include/smtp_stream.h
smtpd_haproxy.o: ../../include/sock_addr.h
smtpd_haproxy.o: ../../include/stringops.h
smtpd_haproxy.o: ../../include/sys_defs.h
smtpd_haproxy.o: ../../include/tls.h
smtpd_haproxy.o: ../../include/valid_hostname.h
smtpd_haproxy.o: ../../include/valid_mailhost_addr.h
smtpd_haproxy.o: ../../include/vbuf.h
smtpd_haproxy.o: ../../include/vstream.h
smtpd_haproxy.o: ../../include/vstring.h
smtpd_haproxy.o: smtpd.h
smtpd_haproxy.o: smtpd_haproxy.c
smtpd_milter.o: ../../include/argv.h
smtpd_milter.o: ../../include/attr.h
smtpd_milter.o: ../../include/check_arg.h
smtpd_milter.o: ../../include/dns.h
smtpd_milter.o: ../../include/htable.h
smtpd_milter.o: ../../include/mail_params.h
smtpd_milter.o: ../../include/mail_stream.h
smtpd_milter.o: ../../include/milter.h
smtpd_milter.o: ../../include/myaddrinfo.h
smtpd_milter.o: ../../include/mymalloc.h
smtpd_milter.o: ../../include/name_code.h
smtpd_milter.o: ../../include/name_mask.h
smtpd_milter.o: ../../include/nvtable.h
smtpd_milter.o: ../../include/quote_821_local.h
smtpd_milter.o: ../../include/quote_flags.h
smtpd_milter.o: ../../include/resolve_clnt.h
smtpd_milter.o: ../../include/sock_addr.h
smtpd_milter.o: ../../include/split_at.h
smtpd_milter.o: ../../include/stringops.h
smtpd_milter.o: ../../include/sys_defs.h
smtpd_milter.o: ../../include/tls.h
smtpd_milter.o: ../../include/vbuf.h
smtpd_milter.o: ../../include/vstream.h
smtpd_milter.o: ../../include/vstring.h
smtpd_milter.o: smtpd.h
smtpd_milter.o: smtpd_milter.c
smtpd_milter.o: smtpd_milter.h
smtpd_milter.o: smtpd_resolve.h
smtpd_milter.o: smtpd_sasl_glue.h
smtpd_peer.o: ../../include/argv.h
smtpd_peer.o: ../../include/attr.h
smtpd_peer.o: ../../include/check_arg.h
smtpd_peer.o: ../../include/dns.h
smtpd_peer.o: ../../include/haproxy_srvr.h
smtpd_peer.o: ../../include/htable.h
smtpd_peer.o: ../../include/inet_prefix_top.h
smtpd_peer.o: ../../include/inet_proto.h
smtpd_peer.o: ../../include/iostuff.h
smtpd_peer.o: ../../include/mail_params.h
smtpd_peer.o: ../../include/mail_proto.h
smtpd_peer.o: ../../include/mail_stream.h
smtpd_peer.o: ../../include/milter.h
smtpd_peer.o: ../../include/msg.h
smtpd_peer.o: ../../include/myaddrinfo.h
smtpd_peer.o: ../../include/mymalloc.h
smtpd_peer.o: ../../include/name_code.h
smtpd_peer.o: ../../include/name_mask.h
smtpd_peer.o: ../../include/nvtable.h
smtpd_peer.o: ../../include/sock_addr.h
smtpd_peer.o: ../../include/split_at.h
smtpd_peer.o: ../../include/stringops.h
smtpd_peer.o: ../../include/sys_defs.h
smtpd_peer.o: ../../include/tls.h
smtpd_peer.o: ../../include/valid_hostname.h
smtpd_peer.o: ../../include/valid_mailhost_addr.h
smtpd_peer.o: ../../include/vbuf.h
smtpd_peer.o: ../../include/vstream.h
smtpd_peer.o: ../../include/vstring.h
smtpd_peer.o: smtpd.h
smtpd_peer.o: smtpd_peer.c
smtpd_proxy.o: ../../include/argv.h
smtpd_proxy.o: ../../include/attr.h
smtpd_proxy.o: ../../include/check_arg.h
smtpd_proxy.o: ../../include/cleanup_user.h
smtpd_proxy.o: ../../include/connect.h
smtpd_proxy.o: ../../include/dns.h
smtpd_proxy.o: ../../include/htable.h
smtpd_proxy.o: ../../include/iostuff.h
smtpd_proxy.o: ../../include/mail_error.h
smtpd_proxy.o: ../../include/mail_params.h
smtpd_proxy.o: ../../include/mail_proto.h
smtpd_proxy.o: ../../include/mail_queue.h
smtpd_proxy.o: ../../include/mail_stream.h
smtpd_proxy.o: ../../include/milter.h
smtpd_proxy.o: ../../include/msg.h
smtpd_proxy.o: ../../include/myaddrinfo.h
smtpd_proxy.o: ../../include/mymalloc.h
smtpd_proxy.o: ../../include/name_code.h
smtpd_proxy.o: ../../include/name_mask.h
smtpd_proxy.o: ../../include/nvtable.h
smtpd_proxy.o: ../../include/rec_type.h
smtpd_proxy.o: ../../include/record.h
smtpd_proxy.o: ../../include/smtp_stream.h
smtpd_proxy.o: ../../include/sock_addr.h
smtpd_proxy.o: ../../include/stringops.h
smtpd_proxy.o: ../../include/sys_defs.h
smtpd_proxy.o: ../../include/tls.h
smtpd_proxy.o: ../../include/vbuf.h
smtpd_proxy.o: ../../include/vstream.h
smtpd_proxy.o: ../../include/vstring.h
smtpd_proxy.o: ../../include/xtext.h
smtpd_proxy.o: smtpd.h
smtpd_proxy.o: smtpd_proxy.c
smtpd_proxy.o: smtpd_proxy.h
smtpd_resolve.o: ../../include/attr.h
smtpd_resolve.o: ../../include/check_arg.h
smtpd_resolve.o: ../../include/ctable.h
smtpd_resolve.o: ../../include/htable.h
smtpd_resolve.o: ../../include/iostuff.h
smtpd_resolve.o: ../../include/mail_proto.h
smtpd_resolve.o: ../../include/msg.h
smtpd_resolve.o: ../../include/mymalloc.h
smtpd_resolve.o: ../../include/nvtable.h
smtpd_resolve.o: ../../include/resolve_clnt.h
smtpd_resolve.o: ../../include/rewrite_clnt.h
smtpd_resolve.o: ../../include/split_at.h
smtpd_resolve.o: ../../include/stringops.h
smtpd_resolve.o: ../../include/sys_defs.h
smtpd_resolve.o: ../../include/vbuf.h
smtpd_resolve.o: ../../include/vstream.h
smtpd_resolve.o: ../../include/vstring.h
smtpd_resolve.o: smtpd_resolve.c
smtpd_resolve.o: smtpd_resolve.h
smtpd_sasl_glue.o: ../../include/argv.h
smtpd_sasl_glue.o: ../../include/attr.h
smtpd_sasl_glue.o: ../../include/check_arg.h
smtpd_sasl_glue.o: ../../include/dns.h
smtpd_sasl_glue.o: ../../include/htable.h
smtpd_sasl_glue.o: ../../include/mail_params.h
smtpd_sasl_glue.o: ../../include/mail_stream.h
smtpd_sasl_glue.o: ../../include/match_list.h
smtpd_sasl_glue.o: ../../include/milter.h
smtpd_sasl_glue.o: ../../include/msg.h
smtpd_sasl_glue.o: ../../include/myaddrinfo.h
smtpd_sasl_glue.o: ../../include/mymalloc.h
smtpd_sasl_glue.o: ../../include/name_code.h
smtpd_sasl_glue.o: ../../include/name_mask.h
smtpd_sasl_glue.o: ../../include/nvtable.h
smtpd_sasl_glue.o: ../../include/sasl_mech_filter.h
smtpd_sasl_glue.o: ../../include/sock_addr.h
smtpd_sasl_glue.o: ../../include/string_list.h
smtpd_sasl_glue.o: ../../include/stringops.h
smtpd_sasl_glue.o: ../../include/sys_defs.h
smtpd_sasl_glue.o: ../../include/tls.h
smtpd_sasl_glue.o: ../../include/vbuf.h
smtpd_sasl_glue.o: ../../include/vstream.h
smtpd_sasl_glue.o: ../../include/vstring.h
smtpd_sasl_glue.o: ../../include/xsasl.h
smtpd_sasl_glue.o: smtpd.h
smtpd_sasl_glue.o: smtpd_chat.h
smtpd_sasl_glue.o: smtpd_sasl_glue.c
smtpd_sasl_glue.o: smtpd_sasl_glue.h
smtpd_sasl_proto.o: ../../include/argv.h
smtpd_sasl_proto.o: ../../include/attr.h
smtpd_sasl_proto.o: ../../include/check_arg.h
smtpd_sasl_proto.o: ../../include/dns.h
smtpd_sasl_proto.o: ../../include/ehlo_mask.h
smtpd_sasl_proto.o: ../../include/htable.h
smtpd_sasl_proto.o: ../../include/iostuff.h
smtpd_sasl_proto.o: ../../include/mail_error.h
smtpd_sasl_proto.o: ../../include/mail_params.h
smtpd_sasl_proto.o: ../../include/mail_proto.h
smtpd_sasl_proto.o: ../../include/mail_stream.h
smtpd_sasl_proto.o: ../../include/milter.h
smtpd_sasl_proto.o: ../../include/msg.h
smtpd_sasl_proto.o: ../../include/myaddrinfo.h
smtpd_sasl_proto.o: ../../include/mymalloc.h
smtpd_sasl_proto.o: ../../include/name_code.h
smtpd_sasl_proto.o: ../../include/name_mask.h
smtpd_sasl_proto.o: ../../include/nvtable.h
smtpd_sasl_proto.o: ../../include/sock_addr.h
smtpd_sasl_proto.o: ../../include/stringops.h
smtpd_sasl_proto.o: ../../include/sys_defs.h
smtpd_sasl_proto.o: ../../include/tls.h
smtpd_sasl_proto.o: ../../include/vbuf.h
smtpd_sasl_proto.o: ../../include/vstream.h
smtpd_sasl_proto.o: ../../include/vstring.h
smtpd_sasl_proto.o: smtpd.h
smtpd_sasl_proto.o: smtpd_chat.h
smtpd_sasl_proto.o: smtpd_sasl_glue.h
smtpd_sasl_proto.o: smtpd_sasl_proto.c
smtpd_sasl_proto.o: smtpd_sasl_proto.h
smtpd_sasl_proto.o: smtpd_token.h
smtpd_state.o: ../../include/argv.h
smtpd_state.o: ../../include/attr.h
smtpd_state.o: ../../include/check_arg.h
smtpd_state.o: ../../include/cleanup_user.h
smtpd_state.o: ../../include/dns.h
smtpd_state.o: ../../include/events.h
smtpd_state.o: ../../include/htable.h
smtpd_state.o: ../../include/iostuff.h
smtpd_state.o: ../../include/mail_error.h
smtpd_state.o: ../../include/mail_params.h
smtpd_state.o: ../../include/mail_proto.h
smtpd_state.o: ../../include/mail_stream.h
smtpd_state.o: ../../include/milter.h
smtpd_state.o: ../../include/msg.h
smtpd_state.o: ../../include/myaddrinfo.h
smtpd_state.o: ../../include/mymalloc.h
smtpd_state.o: ../../include/name_code.h
smtpd_state.o: ../../include/name_mask.h
smtpd_state.o: ../../include/nvtable.h
smtpd_state.o: ../../include/sock_addr.h
smtpd_state.o: ../../include/sys_defs.h
smtpd_state.o: ../../include/tls.h
smtpd_state.o: ../../include/vbuf.h
smtpd_state.o: ../../include/vstream.h
smtpd_state.o: ../../include/vstring.h
smtpd_state.o: smtpd.h
smtpd_state.o: smtpd_chat.h
smtpd_state.o: smtpd_sasl_glue.h
smtpd_state.o: smtpd_state.c
smtpd_token.o: ../../include/check_arg.h
smtpd_token.o: ../../include/mvect.h
smtpd_token.o: ../../include/mymalloc.h
smtpd_token.o: ../../include/sys_defs.h
smtpd_token.o: ../../include/vbuf.h
smtpd_token.o: ../../include/vstring.h
smtpd_token.o: smtpd_token.c
smtpd_token.o: smtpd_token.h
smtpd_xforward.o: ../../include/argv.h
smtpd_xforward.o: ../../include/attr.h
smtpd_xforward.o: ../../include/check_arg.h
smtpd_xforward.o: ../../include/dns.h
smtpd_xforward.o: ../../include/htable.h
smtpd_xforward.o: ../../include/iostuff.h
smtpd_xforward.o: ../../include/mail_proto.h
smtpd_xforward.o: ../../include/mail_stream.h
smtpd_xforward.o: ../../include/milter.h
smtpd_xforward.o: ../../include/msg.h
smtpd_xforward.o: ../../include/myaddrinfo.h
smtpd_xforward.o: ../../include/mymalloc.h
smtpd_xforward.o: ../../include/name_code.h
smtpd_xforward.o: ../../include/name_mask.h
smtpd_xforward.o: ../../include/nvtable.h
smtpd_xforward.o: ../../include/sock_addr.h
smtpd_xforward.o: ../../include/sys_defs.h
smtpd_xforward.o: ../../include/tls.h
smtpd_xforward.o: ../../include/vbuf.h
smtpd_xforward.o: ../../include/vstream.h
smtpd_xforward.o: ../../include/vstring.h
smtpd_xforward.o: smtpd.h
smtpd_xforward.o: smtpd_xforward.c
