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