Makefile.in revision 1.1.1.7
1SHELL	= /bin/sh
2SRCS	= tls_prng_dev.c tls_prng_egd.c tls_prng_file.c tls_fprint.c \
3	tls_prng_exch.c tls_stream.c tls_bio_ops.c tls_misc.c tls_dh.c \
4	tls_rsa.c tls_verify.c tls_dane.c tls_certkey.c tls_session.c \
5	tls_client.c tls_server.c tls_scache.c tls_mgr.c tls_seed.c \
6	tls_level.c \
7	tls_proxy_clnt.c tls_proxy_print.c tls_proxy_scan.c
8OBJS	= tls_prng_dev.o tls_prng_egd.o tls_prng_file.o tls_fprint.o \
9	tls_prng_exch.o tls_stream.o tls_bio_ops.o tls_misc.o tls_dh.o \
10	tls_rsa.o tls_verify.o tls_dane.o tls_certkey.o tls_session.o \
11	tls_client.o tls_server.o tls_scache.o tls_mgr.o tls_seed.o \
12	tls_level.o \
13	tls_proxy_clnt.o tls_proxy_print.o tls_proxy_scan.o
14HDRS	= tls.h tls_prng.h tls_scache.h tls_mgr.h tls_proxy.h
15TESTSRC	= 
16DEFS	= -I. -I$(INC_DIR) -D$(SYSTYPE)
17CFLAGS	= $(DEBUG) $(OPT) $(DEFS)
18INCL	=
19LIB	= lib$(LIB_PREFIX)tls$(LIB_SUFFIX)
20TESTPROG= tls_dh tls_mgr tls_rsa tls_dane
21
22LIBS	= ../../lib/lib$(LIB_PREFIX)dns$(LIB_SUFFIX) \
23	../../lib/lib$(LIB_PREFIX)global$(LIB_SUFFIX) \
24	../../lib/lib$(LIB_PREFIX)util$(LIB_SUFFIX)
25LIB_DIR	= ../../lib
26INC_DIR	= ../../include
27MAKES	=
28
29.c.o:;	$(CC) $(SHLIB_CFLAGS) $(CFLAGS) -c $*.c
30
31all: $(LIB)
32
33$(OBJS): ../../conf/makedefs.out
34
35Makefile: Makefile.in
36	cat ../../conf/makedefs.out $? >$@
37
38test:	$(TESTPROG)
39
40tests:
41
42root_tests:
43
44$(LIB):	$(OBJS)
45	$(AR) $(ARFL) $(LIB) $?
46	$(RANLIB) $(LIB)
47	$(SHLIB_LD) $(SHLIB_RPATH) -o $(LIB) $(OBJS) $(SHLIB_SYSLIBS)
48
49$(LIB_DIR)/$(LIB): $(LIB)
50	cp $(LIB) $(LIB_DIR)
51	$(RANLIB) $(LIB_DIR)/$(LIB)
52
53update: $(LIB_DIR)/$(LIB) $(HDRS)
54	-for i in $(HDRS); \
55	do \
56	  cmp -s $$i $(INC_DIR)/$$i 2>/dev/null || cp $$i $(INC_DIR); \
57	done
58	cd $(INC_DIR); chmod 644 $(HDRS)
59
60printfck: $(OBJS) $(PROG)
61	rm -rf printfck
62	mkdir printfck
63	cp *.h printfck
64	sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
65	set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
66	cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
67
68lint:
69	lint $(DEFS) $(SRCS) $(LINTFIX)
70
71clean:
72	rm -f *.o $(LIB) *core $(TESTPROG) junk
73	rm -rf printfck
74
75tidy:	clean
76
77tls_dh:	$(LIB) $(LIBS)
78	mv $@.o junk
79	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(LIBS) $(SYSLIBS)
80	mv junk $@.o
81
82tls_mgr: $(LIB) $(LIBS)
83	mv $@.o junk
84	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(LIBS) $(SYSLIBS)
85	mv junk $@.o
86
87tls_rsa: $(LIB) $(LIBS)
88	mv $@.o junk
89	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(LIBS) $(SYSLIBS)
90	mv junk $@.o
91
92tls_dane: $(LIB) $(LIBS)
93	mv $@.o junk
94	$(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(LIBS) $(SYSLIBS)
95	mv junk $@.o
96
97depend: $(MAKES)
98	(sed '1,/^# do not edit/!d' Makefile.in; \
99	set -e; for i in [a-z][a-z0-9]*.c; do \
100	    $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
101	    -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
102	    -e 's/o: \.\//o: /' -e p -e '}' ; \
103	done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
104	@$(EXPORT) make -f Makefile.in Makefile 1>&2
105
106# do not edit below this line - it is generated by 'make depend'
107tls_bio_ops.o: ../../include/argv.h
108tls_bio_ops.o: ../../include/check_arg.h
109tls_bio_ops.o: ../../include/dns.h
110tls_bio_ops.o: ../../include/iostuff.h
111tls_bio_ops.o: ../../include/msg.h
112tls_bio_ops.o: ../../include/myaddrinfo.h
113tls_bio_ops.o: ../../include/name_code.h
114tls_bio_ops.o: ../../include/name_mask.h
115tls_bio_ops.o: ../../include/sock_addr.h
116tls_bio_ops.o: ../../include/sys_defs.h
117tls_bio_ops.o: ../../include/vbuf.h
118tls_bio_ops.o: ../../include/vstream.h
119tls_bio_ops.o: ../../include/vstring.h
120tls_bio_ops.o: tls.h
121tls_bio_ops.o: tls_bio_ops.c
122tls_certkey.o: ../../include/argv.h
123tls_certkey.o: ../../include/check_arg.h
124tls_certkey.o: ../../include/dns.h
125tls_certkey.o: ../../include/mail_params.h
126tls_certkey.o: ../../include/msg.h
127tls_certkey.o: ../../include/myaddrinfo.h
128tls_certkey.o: ../../include/name_code.h
129tls_certkey.o: ../../include/name_mask.h
130tls_certkey.o: ../../include/sock_addr.h
131tls_certkey.o: ../../include/sys_defs.h
132tls_certkey.o: ../../include/vbuf.h
133tls_certkey.o: ../../include/vstream.h
134tls_certkey.o: ../../include/vstring.h
135tls_certkey.o: tls.h
136tls_certkey.o: tls_certkey.c
137tls_client.o: ../../include/argv.h
138tls_client.o: ../../include/check_arg.h
139tls_client.o: ../../include/dict.h
140tls_client.o: ../../include/dns.h
141tls_client.o: ../../include/iostuff.h
142tls_client.o: ../../include/mail_params.h
143tls_client.o: ../../include/midna_domain.h
144tls_client.o: ../../include/msg.h
145tls_client.o: ../../include/myaddrinfo.h
146tls_client.o: ../../include/myflock.h
147tls_client.o: ../../include/mymalloc.h
148tls_client.o: ../../include/name_code.h
149tls_client.o: ../../include/name_mask.h
150tls_client.o: ../../include/sock_addr.h
151tls_client.o: ../../include/stringops.h
152tls_client.o: ../../include/sys_defs.h
153tls_client.o: ../../include/vbuf.h
154tls_client.o: ../../include/vstream.h
155tls_client.o: ../../include/vstring.h
156tls_client.o: tls.h
157tls_client.o: tls_client.c
158tls_client.o: tls_mgr.h
159tls_client.o: tls_scache.h
160tls_dane.o: ../../include/argv.h
161tls_dane.o: ../../include/check_arg.h
162tls_dane.o: ../../include/ctable.h
163tls_dane.o: ../../include/dns.h
164tls_dane.o: ../../include/events.h
165tls_dane.o: ../../include/hex_code.h
166tls_dane.o: ../../include/mail_params.h
167tls_dane.o: ../../include/msg.h
168tls_dane.o: ../../include/myaddrinfo.h
169tls_dane.o: ../../include/mymalloc.h
170tls_dane.o: ../../include/name_code.h
171tls_dane.o: ../../include/name_mask.h
172tls_dane.o: ../../include/safe_ultostr.h
173tls_dane.o: ../../include/sock_addr.h
174tls_dane.o: ../../include/split_at.h
175tls_dane.o: ../../include/stringops.h
176tls_dane.o: ../../include/sys_defs.h
177tls_dane.o: ../../include/timecmp.h
178tls_dane.o: ../../include/vbuf.h
179tls_dane.o: ../../include/vstream.h
180tls_dane.o: ../../include/vstring.h
181tls_dane.o: tls.h
182tls_dane.o: tls_dane.c
183tls_dh.o: ../../include/argv.h
184tls_dh.o: ../../include/check_arg.h
185tls_dh.o: ../../include/dns.h
186tls_dh.o: ../../include/mail_params.h
187tls_dh.o: ../../include/msg.h
188tls_dh.o: ../../include/myaddrinfo.h
189tls_dh.o: ../../include/name_code.h
190tls_dh.o: ../../include/name_mask.h
191tls_dh.o: ../../include/sock_addr.h
192tls_dh.o: ../../include/sys_defs.h
193tls_dh.o: ../../include/vbuf.h
194tls_dh.o: ../../include/vstream.h
195tls_dh.o: ../../include/vstring.h
196tls_dh.o: tls.h
197tls_dh.o: tls_dh.c
198tls_fprint.o: ../../include/argv.h
199tls_fprint.o: ../../include/check_arg.h
200tls_fprint.o: ../../include/dns.h
201tls_fprint.o: ../../include/mail_params.h
202tls_fprint.o: ../../include/msg.h
203tls_fprint.o: ../../include/myaddrinfo.h
204tls_fprint.o: ../../include/mymalloc.h
205tls_fprint.o: ../../include/name_code.h
206tls_fprint.o: ../../include/name_mask.h
207tls_fprint.o: ../../include/sock_addr.h
208tls_fprint.o: ../../include/stringops.h
209tls_fprint.o: ../../include/sys_defs.h
210tls_fprint.o: ../../include/vbuf.h
211tls_fprint.o: ../../include/vstream.h
212tls_fprint.o: ../../include/vstring.h
213tls_fprint.o: tls.h
214tls_fprint.o: tls_fprint.c
215tls_level.o: ../../include/argv.h
216tls_level.o: ../../include/check_arg.h
217tls_level.o: ../../include/dns.h
218tls_level.o: ../../include/myaddrinfo.h
219tls_level.o: ../../include/name_code.h
220tls_level.o: ../../include/name_mask.h
221tls_level.o: ../../include/sock_addr.h
222tls_level.o: ../../include/sys_defs.h
223tls_level.o: ../../include/vbuf.h
224tls_level.o: ../../include/vstream.h
225tls_level.o: ../../include/vstring.h
226tls_level.o: tls.h
227tls_level.o: tls_level.c
228tls_mgr.o: ../../include/argv.h
229tls_mgr.o: ../../include/attr.h
230tls_mgr.o: ../../include/attr_clnt.h
231tls_mgr.o: ../../include/check_arg.h
232tls_mgr.o: ../../include/dict.h
233tls_mgr.o: ../../include/htable.h
234tls_mgr.o: ../../include/iostuff.h
235tls_mgr.o: ../../include/mail_params.h
236tls_mgr.o: ../../include/mail_proto.h
237tls_mgr.o: ../../include/msg.h
238tls_mgr.o: ../../include/myflock.h
239tls_mgr.o: ../../include/mymalloc.h
240tls_mgr.o: ../../include/nvtable.h
241tls_mgr.o: ../../include/stringops.h
242tls_mgr.o: ../../include/sys_defs.h
243tls_mgr.o: ../../include/vbuf.h
244tls_mgr.o: ../../include/vstream.h
245tls_mgr.o: ../../include/vstring.h
246tls_mgr.o: tls_mgr.c
247tls_mgr.o: tls_mgr.h
248tls_mgr.o: tls_scache.h
249tls_misc.o: ../../include/argv.h
250tls_misc.o: ../../include/check_arg.h
251tls_misc.o: ../../include/dns.h
252tls_misc.o: ../../include/mail_conf.h
253tls_misc.o: ../../include/mail_params.h
254tls_misc.o: ../../include/msg.h
255tls_misc.o: ../../include/myaddrinfo.h
256tls_misc.o: ../../include/mymalloc.h
257tls_misc.o: ../../include/name_code.h
258tls_misc.o: ../../include/name_mask.h
259tls_misc.o: ../../include/sock_addr.h
260tls_misc.o: ../../include/stringops.h
261tls_misc.o: ../../include/sys_defs.h
262tls_misc.o: ../../include/vbuf.h
263tls_misc.o: ../../include/vstream.h
264tls_misc.o: ../../include/vstring.h
265tls_misc.o: tls.h
266tls_misc.o: tls_misc.c
267tls_prng_dev.o: ../../include/connect.h
268tls_prng_dev.o: ../../include/iostuff.h
269tls_prng_dev.o: ../../include/msg.h
270tls_prng_dev.o: ../../include/mymalloc.h
271tls_prng_dev.o: ../../include/sys_defs.h
272tls_prng_dev.o: tls_prng.h
273tls_prng_dev.o: tls_prng_dev.c
274tls_prng_egd.o: ../../include/connect.h
275tls_prng_egd.o: ../../include/iostuff.h
276tls_prng_egd.o: ../../include/msg.h
277tls_prng_egd.o: ../../include/mymalloc.h
278tls_prng_egd.o: ../../include/sys_defs.h
279tls_prng_egd.o: tls_prng.h
280tls_prng_egd.o: tls_prng_egd.c
281tls_prng_exch.o: ../../include/iostuff.h
282tls_prng_exch.o: ../../include/msg.h
283tls_prng_exch.o: ../../include/myflock.h
284tls_prng_exch.o: ../../include/mymalloc.h
285tls_prng_exch.o: ../../include/sys_defs.h
286tls_prng_exch.o: tls_prng.h
287tls_prng_exch.o: tls_prng_exch.c
288tls_prng_file.o: ../../include/connect.h
289tls_prng_file.o: ../../include/iostuff.h
290tls_prng_file.o: ../../include/msg.h
291tls_prng_file.o: ../../include/mymalloc.h
292tls_prng_file.o: ../../include/sys_defs.h
293tls_prng_file.o: tls_prng.h
294tls_prng_file.o: tls_prng_file.c
295tls_proxy_clnt.o: ../../include/argv.h
296tls_proxy_clnt.o: ../../include/attr.h
297tls_proxy_clnt.o: ../../include/check_arg.h
298tls_proxy_clnt.o: ../../include/connect.h
299tls_proxy_clnt.o: ../../include/dns.h
300tls_proxy_clnt.o: ../../include/htable.h
301tls_proxy_clnt.o: ../../include/iostuff.h
302tls_proxy_clnt.o: ../../include/mail_params.h
303tls_proxy_clnt.o: ../../include/mail_proto.h
304tls_proxy_clnt.o: ../../include/msg.h
305tls_proxy_clnt.o: ../../include/myaddrinfo.h
306tls_proxy_clnt.o: ../../include/mymalloc.h
307tls_proxy_clnt.o: ../../include/name_code.h
308tls_proxy_clnt.o: ../../include/name_mask.h
309tls_proxy_clnt.o: ../../include/nvtable.h
310tls_proxy_clnt.o: ../../include/sock_addr.h
311tls_proxy_clnt.o: ../../include/stringops.h
312tls_proxy_clnt.o: ../../include/sys_defs.h
313tls_proxy_clnt.o: ../../include/vbuf.h
314tls_proxy_clnt.o: ../../include/vstream.h
315tls_proxy_clnt.o: ../../include/vstring.h
316tls_proxy_clnt.o: tls.h
317tls_proxy_clnt.o: tls_proxy.h
318tls_proxy_clnt.o: tls_proxy_clnt.c
319tls_proxy_print.o: ../../include/argv.h
320tls_proxy_print.o: ../../include/attr.h
321tls_proxy_print.o: ../../include/check_arg.h
322tls_proxy_print.o: ../../include/dns.h
323tls_proxy_print.o: ../../include/htable.h
324tls_proxy_print.o: ../../include/iostuff.h
325tls_proxy_print.o: ../../include/mail_proto.h
326tls_proxy_print.o: ../../include/myaddrinfo.h
327tls_proxy_print.o: ../../include/mymalloc.h
328tls_proxy_print.o: ../../include/name_code.h
329tls_proxy_print.o: ../../include/name_mask.h
330tls_proxy_print.o: ../../include/nvtable.h
331tls_proxy_print.o: ../../include/sock_addr.h
332tls_proxy_print.o: ../../include/sys_defs.h
333tls_proxy_print.o: ../../include/vbuf.h
334tls_proxy_print.o: ../../include/vstream.h
335tls_proxy_print.o: ../../include/vstring.h
336tls_proxy_print.o: tls.h
337tls_proxy_print.o: tls_proxy.h
338tls_proxy_print.o: tls_proxy_print.c
339tls_proxy_scan.o: ../../include/argv.h
340tls_proxy_scan.o: ../../include/attr.h
341tls_proxy_scan.o: ../../include/check_arg.h
342tls_proxy_scan.o: ../../include/dns.h
343tls_proxy_scan.o: ../../include/htable.h
344tls_proxy_scan.o: ../../include/iostuff.h
345tls_proxy_scan.o: ../../include/mail_proto.h
346tls_proxy_scan.o: ../../include/myaddrinfo.h
347tls_proxy_scan.o: ../../include/mymalloc.h
348tls_proxy_scan.o: ../../include/name_code.h
349tls_proxy_scan.o: ../../include/name_mask.h
350tls_proxy_scan.o: ../../include/nvtable.h
351tls_proxy_scan.o: ../../include/sock_addr.h
352tls_proxy_scan.o: ../../include/sys_defs.h
353tls_proxy_scan.o: ../../include/vbuf.h
354tls_proxy_scan.o: ../../include/vstream.h
355tls_proxy_scan.o: ../../include/vstring.h
356tls_proxy_scan.o: tls.h
357tls_proxy_scan.o: tls_proxy.h
358tls_proxy_scan.o: tls_proxy_scan.c
359tls_rsa.o: ../../include/argv.h
360tls_rsa.o: ../../include/check_arg.h
361tls_rsa.o: ../../include/dns.h
362tls_rsa.o: ../../include/msg.h
363tls_rsa.o: ../../include/myaddrinfo.h
364tls_rsa.o: ../../include/name_code.h
365tls_rsa.o: ../../include/name_mask.h
366tls_rsa.o: ../../include/sock_addr.h
367tls_rsa.o: ../../include/sys_defs.h
368tls_rsa.o: ../../include/vbuf.h
369tls_rsa.o: ../../include/vstream.h
370tls_rsa.o: ../../include/vstring.h
371tls_rsa.o: tls.h
372tls_rsa.o: tls_rsa.c
373tls_scache.o: ../../include/argv.h
374tls_scache.o: ../../include/check_arg.h
375tls_scache.o: ../../include/dict.h
376tls_scache.o: ../../include/hex_code.h
377tls_scache.o: ../../include/msg.h
378tls_scache.o: ../../include/myflock.h
379tls_scache.o: ../../include/mymalloc.h
380tls_scache.o: ../../include/stringops.h
381tls_scache.o: ../../include/sys_defs.h
382tls_scache.o: ../../include/timecmp.h
383tls_scache.o: ../../include/vbuf.h
384tls_scache.o: ../../include/vstream.h
385tls_scache.o: ../../include/vstring.h
386tls_scache.o: tls_scache.c
387tls_scache.o: tls_scache.h
388tls_seed.o: ../../include/argv.h
389tls_seed.o: ../../include/check_arg.h
390tls_seed.o: ../../include/dict.h
391tls_seed.o: ../../include/dns.h
392tls_seed.o: ../../include/msg.h
393tls_seed.o: ../../include/myaddrinfo.h
394tls_seed.o: ../../include/myflock.h
395tls_seed.o: ../../include/name_code.h
396tls_seed.o: ../../include/name_mask.h
397tls_seed.o: ../../include/sock_addr.h
398tls_seed.o: ../../include/sys_defs.h
399tls_seed.o: ../../include/vbuf.h
400tls_seed.o: ../../include/vstream.h
401tls_seed.o: ../../include/vstring.h
402tls_seed.o: tls.h
403tls_seed.o: tls_mgr.h
404tls_seed.o: tls_scache.h
405tls_seed.o: tls_seed.c
406tls_server.o: ../../include/argv.h
407tls_server.o: ../../include/check_arg.h
408tls_server.o: ../../include/dict.h
409tls_server.o: ../../include/dns.h
410tls_server.o: ../../include/hex_code.h
411tls_server.o: ../../include/iostuff.h
412tls_server.o: ../../include/mail_params.h
413tls_server.o: ../../include/msg.h
414tls_server.o: ../../include/myaddrinfo.h
415tls_server.o: ../../include/myflock.h
416tls_server.o: ../../include/mymalloc.h
417tls_server.o: ../../include/name_code.h
418tls_server.o: ../../include/name_mask.h
419tls_server.o: ../../include/sock_addr.h
420tls_server.o: ../../include/stringops.h
421tls_server.o: ../../include/sys_defs.h
422tls_server.o: ../../include/vbuf.h
423tls_server.o: ../../include/vstream.h
424tls_server.o: ../../include/vstring.h
425tls_server.o: tls.h
426tls_server.o: tls_mgr.h
427tls_server.o: tls_scache.h
428tls_server.o: tls_server.c
429tls_session.o: ../../include/argv.h
430tls_session.o: ../../include/check_arg.h
431tls_session.o: ../../include/dns.h
432tls_session.o: ../../include/msg.h
433tls_session.o: ../../include/myaddrinfo.h
434tls_session.o: ../../include/mymalloc.h
435tls_session.o: ../../include/name_code.h
436tls_session.o: ../../include/name_mask.h
437tls_session.o: ../../include/sock_addr.h
438tls_session.o: ../../include/sys_defs.h
439tls_session.o: ../../include/vbuf.h
440tls_session.o: ../../include/vstream.h
441tls_session.o: ../../include/vstring.h
442tls_session.o: tls.h
443tls_session.o: tls_session.c
444tls_stream.o: ../../include/argv.h
445tls_stream.o: ../../include/check_arg.h
446tls_stream.o: ../../include/dns.h
447tls_stream.o: ../../include/iostuff.h
448tls_stream.o: ../../include/msg.h
449tls_stream.o: ../../include/myaddrinfo.h
450tls_stream.o: ../../include/name_code.h
451tls_stream.o: ../../include/name_mask.h
452tls_stream.o: ../../include/sock_addr.h
453tls_stream.o: ../../include/sys_defs.h
454tls_stream.o: ../../include/vbuf.h
455tls_stream.o: ../../include/vstream.h
456tls_stream.o: ../../include/vstring.h
457tls_stream.o: tls.h
458tls_stream.o: tls_stream.c
459tls_verify.o: ../../include/argv.h
460tls_verify.o: ../../include/check_arg.h
461tls_verify.o: ../../include/dns.h
462tls_verify.o: ../../include/msg.h
463tls_verify.o: ../../include/myaddrinfo.h
464tls_verify.o: ../../include/mymalloc.h
465tls_verify.o: ../../include/name_code.h
466tls_verify.o: ../../include/name_mask.h
467tls_verify.o: ../../include/sock_addr.h
468tls_verify.o: ../../include/stringops.h
469tls_verify.o: ../../include/sys_defs.h
470tls_verify.o: ../../include/vbuf.h
471tls_verify.o: ../../include/vstream.h
472tls_verify.o: ../../include/vstring.h
473tls_verify.o: tls.h
474tls_verify.o: tls_verify.c
475