NetBSD/gnu/dist/postfix/smtp/Makefile.in

222 lines
7.2 KiB
Makefile

SHELL = /bin/sh
SRCS = smtp.c quote_821_local.c smtp_connect.c smtp_proto.c smtp_chat.c \
smtp_session.c smtp_addr.c smtp_trouble.c smtp_unalias.c smtp_state.c
OBJS = smtp.o quote_821_local.o smtp_connect.o smtp_proto.o smtp_chat.o \
smtp_session.o smtp_addr.o smtp_trouble.o smtp_unalias.o smtp_state.o
HDRS = smtp.h
TESTSRC =
WARN = -W -Wformat -Wimplicit -Wmissing-prototypes \
-Wparentheses -Wstrict-prototypes -Wswitch -Wuninitialized \
-Wunused
DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
CFLAGS = $(DEBUG) $(OPT) $(DEFS)
TESTPROG= quote_821_local smtp_unalias
PROG = smtp
INC_DIR = ../include
LIBS = ../lib/libmaster.a ../lib/libglobal.a ../lib/libdns.a ../lib/libutil.a
.c.o:; $(CC) $(CFLAGS) -c $*.c
$(PROG): $(OBJS) $(LIBS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
Makefile: Makefile.in
(set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../makedefs; cat $?) >$@
test: $(TESTPROG)
update: ../libexec/$(PROG)
../libexec/$(PROG): $(PROG)
cp $(PROG) ../libexec
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
rm -rf printfck
tidy: clean
quote_821_local: quote_821_local.c $(LIBS)
$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIBS) $(SYSLIBS)
smtp_unalias: smtp_unalias.c $(LIBS)
$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIBS) $(SYSLIBS)
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 | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
-e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' -e 'p' -e '}'; \
done) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
@make -f Makefile.in Makefile
# do not edit below this line - it is generated by 'make depend'
quote_821_local.o: quote_821_local.c
quote_821_local.o: ../include/sys_defs.h
quote_821_local.o: ../include/vstring.h
quote_821_local.o: ../include/vbuf.h
quote_821_local.o: quote_821_local.h
smtp.o: smtp.c
smtp.o: ../include/sys_defs.h
smtp.o: ../include/dict.h
smtp.o: ../include/vstream.h
smtp.o: ../include/vbuf.h
smtp.o: ../include/argv.h
smtp.o: ../include/msg.h
smtp.o: ../include/mymalloc.h
smtp.o: ../include/name_mask.h
smtp.o: ../include/deliver_request.h
smtp.o: ../include/vstring.h
smtp.o: ../include/recipient_list.h
smtp.o: ../include/mail_params.h
smtp.o: ../include/mail_conf.h
smtp.o: ../include/debug_peer.h
smtp.o: ../include/mail_error.h
smtp.o: ../include/deliver_pass.h
smtp.o: ../include/mail_proto.h
smtp.o: ../include/iostuff.h
smtp.o: ../include/mail_server.h
smtp.o: smtp.h
smtp_addr.o: smtp_addr.c
smtp_addr.o: ../include/sys_defs.h
smtp_addr.o: ../include/msg.h
smtp_addr.o: ../include/vstring.h
smtp_addr.o: ../include/vbuf.h
smtp_addr.o: ../include/mymalloc.h
smtp_addr.o: ../include/inet_addr_list.h
smtp_addr.o: ../include/stringops.h
smtp_addr.o: ../include/mail_params.h
smtp_addr.o: ../include/own_inet_addr.h
smtp_addr.o: ../include/dns.h
smtp_addr.o: smtp.h
smtp_addr.o: ../include/vstream.h
smtp_addr.o: ../include/argv.h
smtp_addr.o: ../include/deliver_request.h
smtp_addr.o: ../include/recipient_list.h
smtp_addr.o: smtp_addr.h
smtp_chat.o: smtp_chat.c
smtp_chat.o: ../include/sys_defs.h
smtp_chat.o: ../include/msg.h
smtp_chat.o: ../include/vstring.h
smtp_chat.o: ../include/vbuf.h
smtp_chat.o: ../include/vstream.h
smtp_chat.o: ../include/argv.h
smtp_chat.o: ../include/stringops.h
smtp_chat.o: ../include/line_wrap.h
smtp_chat.o: ../include/mymalloc.h
smtp_chat.o: ../include/recipient_list.h
smtp_chat.o: ../include/deliver_request.h
smtp_chat.o: ../include/smtp_stream.h
smtp_chat.o: ../include/mail_params.h
smtp_chat.o: ../include/mail_addr.h
smtp_chat.o: ../include/post_mail.h
smtp_chat.o: ../include/cleanup_user.h
smtp_chat.o: smtp.h
smtp_connect.o: smtp_connect.c
smtp_connect.o: ../include/sys_defs.h
smtp_connect.o: ../include/msg.h
smtp_connect.o: ../include/vstream.h
smtp_connect.o: ../include/vbuf.h
smtp_connect.o: ../include/vstring.h
smtp_connect.o: ../include/split_at.h
smtp_connect.o: ../include/mymalloc.h
smtp_connect.o: ../include/inet_addr_list.h
smtp_connect.o: ../include/iostuff.h
smtp_connect.o: ../include/timed_connect.h
smtp_connect.o: ../include/mail_params.h
smtp_connect.o: ../include/own_inet_addr.h
smtp_connect.o: ../include/dns.h
smtp_connect.o: smtp.h
smtp_connect.o: ../include/argv.h
smtp_connect.o: ../include/deliver_request.h
smtp_connect.o: ../include/recipient_list.h
smtp_connect.o: smtp_addr.h
smtp_proto.o: smtp_proto.c
smtp_proto.o: ../include/sys_defs.h
smtp_proto.o: ../include/msg.h
smtp_proto.o: ../include/vstring.h
smtp_proto.o: ../include/vbuf.h
smtp_proto.o: ../include/vstream.h
smtp_proto.o: ../include/vstring_vstream.h
smtp_proto.o: ../include/stringops.h
smtp_proto.o: ../include/mymalloc.h
smtp_proto.o: ../include/mail_params.h
smtp_proto.o: ../include/smtp_stream.h
smtp_proto.o: ../include/mail_queue.h
smtp_proto.o: ../include/recipient_list.h
smtp_proto.o: ../include/deliver_request.h
smtp_proto.o: ../include/deliver_completed.h
smtp_proto.o: ../include/defer.h
smtp_proto.o: ../include/bounce.h
smtp_proto.o: ../include/sent.h
smtp_proto.o: ../include/record.h
smtp_proto.o: ../include/rec_type.h
smtp_proto.o: ../include/off_cvt.h
smtp_proto.o: ../include/mark_corrupt.h
smtp_proto.o: smtp.h
smtp_proto.o: ../include/argv.h
smtp_proto.o: quote_821_local.h
smtp_session.o: smtp_session.c
smtp_session.o: ../include/sys_defs.h
smtp_session.o: ../include/mymalloc.h
smtp_session.o: ../include/vstream.h
smtp_session.o: ../include/vbuf.h
smtp_session.o: ../include/stringops.h
smtp_session.o: smtp.h
smtp_session.o: ../include/vstring.h
smtp_session.o: ../include/argv.h
smtp_session.o: ../include/deliver_request.h
smtp_session.o: ../include/recipient_list.h
smtp_state.o: smtp_state.c
smtp_state.o: ../include/sys_defs.h
smtp_state.o: ../include/mymalloc.h
smtp_state.o: ../include/vstring.h
smtp_state.o: ../include/vbuf.h
smtp_state.o: ../include/vstream.h
smtp_state.o: ../include/mail_conf.h
smtp_state.o: smtp.h
smtp_state.o: ../include/argv.h
smtp_state.o: ../include/deliver_request.h
smtp_state.o: ../include/recipient_list.h
smtp_trouble.o: smtp_trouble.c
smtp_trouble.o: ../include/sys_defs.h
smtp_trouble.o: ../include/msg.h
smtp_trouble.o: ../include/vstring.h
smtp_trouble.o: ../include/vbuf.h
smtp_trouble.o: ../include/stringops.h
smtp_trouble.o: ../include/mymalloc.h
smtp_trouble.o: ../include/smtp_stream.h
smtp_trouble.o: ../include/vstream.h
smtp_trouble.o: ../include/deliver_request.h
smtp_trouble.o: ../include/recipient_list.h
smtp_trouble.o: ../include/deliver_completed.h
smtp_trouble.o: ../include/bounce.h
smtp_trouble.o: ../include/defer.h
smtp_trouble.o: ../include/mail_error.h
smtp_trouble.o: ../include/name_mask.h
smtp_trouble.o: smtp.h
smtp_trouble.o: ../include/argv.h
smtp_unalias.o: smtp_unalias.c
smtp_unalias.o: ../include/sys_defs.h
smtp_unalias.o: ../include/htable.h
smtp_unalias.o: ../include/vstring.h
smtp_unalias.o: ../include/vbuf.h
smtp_unalias.o: ../include/msg.h
smtp_unalias.o: ../include/dns.h
smtp_unalias.o: smtp.h
smtp_unalias.o: ../include/vstream.h
smtp_unalias.o: ../include/argv.h
smtp_unalias.o: ../include/deliver_request.h
smtp_unalias.o: ../include/recipient_list.h