Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / error / Makefile.in
bloba9453126feca03e873dea5c430c222ab59f32905
1 SHELL = /bin/sh
2 SRCS = error.c
3 OBJS = error.o
4 HDRS =
5 TESTSRC =
6 DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
7 CFLAGS = $(DEBUG) $(OPT) $(DEFS)
8 TESTPROG=
9 PROG = error
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 error.o: ../../include/attr.h
61 error.o: ../../include/bounce.h
62 error.o: ../../include/defer.h
63 error.o: ../../include/deliver_completed.h
64 error.o: ../../include/deliver_request.h
65 error.o: ../../include/dsn.h
66 error.o: ../../include/dsn_buf.h
67 error.o: ../../include/dsn_util.h
68 error.o: ../../include/flush_clnt.h
69 error.o: ../../include/iostuff.h
70 error.o: ../../include/mail_proto.h
71 error.o: ../../include/mail_queue.h
72 error.o: ../../include/mail_server.h
73 error.o: ../../include/mail_version.h
74 error.o: ../../include/msg.h
75 error.o: ../../include/msg_stats.h
76 error.o: ../../include/recipient_list.h
77 error.o: ../../include/sys_defs.h
78 error.o: ../../include/sys_exits.h
79 error.o: ../../include/vbuf.h
80 error.o: ../../include/vstream.h
81 error.o: ../../include/vstring.h
82 error.o: error.c