Makefile.in revision 1.1.1.3
1SHELL = /bin/sh 2SRCS = tlsproxy.c tlsproxy_state.c 3OBJS = tlsproxy.o tlsproxy_state.o 4HDRS = 5TESTSRC = 6DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE) 7CFLAGS = $(DEBUG) $(OPT) $(DEFS) 8TESTPROG= 9PROG = tlsproxy 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 29tests: test 30 31root_tests: 32 33update: ../../libexec/$(PROG) 34 35../../libexec/$(PROG): $(PROG) 36 cp $(PROG) ../../libexec 37 38printfck: $(OBJS) $(PROG) 39 rm -rf printfck 40 mkdir printfck 41 sed '1,/^# do not edit/!d' Makefile >printfck/Makefile 42 set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done 43 cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o` 44 45lint: 46 lint $(DEFS) $(SRCS) $(LINTFIX) 47 48clean: 49 rm -f *.o *core $(PROG) $(TESTPROG) junk 50 rm -rf printfck 51 52tidy: clean 53 54depend: $(MAKES) 55 (sed '1,/^# do not edit/!d' Makefile.in; \ 56 set -e; for i in [a-z][a-z0-9]*.c; do \ 57 $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \ 58 -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \ 59 -e 's/o: \.\//o: /' -e p -e '}' ; \ 60 done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in 61 @$(EXPORT) make -f Makefile.in Makefile 1>&2 62 63# do not edit below this line - it is generated by 'make depend' 64tlsproxy.o: ../../include/argv.h 65tlsproxy.o: ../../include/attr.h 66tlsproxy.o: ../../include/check_arg.h 67tlsproxy.o: ../../include/dns.h 68tlsproxy.o: ../../include/events.h 69tlsproxy.o: ../../include/htable.h 70tlsproxy.o: ../../include/iostuff.h 71tlsproxy.o: ../../include/mail_conf.h 72tlsproxy.o: ../../include/mail_params.h 73tlsproxy.o: ../../include/mail_proto.h 74tlsproxy.o: ../../include/mail_server.h 75tlsproxy.o: ../../include/mail_version.h 76tlsproxy.o: ../../include/msg.h 77tlsproxy.o: ../../include/myaddrinfo.h 78tlsproxy.o: ../../include/mymalloc.h 79tlsproxy.o: ../../include/name_code.h 80tlsproxy.o: ../../include/name_mask.h 81tlsproxy.o: ../../include/nbbio.h 82tlsproxy.o: ../../include/nvtable.h 83tlsproxy.o: ../../include/sock_addr.h 84tlsproxy.o: ../../include/sys_defs.h 85tlsproxy.o: ../../include/tls.h 86tlsproxy.o: ../../include/tls_proxy.h 87tlsproxy.o: ../../include/vbuf.h 88tlsproxy.o: ../../include/vstream.h 89tlsproxy.o: ../../include/vstring.h 90tlsproxy.o: tlsproxy.c 91tlsproxy.o: tlsproxy.h 92tlsproxy_state.o: ../../include/argv.h 93tlsproxy_state.o: ../../include/check_arg.h 94tlsproxy_state.o: ../../include/dns.h 95tlsproxy_state.o: ../../include/events.h 96tlsproxy_state.o: ../../include/mail_conf.h 97tlsproxy_state.o: ../../include/mail_server.h 98tlsproxy_state.o: ../../include/msg.h 99tlsproxy_state.o: ../../include/myaddrinfo.h 100tlsproxy_state.o: ../../include/mymalloc.h 101tlsproxy_state.o: ../../include/name_code.h 102tlsproxy_state.o: ../../include/name_mask.h 103tlsproxy_state.o: ../../include/nbbio.h 104tlsproxy_state.o: ../../include/sock_addr.h 105tlsproxy_state.o: ../../include/sys_defs.h 106tlsproxy_state.o: ../../include/tls.h 107tlsproxy_state.o: ../../include/vbuf.h 108tlsproxy_state.o: ../../include/vstream.h 109tlsproxy_state.o: ../../include/vstring.h 110tlsproxy_state.o: tlsproxy.h 111tlsproxy_state.o: tlsproxy_state.c 112