Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / flush / Makefile.in
blob7578940f561165e2320c9cf380c8d0a57d43210a
1 SHELL = /bin/sh
2 SRCS = flush.c
3 OBJS = flush.o
4 HDRS =
5 TESTSRC =
6 DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
7 CFLAGS = $(DEBUG) $(OPT) $(DEFS)
8 TESTPROG=
9 PROG = flush
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)
18 $(OBJS): ../../conf/makedefs.out
20 Makefile: Makefile.in
21 cat ../../conf/makedefs.out $? >$@
23 test: $(TESTPROG)
25 tests:
27 root_tests:
29 update: ../../libexec/$(PROG)
31 ../../libexec/$(PROG): $(PROG)
32 cp $(PROG) ../../libexec
34 printfck: $(OBJS) $(PROG)
35 rm -rf printfck
36 mkdir printfck
37 sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
38 set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
39 cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
41 lint:
42 lint $(DEFS) $(SRCS) $(LINTFIX)
44 clean:
45 rm -f *.o *core $(PROG) $(TESTPROG) junk
46 rm -rf printfck
48 tidy: clean
50 depend: $(MAKES)
51 (sed '1,/^# do not edit/!d' Makefile.in; \
52 set -e; for i in [a-z][a-z0-9]*.c; do \
53 $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
54 -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
55 -e 's/o: \.\//o: /' -e p -e '}' ; \
56 done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
57 @$(EXPORT) make -f Makefile.in Makefile 1>&2
59 # do not edit below this line - it is generated by 'make depend'
60 flush.o: ../../include/argv.h
61 flush.o: ../../include/attr.h
62 flush.o: ../../include/dict.h
63 flush.o: ../../include/domain_list.h
64 flush.o: ../../include/events.h
65 flush.o: ../../include/flush_clnt.h
66 flush.o: ../../include/htable.h
67 flush.o: ../../include/iostuff.h
68 flush.o: ../../include/mail_conf.h
69 flush.o: ../../include/mail_flush.h
70 flush.o: ../../include/mail_params.h
71 flush.o: ../../include/mail_proto.h
72 flush.o: ../../include/mail_queue.h
73 flush.o: ../../include/mail_scan_dir.h
74 flush.o: ../../include/mail_server.h
75 flush.o: ../../include/mail_version.h
76 flush.o: ../../include/maps.h
77 flush.o: ../../include/match_list.h
78 flush.o: ../../include/match_ops.h
79 flush.o: ../../include/match_parent_style.h
80 flush.o: ../../include/msg.h
81 flush.o: ../../include/myflock.h
82 flush.o: ../../include/safe_open.h
83 flush.o: ../../include/scan_dir.h
84 flush.o: ../../include/stringops.h
85 flush.o: ../../include/sys_defs.h
86 flush.o: ../../include/vbuf.h
87 flush.o: ../../include/vstream.h
88 flush.o: ../../include/vstring.h
89 flush.o: ../../include/vstring_vstream.h
90 flush.o: flush.c