Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / postlock / Makefile.in
blob7024d7139dffa66faa1c7d5215eef125c7a993fd
1 SHELL = /bin/sh
2 SRCS = postlock.c
3 OBJS = postlock.o
4 HDRS =
5 TESTSRC =
6 DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
7 CFLAGS = $(DEBUG) $(OPT) $(DEFS)
8 TESTPROG=
9 PROG = postlock
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 postlock.o: ../../include/argv.h
61 postlock.o: ../../include/deliver_flock.h
62 postlock.o: ../../include/dot_lockfile.h
63 postlock.o: ../../include/dsn.h
64 postlock.o: ../../include/dsn_buf.h
65 postlock.o: ../../include/dsn_util.h
66 postlock.o: ../../include/iostuff.h
67 postlock.o: ../../include/mail_conf.h
68 postlock.o: ../../include/mail_params.h
69 postlock.o: ../../include/mail_version.h
70 postlock.o: ../../include/mbox_conf.h
71 postlock.o: ../../include/mbox_open.h
72 postlock.o: ../../include/msg.h
73 postlock.o: ../../include/msg_vstream.h
74 postlock.o: ../../include/myflock.h
75 postlock.o: ../../include/safe_open.h
76 postlock.o: ../../include/sys_defs.h
77 postlock.o: ../../include/sys_exits.h
78 postlock.o: ../../include/vbuf.h
79 postlock.o: ../../include/vstream.h
80 postlock.o: ../../include/vstring.h
81 postlock.o: postlock.c