Makefile.in revision 1.1.1.4
1SHELL	= /bin/sh
2SRCS	= tlsmgr.c
3OBJS	= tlsmgr.o
4HDRS	= 
5TESTSRC	= smtpd_token_test.c
6DEFS	= -I. -I$(INC_DIR) -D$(SYSTYPE)
7CFLAGS	= $(DEBUG) $(OPT) $(DEFS)
8TESTPROG= 
9PROG	= tlsmgr
10INC_DIR	= ../../include
11# Fake libdns dependency, for early-binding shared-library builds.
12LIBS	= ../../lib/libmaster.a ../../lib/libtls.a ../../lib/libdns.a \
13	../../lib/libglobal.a ../../lib/libutil.a
14
15.c.o:;	$(CC) $(CFLAGS) -c $*.c
16
17$(PROG): $(OBJS) $(LIBS)
18	$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
19
20$(OBJS): ../../conf/makedefs.out
21
22Makefile: Makefile.in
23	cat ../../conf/makedefs.out $? >$@
24
25test:	$(TESTPROG)
26
27update: ../../libexec/$(PROG)
28
29../../libexec/$(PROG): $(PROG)
30	cp $(PROG) ../../libexec
31
32printfck: $(OBJS) $(PROG)
33	rm -rf printfck
34	mkdir printfck
35	cp *.h printfck
36	sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
37	set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
38	cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
39
40lint:
41	lint $(DEFS) $(SRCS) $(LINTFIX)
42
43clean:
44	rm -f *.o *core $(PROG) $(TESTPROG) junk *.db *.out *.tmp
45	rm -rf printfck
46
47tidy:	clean
48
49tests:
50
51root_tests:
52
53depend: $(MAKES)
54	(sed '1,/^# do not edit/!d' Makefile.in; \
55	set -e; for i in [a-z][a-z0-9]*.c; do \
56	    $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
57	    -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
58	    -e 's/o: \.\//o: /' -e p -e '}' ; \
59	done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
60	@$(EXPORT) make -f Makefile.in Makefile 1>&2
61
62# do not edit below this line - it is generated by 'make depend'
63tlsmgr.o: ../../include/argv.h
64tlsmgr.o: ../../include/attr.h
65tlsmgr.o: ../../include/data_redirect.h
66tlsmgr.o: ../../include/dict.h
67tlsmgr.o: ../../include/dns.h
68tlsmgr.o: ../../include/events.h
69tlsmgr.o: ../../include/htable.h
70tlsmgr.o: ../../include/iostuff.h
71tlsmgr.o: ../../include/mail_conf.h
72tlsmgr.o: ../../include/mail_params.h
73tlsmgr.o: ../../include/mail_proto.h
74tlsmgr.o: ../../include/mail_server.h
75tlsmgr.o: ../../include/mail_version.h
76tlsmgr.o: ../../include/master_proto.h
77tlsmgr.o: ../../include/msg.h
78tlsmgr.o: ../../include/myaddrinfo.h
79tlsmgr.o: ../../include/myflock.h
80tlsmgr.o: ../../include/mymalloc.h
81tlsmgr.o: ../../include/name_code.h
82tlsmgr.o: ../../include/name_mask.h
83tlsmgr.o: ../../include/set_eugid.h
84tlsmgr.o: ../../include/sock_addr.h
85tlsmgr.o: ../../include/stringops.h
86tlsmgr.o: ../../include/sys_defs.h
87tlsmgr.o: ../../include/tls.h
88tlsmgr.o: ../../include/tls_mgr.h
89tlsmgr.o: ../../include/tls_prng.h
90tlsmgr.o: ../../include/tls_scache.h
91tlsmgr.o: ../../include/vbuf.h
92tlsmgr.o: ../../include/vstream.h
93tlsmgr.o: ../../include/vstring.h
94tlsmgr.o: ../../include/vstring_vstream.h
95tlsmgr.o: ../../include/warn_stat.h
96tlsmgr.o: tlsmgr.c
97