Makefile.in revision 1.1.1.2
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/libtls.a ../../lib/libmaster.a ../../lib/libglobal.a \ 12 ../../lib/libutil.a 13 14.c.o:; $(CC) $(CFLAGS) -c $*.c 15 16$(PROG): $(OBJS) $(LIBS) 17 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) 18 19$(OBJS): ../../conf/makedefs.out 20 21Makefile: Makefile.in 22 cat ../../conf/makedefs.out $? >$@ 23 24test: $(TESTPROG) 25 26tests: test 27 28root_tests: 29 30update: ../../libexec/$(PROG) 31 32../../libexec/$(PROG): $(PROG) 33 cp $(PROG) ../../libexec 34 35printfck: $(OBJS) $(PROG) 36 rm -rf printfck 37 mkdir 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 47 rm -rf printfck 48 49tidy: clean 50 51depend: $(MAKES) 52 (sed '1,/^# do not edit/!d' Makefile.in; \ 53 set -e; for i in [a-z][a-z0-9]*.c; do \ 54 $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \ 55 -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \ 56 -e 's/o: \.\//o: /' -e p -e '}' ; \ 57 done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in 58 @$(EXPORT) make -f Makefile.in Makefile 1>&2 59 60# do not edit below this line - it is generated by 'make depend' 61tlsproxy.o: ../../include/argv.h 62tlsproxy.o: ../../include/attr.h 63tlsproxy.o: ../../include/dns.h 64tlsproxy.o: ../../include/events.h 65tlsproxy.o: ../../include/iostuff.h 66tlsproxy.o: ../../include/mail_conf.h 67tlsproxy.o: ../../include/mail_params.h 68tlsproxy.o: ../../include/mail_proto.h 69tlsproxy.o: ../../include/mail_server.h 70tlsproxy.o: ../../include/mail_version.h 71tlsproxy.o: ../../include/msg.h 72tlsproxy.o: ../../include/myaddrinfo.h 73tlsproxy.o: ../../include/mymalloc.h 74tlsproxy.o: ../../include/name_code.h 75tlsproxy.o: ../../include/name_mask.h 76tlsproxy.o: ../../include/nbbio.h 77tlsproxy.o: ../../include/sock_addr.h 78tlsproxy.o: ../../include/sys_defs.h 79tlsproxy.o: ../../include/tls.h 80tlsproxy.o: ../../include/tls_proxy.h 81tlsproxy.o: ../../include/vbuf.h 82tlsproxy.o: ../../include/vstream.h 83tlsproxy.o: ../../include/vstring.h 84tlsproxy.o: tlsproxy.c 85tlsproxy.o: tlsproxy.h 86tlsproxy_state.o: ../../include/argv.h 87tlsproxy_state.o: ../../include/dns.h 88tlsproxy_state.o: ../../include/events.h 89tlsproxy_state.o: ../../include/mail_server.h 90tlsproxy_state.o: ../../include/msg.h 91tlsproxy_state.o: ../../include/myaddrinfo.h 92tlsproxy_state.o: ../../include/mymalloc.h 93tlsproxy_state.o: ../../include/name_code.h 94tlsproxy_state.o: ../../include/name_mask.h 95tlsproxy_state.o: ../../include/nbbio.h 96tlsproxy_state.o: ../../include/sock_addr.h 97tlsproxy_state.o: ../../include/sys_defs.h 98tlsproxy_state.o: ../../include/tls.h 99tlsproxy_state.o: ../../include/vbuf.h 100tlsproxy_state.o: ../../include/vstream.h 101tlsproxy_state.o: ../../include/vstring.h 102tlsproxy_state.o: tlsproxy.h 103tlsproxy_state.o: tlsproxy_state.c 104