SHELL = /bin/sh SRCS = posttls-finger.c tlsmgrmem.c OBJS = posttls-finger.o tlsmgrmem.o HDRS = tlsmgrmem.h TESTSRC = DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE) CFLAGS = $(DEBUG) $(OPT) $(DEFS) TESTPROG= INC_DIR = ../../include PROG = posttls-finger LIBS = ../../lib/lib$(LIB_PREFIX)tls$(LIB_SUFFIX) \ ../../lib/lib$(LIB_PREFIX)dns$(LIB_SUFFIX) \ ../../lib/lib$(LIB_PREFIX)global$(LIB_SUFFIX) \ ../../lib/lib$(LIB_PREFIX)util$(LIB_SUFFIX) .c.o:; $(CC) $(CFLAGS) -c $*.c all: $(PROG) $(OBJS): ../../conf/makedefs.out $(HDRS) Makefile: Makefile.in cat ../../conf/makedefs.out $? >$@ posttls-finger: $(OBJS) $(LIBS) $(CC) $(CFLAGS) $(SHLIB_RPATH) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) test: $(TESTPROG) tests: root_tests: update: ../../bin/posttls-finger ../../bin/posttls-finger: posttls-finger cp $? $@ printfck: $(OBJS) $(PROG) rm -rf printfck mkdir printfck sed '1,/^# do not edit/!d' Makefile >printfck/Makefile set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o` lint: lint $(DEFS) $(SRCS) $(LINTFIX) clean: rm -f *.o *core $(PROG) $(TESTPROG) junk rm -rf printfck tidy: clean depend: $(MAKES) (sed '1,/^# do not edit/!d' Makefile.in; \ set -e; for i in [a-z][a-z0-9]*.c; do \ $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \ -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \ -e 's/o: \.\//o: /' -e p -e '}' ; \ done | LANG=C sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in @$(EXPORT) make -f Makefile.in Makefile 1>&2 # do not edit below this line - it is generated by 'make depend' posttls-finger.o: ../../include/argv.h posttls-finger.o: ../../include/attr.h posttls-finger.o: ../../include/check_arg.h posttls-finger.o: ../../include/chroot_uid.h posttls-finger.o: ../../include/clean_env.h posttls-finger.o: ../../include/dns.h posttls-finger.o: ../../include/dsn.h posttls-finger.o: ../../include/dsn_buf.h posttls-finger.o: ../../include/host_port.h posttls-finger.o: ../../include/htable.h posttls-finger.o: ../../include/inet_proto.h posttls-finger.o: ../../include/iostuff.h posttls-finger.o: ../../include/known_tcp_ports.h posttls-finger.o: ../../include/mail_conf.h posttls-finger.o: ../../include/mail_params.h posttls-finger.o: ../../include/mail_parm_split.h posttls-finger.o: ../../include/mail_proto.h posttls-finger.o: ../../include/mail_server.h posttls-finger.o: ../../include/midna_domain.h posttls-finger.o: ../../include/msg.h posttls-finger.o: ../../include/msg_vstream.h posttls-finger.o: ../../include/myaddrinfo.h posttls-finger.o: ../../include/mymalloc.h posttls-finger.o: ../../include/name_code.h posttls-finger.o: ../../include/name_mask.h posttls-finger.o: ../../include/nvtable.h posttls-finger.o: ../../include/sane_connect.h posttls-finger.o: ../../include/smtp_stream.h posttls-finger.o: ../../include/sock_addr.h posttls-finger.o: ../../include/stringops.h posttls-finger.o: ../../include/sys_defs.h posttls-finger.o: ../../include/timed_connect.h posttls-finger.o: ../../include/tls.h posttls-finger.o: ../../include/tls_proxy.h posttls-finger.o: ../../include/vbuf.h posttls-finger.o: ../../include/vstream.h posttls-finger.o: ../../include/vstring.h posttls-finger.o: ../../include/vstring_vstream.h posttls-finger.o: posttls-finger.c posttls-finger.o: tlsmgrmem.h tlsmgrmem.o: ../../include/argv.h tlsmgrmem.o: ../../include/check_arg.h tlsmgrmem.o: ../../include/dict.h tlsmgrmem.o: ../../include/htable.h tlsmgrmem.o: ../../include/myflock.h tlsmgrmem.o: ../../include/sys_defs.h tlsmgrmem.o: ../../include/tls_mgr.h tlsmgrmem.o: ../../include/tls_scache.h tlsmgrmem.o: ../../include/vbuf.h tlsmgrmem.o: ../../include/vstream.h tlsmgrmem.o: ../../include/vstring.h tlsmgrmem.o: tlsmgrmem.c tlsmgrmem.o: tlsmgrmem.h