SHELL = /bin/sh
SRCS = virtual.c mailbox.c recipient.c deliver_attr.c maildir.c unknown.c
OBJS = virtual.o mailbox.o recipient.o deliver_attr.o maildir.o unknown.o
HDRS = virtual.h
TESTSRC =
DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
CFLAGS = $(DEBUG) $(OPT) $(DEFS)
PROG = virtual
TESTPROG=
INC_DIR = ../../include
LIBS = ../../lib/lib$(LIB_PREFIX)master$(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)
tests:
root_tests:
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
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 | 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'
deliver_attr.o: ../../include/argv.h
deliver_attr.o: ../../include/attr.h
deliver_attr.o: ../../include/check_arg.h
deliver_attr.o: ../../include/deliver_request.h
deliver_attr.o: ../../include/dict.h
deliver_attr.o: ../../include/dsn.h
deliver_attr.o: ../../include/dsn_buf.h
deliver_attr.o: ../../include/htable.h
deliver_attr.o: ../../include/maps.h
deliver_attr.o: ../../include/mbox_conf.h
deliver_attr.o: ../../include/msg.h
deliver_attr.o: ../../include/msg_stats.h
deliver_attr.o: ../../include/myflock.h
deliver_attr.o: ../../include/mymalloc.h
deliver_attr.o: ../../include/nvtable.h
deliver_attr.o: ../../include/recipient_list.h
deliver_attr.o: ../../include/sys_defs.h
deliver_attr.o: ../../include/vbuf.h
deliver_attr.o: ../../include/vstream.h
deliver_attr.o: ../../include/vstring.h
deliver_attr.o: deliver_attr.c
deliver_attr.o: virtual.h
mailbox.o: ../../include/argv.h
mailbox.o: ../../include/attr.h
mailbox.o: ../../include/bounce.h
mailbox.o: ../../include/check_arg.h
mailbox.o: ../../include/defer.h
mailbox.o: ../../include/deliver_request.h
mailbox.o: ../../include/dict.h
mailbox.o: ../../include/dsn.h
mailbox.o: ../../include/dsn_buf.h
mailbox.o: ../../include/dsn_util.h
mailbox.o: ../../include/htable.h
mailbox.o: ../../include/mail_addr_find.h
mailbox.o: ../../include/mail_copy.h
mailbox.o: ../../include/mail_params.h
mailbox.o: ../../include/maps.h
mailbox.o: ../../include/mbox_conf.h
mailbox.o: ../../include/mbox_open.h
mailbox.o: ../../include/msg.h
mailbox.o: ../../include/msg_stats.h
mailbox.o: ../../include/myflock.h
mailbox.o: ../../include/mymalloc.h
mailbox.o: ../../include/nvtable.h
mailbox.o: ../../include/recipient_list.h
mailbox.o: ../../include/safe_open.h
mailbox.o: ../../include/sent.h
mailbox.o: ../../include/set_eugid.h
mailbox.o: ../../include/stringops.h
mailbox.o: ../../include/sys_defs.h
mailbox.o: ../../include/vbuf.h
mailbox.o: ../../include/vstream.h
mailbox.o: ../../include/vstring.h
mailbox.o: mailbox.c
mailbox.o: virtual.h
maildir.o: ../../include/argv.h
maildir.o: ../../include/attr.h
maildir.o: ../../include/bounce.h
maildir.o: ../../include/check_arg.h
maildir.o: ../../include/defer.h
maildir.o: ../../include/deliver_request.h
maildir.o: ../../include/dict.h
maildir.o: ../../include/dsn.h
maildir.o: ../../include/dsn_buf.h
maildir.o: ../../include/dsn_util.h
maildir.o: ../../include/get_hostname.h
maildir.o: ../../include/htable.h
maildir.o: ../../include/mail_copy.h
maildir.o: ../../include/mail_params.h
maildir.o: ../../include/make_dirs.h
maildir.o: ../../include/maps.h
maildir.o: ../../include/mbox_conf.h
maildir.o: ../../include/mbox_open.h
maildir.o: ../../include/msg.h
maildir.o: ../../include/msg_stats.h
maildir.o: ../../include/myflock.h
maildir.o: ../../include/mymalloc.h
maildir.o: ../../include/nvtable.h
maildir.o: ../../include/recipient_list.h
maildir.o: ../../include/safe_open.h
maildir.o: ../../include/sane_fsops.h
maildir.o: ../../include/sent.h
maildir.o: ../../include/set_eugid.h
maildir.o: ../../include/stringops.h
maildir.o: ../../include/sys_defs.h
maildir.o: ../../include/vbuf.h
maildir.o: ../../include/vstream.h
maildir.o: ../../include/vstring.h
maildir.o: ../../include/warn_stat.h
maildir.o: maildir.c
maildir.o: virtual.h
recipient.o: ../../include/argv.h
recipient.o: ../../include/attr.h
recipient.o: ../../include/bounce.h
recipient.o: ../../include/check_arg.h
recipient.o: ../../include/deliver_request.h
recipient.o: ../../include/dict.h
recipient.o: ../../include/dsn.h
recipient.o: ../../include/dsn_buf.h
recipient.o: ../../include/htable.h
recipient.o: ../../include/maps.h
recipient.o: ../../include/mbox_conf.h
recipient.o: ../../include/msg.h
recipient.o: ../../include/msg_stats.h
recipient.o: ../../include/myflock.h
recipient.o: ../../include/mymalloc.h
recipient.o: ../../include/nvtable.h
recipient.o: ../../include/recipient_list.h
recipient.o: ../../include/stringops.h
recipient.o: ../../include/sys_defs.h
recipient.o: ../../include/vbuf.h
recipient.o: ../../include/vstream.h
recipient.o: ../../include/vstring.h
recipient.o: recipient.c
recipient.o: virtual.h
unknown.o: ../../include/argv.h
unknown.o: ../../include/attr.h
unknown.o: ../../include/bounce.h
unknown.o: ../../include/check_arg.h
unknown.o: ../../include/deliver_request.h
unknown.o: ../../include/dict.h
unknown.o: ../../include/dsn.h
unknown.o: ../../include/dsn_buf.h
unknown.o: ../../include/htable.h
unknown.o: ../../include/maps.h
unknown.o: ../../include/mbox_conf.h
unknown.o: ../../include/msg.h
unknown.o: ../../include/msg_stats.h
unknown.o: ../../include/myflock.h
unknown.o: ../../include/mymalloc.h
unknown.o: ../../include/nvtable.h
unknown.o: ../../include/recipient_list.h
unknown.o: ../../include/sys_defs.h
unknown.o: ../../include/vbuf.h
unknown.o: ../../include/vstream.h
unknown.o: ../../include/vstring.h
unknown.o: unknown.c
unknown.o: virtual.h
virtual.o: ../../include/argv.h
virtual.o: ../../include/attr.h
virtual.o: ../../include/check_arg.h
virtual.o: ../../include/deliver_completed.h
virtual.o: ../../include/deliver_request.h
virtual.o: ../../include/dict.h
virtual.o: ../../include/dsn.h
virtual.o: ../../include/dsn_buf.h
virtual.o: ../../include/flush_clnt.h
virtual.o: ../../include/htable.h
virtual.o: ../../include/iostuff.h
virtual.o: ../../include/mail_addr_find.h
virtual.o: ../../include/mail_conf.h
virtual.o: ../../include/mail_params.h
virtual.o: ../../include/mail_queue.h
virtual.o: ../../include/mail_server.h
virtual.o: ../../include/mail_version.h
virtual.o: ../../include/maps.h
virtual.o: ../../include/mbox_conf.h
virtual.o: ../../include/msg.h
virtual.o: ../../include/msg_stats.h
virtual.o: ../../include/myflock.h
virtual.o: ../../include/mymalloc.h
virtual.o: ../../include/nvtable.h
virtual.o: ../../include/recipient_list.h
virtual.o: ../../include/set_eugid.h
virtual.o: ../../include/sys_defs.h
virtual.o: ../../include/vbuf.h
virtual.o: ../../include/vstream.h
virtual.o: ../../include/vstring.h
virtual.o: virtual.c
virtual.o: virtual.h