422 lines
13 KiB
Makefile
422 lines
13 KiB
Makefile
SHELL = /bin/sh
|
|
SRCS = alias.c command.c delivered.c dotforward.c file.c forward.c \
|
|
include.c indirect.c local.c mailbox.c recipient.c resolve.c token.c \
|
|
deliver_attr.c maildir.c biff_notify.c unknown.c \
|
|
local_expand.c
|
|
OBJS = alias.o command.o delivered.o dotforward.o file.o forward.o \
|
|
include.o indirect.o local.o mailbox.o recipient.o resolve.o token.o \
|
|
deliver_attr.o maildir.o biff_notify.o unknown.o \
|
|
local_expand.o
|
|
HDRS = local.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)
|
|
PROG = local
|
|
TESTPROG=
|
|
INC_DIR = ../include
|
|
LIBS = ../lib/libmaster.a ../lib/libglobal.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
|
|
|
|
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'
|
|
alias.o: alias.c
|
|
alias.o: ../include/sys_defs.h
|
|
alias.o: ../include/msg.h
|
|
alias.o: ../include/htable.h
|
|
alias.o: ../include/dict.h
|
|
alias.o: ../include/vstream.h
|
|
alias.o: ../include/vbuf.h
|
|
alias.o: ../include/argv.h
|
|
alias.o: ../include/stringops.h
|
|
alias.o: ../include/mymalloc.h
|
|
alias.o: ../include/vstring.h
|
|
alias.o: ../include/mail_params.h
|
|
alias.o: ../include/mail_addr.h
|
|
alias.o: ../include/sent.h
|
|
alias.o: ../include/defer.h
|
|
alias.o: ../include/bounce.h
|
|
alias.o: ../include/maps.h
|
|
alias.o: ../include/mypwd.h
|
|
alias.o: ../include/canon_addr.h
|
|
alias.o: local.h
|
|
alias.o: ../include/been_here.h
|
|
alias.o: ../include/tok822.h
|
|
alias.o: ../include/resolve_clnt.h
|
|
alias.o: ../include/deliver_request.h
|
|
alias.o: ../include/recipient_list.h
|
|
biff_notify.o: biff_notify.c
|
|
biff_notify.o: ../include/sys_defs.h
|
|
biff_notify.o: ../include/msg.h
|
|
biff_notify.o: biff_notify.h
|
|
command.o: command.c
|
|
command.o: ../include/sys_defs.h
|
|
command.o: ../include/msg.h
|
|
command.o: ../include/htable.h
|
|
command.o: ../include/vstring.h
|
|
command.o: ../include/vbuf.h
|
|
command.o: ../include/vstream.h
|
|
command.o: ../include/argv.h
|
|
command.o: ../include/defer.h
|
|
command.o: ../include/bounce.h
|
|
command.o: ../include/sent.h
|
|
command.o: ../include/been_here.h
|
|
command.o: ../include/mail_params.h
|
|
command.o: ../include/pipe_command.h
|
|
command.o: ../include/mail_copy.h
|
|
command.o: local.h
|
|
command.o: ../include/tok822.h
|
|
command.o: ../include/resolve_clnt.h
|
|
command.o: ../include/deliver_request.h
|
|
command.o: ../include/recipient_list.h
|
|
deliver_attr.o: deliver_attr.c
|
|
deliver_attr.o: ../include/sys_defs.h
|
|
deliver_attr.o: ../include/msg.h
|
|
deliver_attr.o: ../include/vstream.h
|
|
deliver_attr.o: ../include/vbuf.h
|
|
deliver_attr.o: local.h
|
|
deliver_attr.o: ../include/htable.h
|
|
deliver_attr.o: ../include/vstring.h
|
|
deliver_attr.o: ../include/been_here.h
|
|
deliver_attr.o: ../include/tok822.h
|
|
deliver_attr.o: ../include/resolve_clnt.h
|
|
deliver_attr.o: ../include/deliver_request.h
|
|
deliver_attr.o: ../include/recipient_list.h
|
|
delivered.o: delivered.c
|
|
delivered.o: ../include/sys_defs.h
|
|
delivered.o: ../include/msg.h
|
|
delivered.o: ../include/htable.h
|
|
delivered.o: ../include/vstring.h
|
|
delivered.o: ../include/vbuf.h
|
|
delivered.o: ../include/vstream.h
|
|
delivered.o: ../include/vstring_vstream.h
|
|
delivered.o: ../include/stringops.h
|
|
delivered.o: ../include/record.h
|
|
delivered.o: ../include/rec_type.h
|
|
delivered.o: ../include/is_header.h
|
|
delivered.o: ../include/quote_822_local.h
|
|
delivered.o: ../include/header_opts.h
|
|
delivered.o: local.h
|
|
delivered.o: ../include/been_here.h
|
|
delivered.o: ../include/tok822.h
|
|
delivered.o: ../include/resolve_clnt.h
|
|
delivered.o: ../include/deliver_request.h
|
|
delivered.o: ../include/recipient_list.h
|
|
dotforward.o: dotforward.c
|
|
dotforward.o: ../include/sys_defs.h
|
|
dotforward.o: ../include/msg.h
|
|
dotforward.o: ../include/vstring.h
|
|
dotforward.o: ../include/vbuf.h
|
|
dotforward.o: ../include/vstream.h
|
|
dotforward.o: ../include/htable.h
|
|
dotforward.o: ../include/open_as.h
|
|
dotforward.o: ../include/lstat_as.h
|
|
dotforward.o: ../include/iostuff.h
|
|
dotforward.o: ../include/stringops.h
|
|
dotforward.o: ../include/mymalloc.h
|
|
dotforward.o: ../include/mac_expand.h
|
|
dotforward.o: ../include/mac_parse.h
|
|
dotforward.o: ../include/mypwd.h
|
|
dotforward.o: ../include/bounce.h
|
|
dotforward.o: ../include/been_here.h
|
|
dotforward.o: ../include/mail_params.h
|
|
dotforward.o: ../include/mail_conf.h
|
|
dotforward.o: ../include/ext_prop.h
|
|
dotforward.o: local.h
|
|
dotforward.o: ../include/tok822.h
|
|
dotforward.o: ../include/resolve_clnt.h
|
|
dotforward.o: ../include/deliver_request.h
|
|
dotforward.o: ../include/recipient_list.h
|
|
file.o: file.c
|
|
file.o: ../include/sys_defs.h
|
|
file.o: ../include/msg.h
|
|
file.o: ../include/htable.h
|
|
file.o: ../include/vstring.h
|
|
file.o: ../include/vbuf.h
|
|
file.o: ../include/vstream.h
|
|
file.o: ../include/deliver_flock.h
|
|
file.o: ../include/open_as.h
|
|
file.o: ../include/mail_copy.h
|
|
file.o: ../include/bounce.h
|
|
file.o: ../include/defer.h
|
|
file.o: ../include/sent.h
|
|
file.o: ../include/been_here.h
|
|
file.o: ../include/mail_params.h
|
|
file.o: ../include/dot_lockfile_as.h
|
|
file.o: local.h
|
|
file.o: ../include/tok822.h
|
|
file.o: ../include/resolve_clnt.h
|
|
file.o: ../include/deliver_request.h
|
|
file.o: ../include/recipient_list.h
|
|
forward.o: forward.c
|
|
forward.o: ../include/sys_defs.h
|
|
forward.o: ../include/msg.h
|
|
forward.o: ../include/mymalloc.h
|
|
forward.o: ../include/htable.h
|
|
forward.o: ../include/argv.h
|
|
forward.o: ../include/vstring.h
|
|
forward.o: ../include/vbuf.h
|
|
forward.o: ../include/vstream.h
|
|
forward.o: ../include/vstring_vstream.h
|
|
forward.o: ../include/iostuff.h
|
|
forward.o: ../include/stringops.h
|
|
forward.o: ../include/mail_proto.h
|
|
forward.o: ../include/cleanup_user.h
|
|
forward.o: ../include/sent.h
|
|
forward.o: ../include/record.h
|
|
forward.o: ../include/rec_type.h
|
|
forward.o: ../include/mark_corrupt.h
|
|
forward.o: ../include/mail_date.h
|
|
forward.o: ../include/mail_params.h
|
|
forward.o: local.h
|
|
forward.o: ../include/been_here.h
|
|
forward.o: ../include/tok822.h
|
|
forward.o: ../include/resolve_clnt.h
|
|
forward.o: ../include/deliver_request.h
|
|
forward.o: ../include/recipient_list.h
|
|
include.o: include.c
|
|
include.o: ../include/sys_defs.h
|
|
include.o: ../include/msg.h
|
|
include.o: ../include/htable.h
|
|
include.o: ../include/mymalloc.h
|
|
include.o: ../include/vstream.h
|
|
include.o: ../include/vbuf.h
|
|
include.o: ../include/open_as.h
|
|
include.o: ../include/stat_as.h
|
|
include.o: ../include/iostuff.h
|
|
include.o: ../include/mypwd.h
|
|
include.o: ../include/bounce.h
|
|
include.o: ../include/defer.h
|
|
include.o: ../include/been_here.h
|
|
include.o: ../include/mail_params.h
|
|
include.o: ../include/ext_prop.h
|
|
include.o: local.h
|
|
include.o: ../include/vstring.h
|
|
include.o: ../include/tok822.h
|
|
include.o: ../include/resolve_clnt.h
|
|
include.o: ../include/deliver_request.h
|
|
include.o: ../include/recipient_list.h
|
|
indirect.o: indirect.c
|
|
indirect.o: ../include/sys_defs.h
|
|
indirect.o: ../include/msg.h
|
|
indirect.o: ../include/htable.h
|
|
indirect.o: ../include/mail_params.h
|
|
indirect.o: ../include/bounce.h
|
|
indirect.o: ../include/defer.h
|
|
indirect.o: ../include/been_here.h
|
|
indirect.o: local.h
|
|
indirect.o: ../include/vstream.h
|
|
indirect.o: ../include/vbuf.h
|
|
indirect.o: ../include/vstring.h
|
|
indirect.o: ../include/tok822.h
|
|
indirect.o: ../include/resolve_clnt.h
|
|
indirect.o: ../include/deliver_request.h
|
|
indirect.o: ../include/recipient_list.h
|
|
local.o: local.c
|
|
local.o: ../include/sys_defs.h
|
|
local.o: ../include/msg.h
|
|
local.o: ../include/mymalloc.h
|
|
local.o: ../include/htable.h
|
|
local.o: ../include/vstring.h
|
|
local.o: ../include/vbuf.h
|
|
local.o: ../include/vstream.h
|
|
local.o: ../include/iostuff.h
|
|
local.o: ../include/name_mask.h
|
|
local.o: ../include/set_eugid.h
|
|
local.o: ../include/dict.h
|
|
local.o: ../include/argv.h
|
|
local.o: ../include/recipient_list.h
|
|
local.o: ../include/deliver_request.h
|
|
local.o: ../include/deliver_completed.h
|
|
local.o: ../include/mail_params.h
|
|
local.o: ../include/mail_addr.h
|
|
local.o: ../include/mail_conf.h
|
|
local.o: ../include/been_here.h
|
|
local.o: ../include/ext_prop.h
|
|
local.o: ../include/mail_server.h
|
|
local.o: local.h
|
|
local.o: ../include/tok822.h
|
|
local.o: ../include/resolve_clnt.h
|
|
local_expand.o: local_expand.c
|
|
local_expand.o: ../include/sys_defs.h
|
|
local_expand.o: ../include/vstring.h
|
|
local_expand.o: ../include/vbuf.h
|
|
local_expand.o: ../include/mac_expand.h
|
|
local_expand.o: ../include/mac_parse.h
|
|
local_expand.o: ../include/mail_params.h
|
|
local_expand.o: local.h
|
|
local_expand.o: ../include/htable.h
|
|
local_expand.o: ../include/vstream.h
|
|
local_expand.o: ../include/been_here.h
|
|
local_expand.o: ../include/tok822.h
|
|
local_expand.o: ../include/resolve_clnt.h
|
|
local_expand.o: ../include/deliver_request.h
|
|
local_expand.o: ../include/recipient_list.h
|
|
mailbox.o: mailbox.c
|
|
mailbox.o: ../include/sys_defs.h
|
|
mailbox.o: ../include/msg.h
|
|
mailbox.o: ../include/htable.h
|
|
mailbox.o: ../include/vstring.h
|
|
mailbox.o: ../include/vbuf.h
|
|
mailbox.o: ../include/vstream.h
|
|
mailbox.o: ../include/mymalloc.h
|
|
mailbox.o: ../include/stringops.h
|
|
mailbox.o: ../include/set_eugid.h
|
|
mailbox.o: ../include/mail_copy.h
|
|
mailbox.o: ../include/safe_open.h
|
|
mailbox.o: ../include/deliver_flock.h
|
|
mailbox.o: ../include/defer.h
|
|
mailbox.o: ../include/bounce.h
|
|
mailbox.o: ../include/sent.h
|
|
mailbox.o: ../include/mypwd.h
|
|
mailbox.o: ../include/been_here.h
|
|
mailbox.o: ../include/mail_params.h
|
|
mailbox.o: ../include/deliver_pass.h
|
|
mailbox.o: ../include/deliver_request.h
|
|
mailbox.o: ../include/recipient_list.h
|
|
mailbox.o: ../include/mail_proto.h
|
|
mailbox.o: ../include/iostuff.h
|
|
mailbox.o: local.h
|
|
mailbox.o: ../include/tok822.h
|
|
mailbox.o: ../include/resolve_clnt.h
|
|
mailbox.o: biff_notify.h
|
|
maildir.o: maildir.c
|
|
maildir.o: ../include/sys_defs.h
|
|
maildir.o: ../include/msg.h
|
|
maildir.o: ../include/mymalloc.h
|
|
maildir.o: ../include/stringops.h
|
|
maildir.o: ../include/vstream.h
|
|
maildir.o: ../include/vbuf.h
|
|
maildir.o: ../include/vstring.h
|
|
maildir.o: ../include/make_dirs.h
|
|
maildir.o: ../include/set_eugid.h
|
|
maildir.o: ../include/get_hostname.h
|
|
maildir.o: ../include/mail_copy.h
|
|
maildir.o: ../include/bounce.h
|
|
maildir.o: ../include/sent.h
|
|
maildir.o: ../include/mail_params.h
|
|
maildir.o: local.h
|
|
maildir.o: ../include/htable.h
|
|
maildir.o: ../include/been_here.h
|
|
maildir.o: ../include/tok822.h
|
|
maildir.o: ../include/resolve_clnt.h
|
|
maildir.o: ../include/deliver_request.h
|
|
maildir.o: ../include/recipient_list.h
|
|
recipient.o: recipient.c
|
|
recipient.o: ../include/sys_defs.h
|
|
recipient.o: ../include/msg.h
|
|
recipient.o: ../include/mymalloc.h
|
|
recipient.o: ../include/htable.h
|
|
recipient.o: ../include/split_at.h
|
|
recipient.o: ../include/stringops.h
|
|
recipient.o: ../include/dict.h
|
|
recipient.o: ../include/vstream.h
|
|
recipient.o: ../include/vbuf.h
|
|
recipient.o: ../include/argv.h
|
|
recipient.o: ../include/bounce.h
|
|
recipient.o: ../include/mail_params.h
|
|
recipient.o: ../include/split_addr.h
|
|
recipient.o: ../include/ext_prop.h
|
|
recipient.o: local.h
|
|
recipient.o: ../include/vstring.h
|
|
recipient.o: ../include/been_here.h
|
|
recipient.o: ../include/tok822.h
|
|
recipient.o: ../include/resolve_clnt.h
|
|
recipient.o: ../include/deliver_request.h
|
|
recipient.o: ../include/recipient_list.h
|
|
resolve.o: resolve.c
|
|
resolve.o: ../include/sys_defs.h
|
|
resolve.o: ../include/msg.h
|
|
resolve.o: ../include/vstring.h
|
|
resolve.o: ../include/vbuf.h
|
|
resolve.o: ../include/htable.h
|
|
resolve.o: ../include/mail_proto.h
|
|
resolve.o: ../include/vstream.h
|
|
resolve.o: ../include/iostuff.h
|
|
resolve.o: ../include/resolve_clnt.h
|
|
resolve.o: ../include/rewrite_clnt.h
|
|
resolve.o: ../include/tok822.h
|
|
resolve.o: ../include/mail_params.h
|
|
resolve.o: local.h
|
|
resolve.o: ../include/been_here.h
|
|
resolve.o: ../include/deliver_request.h
|
|
resolve.o: ../include/recipient_list.h
|
|
token.o: token.c
|
|
token.o: ../include/sys_defs.h
|
|
token.o: ../include/msg.h
|
|
token.o: ../include/vstring.h
|
|
token.o: ../include/vbuf.h
|
|
token.o: ../include/vstream.h
|
|
token.o: ../include/htable.h
|
|
token.o: ../include/readlline.h
|
|
token.o: ../include/mymalloc.h
|
|
token.o: ../include/vstring_vstream.h
|
|
token.o: ../include/stringops.h
|
|
token.o: ../include/tok822.h
|
|
token.o: ../include/resolve_clnt.h
|
|
token.o: ../include/mail_params.h
|
|
token.o: ../include/bounce.h
|
|
token.o: local.h
|
|
token.o: ../include/been_here.h
|
|
token.o: ../include/deliver_request.h
|
|
token.o: ../include/recipient_list.h
|
|
unknown.o: unknown.c
|
|
unknown.o: ../include/sys_defs.h
|
|
unknown.o: ../include/msg.h
|
|
unknown.o: ../include/stringops.h
|
|
unknown.o: ../include/mymalloc.h
|
|
unknown.o: ../include/vstring.h
|
|
unknown.o: ../include/vbuf.h
|
|
unknown.o: ../include/been_here.h
|
|
unknown.o: ../include/mail_params.h
|
|
unknown.o: ../include/mail_proto.h
|
|
unknown.o: ../include/vstream.h
|
|
unknown.o: ../include/iostuff.h
|
|
unknown.o: ../include/bounce.h
|
|
unknown.o: local.h
|
|
unknown.o: ../include/htable.h
|
|
unknown.o: ../include/tok822.h
|
|
unknown.o: ../include/resolve_clnt.h
|
|
unknown.o: ../include/deliver_request.h
|
|
unknown.o: ../include/recipient_list.h
|