Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / smtpstone / Makefile.in
blob3c0316e735d8517a0f79f3dbede3b97a0fac1aa8
1 SHELL = /bin/sh
2 SRCS = smtp-source.c smtp-sink.c qmqp-source.c qmqp-sink.c
3 OBJS = smtp-source.o smtp-sink.o qmqp-source.o qmqp-sink.o
4 HDRS =
5 TESTSRC =
6 DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
7 CFLAGS = $(DEBUG) $(OPT) $(DEFS)
8 TESTPROG=
9 INC_DIR = ../../include
10 PROG = smtp-source smtp-sink qmqp-source qmqp-sink
11 LIBS = ../../lib/libglobal.a ../../lib/libutil.a
13 .c.o:; $(CC) $(CFLAGS) -c $*.c
15 all: $(PROG)
17 $(OBJS): ../../conf/makedefs.out
19 Makefile: Makefile.in
20 cat ../../conf/makedefs.out $? >$@
22 smtp-sink: smtp-sink.o $(LIBS)
23 $(CC) $(CFLAGS) -o $@ smtp-sink.o $(LIBS) $(SYSLIBS)
25 smtp-source: smtp-source.o $(LIBS)
26 $(CC) $(CFLAGS) -o $@ smtp-source.o $(LIBS) $(SYSLIBS)
28 qmqp-sink: qmqp-sink.o $(LIBS)
29 $(CC) $(CFLAGS) -o $@ qmqp-sink.o $(LIBS) $(SYSLIBS)
31 qmqp-source: qmqp-source.o $(LIBS)
32 $(CC) $(CFLAGS) -o $@ qmqp-source.o $(LIBS) $(SYSLIBS)
34 test: $(TESTPROG)
36 tests:
38 root_tests:
40 update: ../../bin/smtp-source ../../bin/smtp-sink ../../bin/qmqp-source \
41 ../../bin/qmqp-sink
43 ../../bin/smtp-source: smtp-source
44 cp $? $@
46 ../../bin/smtp-sink: smtp-sink
47 cp $? $@
49 ../../bin/qmqp-source: qmqp-source
50 cp $? $@
52 ../../bin/qmqp-sink: qmqp-sink
53 cp $? $@
55 printfck: $(OBJS) $(PROG)
56 rm -rf printfck
57 mkdir printfck
58 sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
59 set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
60 cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
62 lint:
63 lint $(DEFS) $(SRCS) $(LINTFIX)
65 clean:
66 rm -f *.o *core $(PROG) $(TESTPROG) junk
67 rm -rf printfck
69 tidy: clean
71 depend: $(MAKES)
72 (sed '1,/^# do not edit/!d' Makefile.in; \
73 set -e; for i in [a-z][a-z0-9]*.c; do \
74 $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
75 -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
76 -e 's/o: \.\//o: /' -e p -e '}' ; \
77 done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
78 @$(EXPORT) make -f Makefile.in Makefile 1>&2
80 # do not edit below this line - it is generated by 'make depend'
81 qmqp-sink.o: ../../include/events.h
82 qmqp-sink.o: ../../include/inet_proto.h
83 qmqp-sink.o: ../../include/iostuff.h
84 qmqp-sink.o: ../../include/listen.h
85 qmqp-sink.o: ../../include/mail_version.h
86 qmqp-sink.o: ../../include/msg.h
87 qmqp-sink.o: ../../include/msg_vstream.h
88 qmqp-sink.o: ../../include/mymalloc.h
89 qmqp-sink.o: ../../include/netstring.h
90 qmqp-sink.o: ../../include/qmqp_proto.h
91 qmqp-sink.o: ../../include/sys_defs.h
92 qmqp-sink.o: ../../include/vbuf.h
93 qmqp-sink.o: ../../include/vstream.h
94 qmqp-sink.o: ../../include/vstring.h
95 qmqp-sink.o: qmqp-sink.c
96 qmqp-source.o: ../../include/connect.h
97 qmqp-source.o: ../../include/events.h
98 qmqp-source.o: ../../include/get_hostname.h
99 qmqp-source.o: ../../include/host_port.h
100 qmqp-source.o: ../../include/inet_proto.h
101 qmqp-source.o: ../../include/iostuff.h
102 qmqp-source.o: ../../include/mail_date.h
103 qmqp-source.o: ../../include/mail_version.h
104 qmqp-source.o: ../../include/msg.h
105 qmqp-source.o: ../../include/msg_vstream.h
106 qmqp-source.o: ../../include/myaddrinfo.h
107 qmqp-source.o: ../../include/mymalloc.h
108 qmqp-source.o: ../../include/netstring.h
109 qmqp-source.o: ../../include/qmqp_proto.h
110 qmqp-source.o: ../../include/sane_connect.h
111 qmqp-source.o: ../../include/split_at.h
112 qmqp-source.o: ../../include/sys_defs.h
113 qmqp-source.o: ../../include/valid_hostname.h
114 qmqp-source.o: ../../include/valid_mailhost_addr.h
115 qmqp-source.o: ../../include/vbuf.h
116 qmqp-source.o: ../../include/vstream.h
117 qmqp-source.o: ../../include/vstring.h
118 qmqp-source.o: qmqp-source.c
119 smtp-sink.o: ../../include/chroot_uid.h
120 smtp-sink.o: ../../include/events.h
121 smtp-sink.o: ../../include/get_hostname.h
122 smtp-sink.o: ../../include/inet_proto.h
123 smtp-sink.o: ../../include/iostuff.h
124 smtp-sink.o: ../../include/listen.h
125 smtp-sink.o: ../../include/mail_date.h
126 smtp-sink.o: ../../include/mail_version.h
127 smtp-sink.o: ../../include/make_dirs.h
128 smtp-sink.o: ../../include/msg.h
129 smtp-sink.o: ../../include/msg_vstream.h
130 smtp-sink.o: ../../include/myaddrinfo.h
131 smtp-sink.o: ../../include/mymalloc.h
132 smtp-sink.o: ../../include/myrand.h
133 smtp-sink.o: ../../include/sane_accept.h
134 smtp-sink.o: ../../include/smtp_stream.h
135 smtp-sink.o: ../../include/stringops.h
136 smtp-sink.o: ../../include/sys_defs.h
137 smtp-sink.o: ../../include/vbuf.h
138 smtp-sink.o: ../../include/vstream.h
139 smtp-sink.o: ../../include/vstring.h
140 smtp-sink.o: ../../include/vstring_vstream.h
141 smtp-sink.o: smtp-sink.c
142 smtp-source.o: ../../include/connect.h
143 smtp-source.o: ../../include/events.h
144 smtp-source.o: ../../include/get_hostname.h
145 smtp-source.o: ../../include/host_port.h
146 smtp-source.o: ../../include/inet_proto.h
147 smtp-source.o: ../../include/iostuff.h
148 smtp-source.o: ../../include/mail_date.h
149 smtp-source.o: ../../include/mail_version.h
150 smtp-source.o: ../../include/msg.h
151 smtp-source.o: ../../include/msg_vstream.h
152 smtp-source.o: ../../include/myaddrinfo.h
153 smtp-source.o: ../../include/mymalloc.h
154 smtp-source.o: ../../include/sane_connect.h
155 smtp-source.o: ../../include/smtp_stream.h
156 smtp-source.o: ../../include/split_at.h
157 smtp-source.o: ../../include/sys_defs.h
158 smtp-source.o: ../../include/valid_hostname.h
159 smtp-source.o: ../../include/valid_mailhost_addr.h
160 smtp-source.o: ../../include/vbuf.h
161 smtp-source.o: ../../include/vstream.h
162 smtp-source.o: ../../include/vstring.h
163 smtp-source.o: ../../include/vstring_vstream.h
164 smtp-source.o: smtp-source.c