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