Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / trivial-rewrite / Makefile.in
blob6f4e24e8f95d61f983af482f4b02e5223b9ddc4b
1 SHELL = /bin/sh
2 SRCS = trivial-rewrite.c rewrite.c resolve.c transport.c
3 OBJS = trivial-rewrite.o rewrite.o resolve.o transport.o
4 HDRS =
5 TESTSRC =
6 DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
7 CFLAGS = $(DEBUG) $(OPT) $(DEFS)
8 LIB =
9 TESTPROG=
10 PROG = trivial-rewrite
11 LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
12 LIB_DIR = ../../lib
13 INC_DIR = ../../include
14 BIN_DIR = ../../libexec
16 .c.o:; $(CC) $(CFLAGS) -c $*.c
18 all: $(PROG) $(LIB)
20 $(PROG): $(OBJS) $(LIBS)
21 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
23 $(OBJS): ../../conf/makedefs.out
25 Makefile: Makefile.in
26 cat ../../conf/makedefs.out $? >$@
28 test: $(TESTPROG)
30 tests:
32 root_tests:
34 $(BIN_DIR)/$(PROG): $(PROG)
35 cp $(PROG) $@
37 update: $(BIN_DIR)/$(PROG)
39 printfck: $(OBJS) $(PROG)
40 rm -rf printfck
41 mkdir printfck
42 cp *.h printfck
43 sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
44 set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
45 cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
47 lint:
48 lint $(DEFS) $(SRCS) $(LINTFIX)
50 clean:
51 rm -f *.o *core trivial-rewrite $(TESTPROG) junk $(LIB)
52 rm -rf printfck
54 tidy: clean
56 depend: $(MAKES)
57 (sed '1,/^# do not edit/!d' Makefile.in; \
58 set -e; for i in [a-z][a-z0-9]*.c; do \
59 $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
60 -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
61 -e 's/o: \.\//o: /' -e p -e '}' ; \
62 done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
63 @$(EXPORT) make -f Makefile.in Makefile 1>&2
65 # do not edit below this line - it is generated by 'make depend'
66 resolve.o: ../../include/argv.h
67 resolve.o: ../../include/attr.h
68 resolve.o: ../../include/dict.h
69 resolve.o: ../../include/domain_list.h
70 resolve.o: ../../include/iostuff.h
71 resolve.o: ../../include/mail_addr_find.h
72 resolve.o: ../../include/mail_conf.h
73 resolve.o: ../../include/mail_params.h
74 resolve.o: ../../include/mail_proto.h
75 resolve.o: ../../include/maps.h
76 resolve.o: ../../include/match_list.h
77 resolve.o: ../../include/match_ops.h
78 resolve.o: ../../include/match_parent_style.h
79 resolve.o: ../../include/msg.h
80 resolve.o: ../../include/mymalloc.h
81 resolve.o: ../../include/quote_822_local.h
82 resolve.o: ../../include/quote_flags.h
83 resolve.o: ../../include/resolve_clnt.h
84 resolve.o: ../../include/resolve_local.h
85 resolve.o: ../../include/split_at.h
86 resolve.o: ../../include/string_list.h
87 resolve.o: ../../include/stringops.h
88 resolve.o: ../../include/sys_defs.h
89 resolve.o: ../../include/tok822.h
90 resolve.o: ../../include/valid_hostname.h
91 resolve.o: ../../include/valid_mailhost_addr.h
92 resolve.o: ../../include/vbuf.h
93 resolve.o: ../../include/vstream.h
94 resolve.o: ../../include/vstring.h
95 resolve.o: ../../include/vstring_vstream.h
96 resolve.o: resolve.c
97 resolve.o: transport.h
98 resolve.o: trivial-rewrite.h
99 rewrite.o: ../../include/argv.h
100 rewrite.o: ../../include/attr.h
101 rewrite.o: ../../include/dict.h
102 rewrite.o: ../../include/iostuff.h
103 rewrite.o: ../../include/mail_conf.h
104 rewrite.o: ../../include/mail_params.h
105 rewrite.o: ../../include/mail_proto.h
106 rewrite.o: ../../include/maps.h
107 rewrite.o: ../../include/msg.h
108 rewrite.o: ../../include/resolve_clnt.h
109 rewrite.o: ../../include/resolve_local.h
110 rewrite.o: ../../include/split_at.h
111 rewrite.o: ../../include/sys_defs.h
112 rewrite.o: ../../include/tok822.h
113 rewrite.o: ../../include/vbuf.h
114 rewrite.o: ../../include/vstream.h
115 rewrite.o: ../../include/vstring.h
116 rewrite.o: ../../include/vstring_vstream.h
117 rewrite.o: rewrite.c
118 rewrite.o: trivial-rewrite.h
119 transport.o: ../../include/argv.h
120 transport.o: ../../include/attr.h
121 transport.o: ../../include/dict.h
122 transport.o: ../../include/events.h
123 transport.o: ../../include/iostuff.h
124 transport.o: ../../include/mail_params.h
125 transport.o: ../../include/mail_proto.h
126 transport.o: ../../include/maps.h
127 transport.o: ../../include/match_ops.h
128 transport.o: ../../include/match_parent_style.h
129 transport.o: ../../include/msg.h
130 transport.o: ../../include/mymalloc.h
131 transport.o: ../../include/split_at.h
132 transport.o: ../../include/stringops.h
133 transport.o: ../../include/strip_addr.h
134 transport.o: ../../include/sys_defs.h
135 transport.o: ../../include/vbuf.h
136 transport.o: ../../include/vstream.h
137 transport.o: ../../include/vstring.h
138 transport.o: transport.c
139 transport.o: transport.h
140 trivial-rewrite.o: ../../include/argv.h
141 trivial-rewrite.o: ../../include/attr.h
142 trivial-rewrite.o: ../../include/dict.h
143 trivial-rewrite.o: ../../include/events.h
144 trivial-rewrite.o: ../../include/iostuff.h
145 trivial-rewrite.o: ../../include/mail_addr.h
146 trivial-rewrite.o: ../../include/mail_conf.h
147 trivial-rewrite.o: ../../include/mail_params.h
148 trivial-rewrite.o: ../../include/mail_proto.h
149 trivial-rewrite.o: ../../include/mail_server.h
150 trivial-rewrite.o: ../../include/mail_version.h
151 trivial-rewrite.o: ../../include/maps.h
152 trivial-rewrite.o: ../../include/msg.h
153 trivial-rewrite.o: ../../include/resolve_clnt.h
154 trivial-rewrite.o: ../../include/resolve_local.h
155 trivial-rewrite.o: ../../include/rewrite_clnt.h
156 trivial-rewrite.o: ../../include/split_at.h
157 trivial-rewrite.o: ../../include/stringops.h
158 trivial-rewrite.o: ../../include/sys_defs.h
159 trivial-rewrite.o: ../../include/tok822.h
160 trivial-rewrite.o: ../../include/vbuf.h
161 trivial-rewrite.o: ../../include/vstream.h
162 trivial-rewrite.o: ../../include/vstring.h
163 trivial-rewrite.o: ../../include/vstring_vstream.h
164 trivial-rewrite.o: transport.h
165 trivial-rewrite.o: trivial-rewrite.c
166 trivial-rewrite.o: trivial-rewrite.h