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