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
pipe.o: ../../include/sys_defs.h
57
pipe.o: ../../include/msg.h
58
pipe.o: ../../include/vstream.h
59
pipe.o: ../../include/vbuf.h
60
pipe.o: ../../include/vstring.h
61
pipe.o: ../../include/argv.h
62
pipe.o: ../../include/htable.h
63
pipe.o: ../../include/dict.h
64
pipe.o: ../../include/iostuff.h
65
pipe.o: ../../include/mymalloc.h
66
pipe.o: ../../include/mac_parse.h
67
pipe.o: ../../include/set_eugid.h
68
pipe.o: ../../include/split_at.h
69
pipe.o: ../../include/stringops.h
70
pipe.o: ../../include/recipient_list.h
71
pipe.o: ../../include/deliver_request.h
72
pipe.o: ../../include/mail_params.h
73
pipe.o: ../../include/mail_conf.h
74
pipe.o: ../../include/bounce.h
75
pipe.o: ../../include/defer.h
76
pipe.o: ../../include/deliver_completed.h
77
pipe.o: ../../include/sent.h
78
pipe.o: ../../include/pipe_command.h
79
pipe.o: ../../include/mail_copy.h
80
pipe.o: ../../include/mail_addr.h
81
pipe.o: ../../include/canon_addr.h
82
pipe.o: ../../include/split_addr.h
83
pipe.o: ../../include/off_cvt.h
84
pipe.o: ../../include/quote_822_local.h
85
pipe.o: ../../include/quote_flags.h
86
pipe.o: ../../include/flush_clnt.h
87
pipe.o: ../../include/mail_server.h