Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / postcat / Makefile.in
blob237bf60922f1df50e5e950303a47f9b148d26f1b
1 SHELL = /bin/sh
2 SRCS = postcat.c
3 OBJS = postcat.o
4 HDRS =
5 TESTSRC =
6 DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
7 CFLAGS = $(DEBUG) $(OPT) $(DEFS)
8 TESTPROG=
9 PROG = postcat
10 INC_DIR = ../../include
11 LIBS = ../../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: ../../bin/$(PROG)
31 ../../bin/$(PROG): $(PROG)
32 cp $(PROG) ../../bin
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 postcat.o: ../../include/attr.h
61 postcat.o: ../../include/iostuff.h
62 postcat.o: ../../include/mail_conf.h
63 postcat.o: ../../include/mail_params.h
64 postcat.o: ../../include/mail_proto.h
65 postcat.o: ../../include/mail_queue.h
66 postcat.o: ../../include/mail_version.h
67 postcat.o: ../../include/msg.h
68 postcat.o: ../../include/msg_vstream.h
69 postcat.o: ../../include/rec_type.h
70 postcat.o: ../../include/record.h
71 postcat.o: ../../include/stringops.h
72 postcat.o: ../../include/sys_defs.h
73 postcat.o: ../../include/vbuf.h
74 postcat.o: ../../include/vstream.h
75 postcat.o: ../../include/vstring.h
76 postcat.o: ../../include/vstring_vstream.h
77 postcat.o: postcat.c