6
DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
7
CFLAGS = $(DEBUG) $(OPT) $(DEFS)
10
INC_DIR = ../../include
11
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
13
.c.o:; $(CC) $(CFLAGS) -c $*.c
15
$(PROG): $(OBJS) $(LIBS)
16
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
19
(set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
25
update: ../../libexec/$(PROG)
27
../../libexec/$(PROG): $(PROG)
28
cp $(PROG) ../../libexec
30
printfck: $(OBJS) $(PROG)
33
sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
34
set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
35
cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
38
lint $(DEFS) $(SRCS) $(LINTFIX)
41
rm -f *.o *core $(PROG) $(TESTPROG) junk
47
(sed '1,/^# do not edit/!d' Makefile.in; \
48
set -e; for i in [a-z][a-z0-9]*.c; do \
49
$(CC) -E $(DEFS) $(INCL) $$i | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
50
-e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' -e 'p' -e '}'; \
51
done) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
52
@$(EXPORT) make -f Makefile.in Makefile 1>&2
54
# do not edit below this line - it is generated by 'make depend'
56
showq.o: ../../include/sys_defs.h
57
showq.o: ../../include/msg.h
58
showq.o: ../../include/scan_dir.h
59
showq.o: ../../include/vstring.h
60
showq.o: ../../include/vbuf.h
61
showq.o: ../../include/vstream.h
62
showq.o: ../../include/vstring_vstream.h
63
showq.o: ../../include/stringops.h
64
showq.o: ../../include/mymalloc.h
65
showq.o: ../../include/htable.h
66
showq.o: ../../include/mail_queue.h
67
showq.o: ../../include/mail_open_ok.h
68
showq.o: ../../include/mail_proto.h
69
showq.o: ../../include/iostuff.h
70
showq.o: ../../include/attr.h
71
showq.o: ../../include/mail_date.h
72
showq.o: ../../include/mail_params.h
73
showq.o: ../../include/mail_scan_dir.h
74
showq.o: ../../include/mail_conf.h
75
showq.o: ../../include/record.h
76
showq.o: ../../include/rec_type.h
77
showq.o: ../../include/quote_822_local.h
78
showq.o: ../../include/quote_flags.h
79
showq.o: ../../include/mail_addr.h
80
showq.o: ../../include/bounce_log.h
81
showq.o: ../../include/mail_server.h