Makefile.in revision 1.1.1.4
1SHELL = /bin/sh 2SRCS = tls_prng_dev.c tls_prng_egd.c tls_prng_file.c \ 3 tls_prng_exch.c tls_stream.c tls_bio_ops.c tls_misc.c tls_dh.c \ 4 tls_rsa.c tls_verify.c tls_certkey.c tls_session.c \ 5 tls_client.c tls_server.c tls_scache.c tls_mgr.c tls_seed.c \ 6 tls_level.c \ 7 tls_proxy_clnt.c tls_proxy_print.c tls_proxy_scan.c 8OBJS = tls_prng_dev.o tls_prng_egd.o tls_prng_file.o \ 9 tls_prng_exch.o tls_stream.o tls_bio_ops.o tls_misc.o tls_dh.o \ 10 tls_rsa.o tls_verify.o tls_certkey.o tls_session.o \ 11 tls_client.o tls_server.o tls_scache.o tls_mgr.o tls_seed.o \ 12 tls_level.o \ 13 tls_proxy_clnt.o tls_proxy_print.o tls_proxy_scan.o 14HDRS = tls.h tls_prng.h tls_scache.h tls_mgr.h tls_proxy.h 15TESTSRC = 16DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE) 17CFLAGS = $(DEBUG) $(OPT) $(DEFS) 18INCL = 19LIB = libtls.a 20TESTPROG= tls_dh tls_mgr 21 22LIBS = ../../lib/libglobal.a ../../lib/libutil.a 23LIB_DIR = ../../lib 24INC_DIR = ../../include 25MAKES = 26 27.c.o:; $(CC) $(CFLAGS) -c $*.c 28 29all: $(LIB) 30 31$(OBJS): ../../conf/makedefs.out 32 33Makefile: Makefile.in 34 cat ../../conf/makedefs.out $? >$@ 35 36test: $(TESTPROG) 37 38tests: 39 40root_tests: 41 42$(LIB): $(OBJS) 43 $(AR) $(ARFL) $(LIB) $? 44 $(RANLIB) $(LIB) 45 46$(LIB_DIR)/$(LIB): $(LIB) 47 cp $(LIB) $(LIB_DIR) 48 $(RANLIB) $(LIB_DIR)/$(LIB) 49 50update: $(LIB_DIR)/$(LIB) $(HDRS) 51 -for i in $(HDRS); \ 52 do \ 53 cmp -s $$i $(INC_DIR)/$$i 2>/dev/null || cp $$i $(INC_DIR); \ 54 done 55 cd $(INC_DIR); chmod 644 $(HDRS) 56 57printfck: $(OBJS) $(PROG) 58 rm -rf printfck 59 mkdir printfck 60 cp *.h printfck 61 sed '1,/^# do not edit/!d' Makefile >printfck/Makefile 62 set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done 63 cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o` 64 65lint: 66 lint $(DEFS) $(SRCS) $(LINTFIX) 67 68clean: 69 rm -f *.o $(LIB) *core $(TESTPROG) junk 70 rm -rf printfck 71 72tidy: clean 73 74tls_dh: $(LIB) $(LIBS) 75 mv $@.o junk 76 $(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(LIBS) $(SYSLIBS) 77 mv junk $@.o 78 79tls_mgr: $(LIB) $(LIBS) 80 mv $@.o junk 81 $(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(LIBS) $(SYSLIBS) 82 mv junk $@.o 83 84depend: $(MAKES) 85 (sed '1,/^# do not edit/!d' Makefile.in; \ 86 set -e; for i in [a-z][a-z0-9]*.c; do \ 87 $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \ 88 -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \ 89 -e 's/o: \.\//o: /' -e p -e '}' ; \ 90 done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in 91 @$(EXPORT) make -f Makefile.in Makefile 1>&2 92 93# do not edit below this line - it is generated by 'make depend' 94tls_bio_ops.o: ../../include/argv.h 95tls_bio_ops.o: ../../include/iostuff.h 96tls_bio_ops.o: ../../include/msg.h 97tls_bio_ops.o: ../../include/name_code.h 98tls_bio_ops.o: ../../include/name_mask.h 99tls_bio_ops.o: ../../include/sys_defs.h 100tls_bio_ops.o: ../../include/vbuf.h 101tls_bio_ops.o: ../../include/vstream.h 102tls_bio_ops.o: ../../include/vstring.h 103tls_bio_ops.o: tls.h 104tls_bio_ops.o: tls_bio_ops.c 105tls_certkey.o: ../../include/argv.h 106tls_certkey.o: ../../include/mail_params.h 107tls_certkey.o: ../../include/msg.h 108tls_certkey.o: ../../include/name_code.h 109tls_certkey.o: ../../include/name_mask.h 110tls_certkey.o: ../../include/sys_defs.h 111tls_certkey.o: ../../include/vbuf.h 112tls_certkey.o: ../../include/vstream.h 113tls_certkey.o: ../../include/vstring.h 114tls_certkey.o: tls.h 115tls_certkey.o: tls_certkey.c 116tls_client.o: ../../include/argv.h 117tls_client.o: ../../include/iostuff.h 118tls_client.o: ../../include/mail_params.h 119tls_client.o: ../../include/msg.h 120tls_client.o: ../../include/mymalloc.h 121tls_client.o: ../../include/name_code.h 122tls_client.o: ../../include/name_mask.h 123tls_client.o: ../../include/stringops.h 124tls_client.o: ../../include/sys_defs.h 125tls_client.o: ../../include/vbuf.h 126tls_client.o: ../../include/vstream.h 127tls_client.o: ../../include/vstring.h 128tls_client.o: tls.h 129tls_client.o: tls_client.c 130tls_client.o: tls_mgr.h 131tls_dh.o: ../../include/argv.h 132tls_dh.o: ../../include/mail_params.h 133tls_dh.o: ../../include/msg.h 134tls_dh.o: ../../include/name_code.h 135tls_dh.o: ../../include/name_mask.h 136tls_dh.o: ../../include/sys_defs.h 137tls_dh.o: ../../include/vbuf.h 138tls_dh.o: ../../include/vstream.h 139tls_dh.o: ../../include/vstring.h 140tls_dh.o: tls.h 141tls_dh.o: tls_dh.c 142tls_level.o: ../../include/argv.h 143tls_level.o: ../../include/name_code.h 144tls_level.o: ../../include/name_mask.h 145tls_level.o: ../../include/sys_defs.h 146tls_level.o: ../../include/vbuf.h 147tls_level.o: ../../include/vstream.h 148tls_level.o: ../../include/vstring.h 149tls_level.o: tls.h 150tls_level.o: tls_level.c 151tls_mgr.o: ../../include/attr.h 152tls_mgr.o: ../../include/attr_clnt.h 153tls_mgr.o: ../../include/iostuff.h 154tls_mgr.o: ../../include/mail_params.h 155tls_mgr.o: ../../include/mail_proto.h 156tls_mgr.o: ../../include/msg.h 157tls_mgr.o: ../../include/sys_defs.h 158tls_mgr.o: ../../include/vbuf.h 159tls_mgr.o: ../../include/vstream.h 160tls_mgr.o: ../../include/vstring.h 161tls_mgr.o: tls_mgr.c 162tls_mgr.o: tls_mgr.h 163tls_misc.o: ../../include/argv.h 164tls_misc.o: ../../include/mail_conf.h 165tls_misc.o: ../../include/mail_params.h 166tls_misc.o: ../../include/msg.h 167tls_misc.o: ../../include/mymalloc.h 168tls_misc.o: ../../include/name_code.h 169tls_misc.o: ../../include/name_mask.h 170tls_misc.o: ../../include/stringops.h 171tls_misc.o: ../../include/sys_defs.h 172tls_misc.o: ../../include/vbuf.h 173tls_misc.o: ../../include/vstream.h 174tls_misc.o: ../../include/vstring.h 175tls_misc.o: tls.h 176tls_misc.o: tls_misc.c 177tls_prng_dev.o: ../../include/connect.h 178tls_prng_dev.o: ../../include/iostuff.h 179tls_prng_dev.o: ../../include/msg.h 180tls_prng_dev.o: ../../include/mymalloc.h 181tls_prng_dev.o: ../../include/sys_defs.h 182tls_prng_dev.o: tls_prng.h 183tls_prng_dev.o: tls_prng_dev.c 184tls_prng_egd.o: ../../include/connect.h 185tls_prng_egd.o: ../../include/iostuff.h 186tls_prng_egd.o: ../../include/msg.h 187tls_prng_egd.o: ../../include/mymalloc.h 188tls_prng_egd.o: ../../include/sys_defs.h 189tls_prng_egd.o: tls_prng.h 190tls_prng_egd.o: tls_prng_egd.c 191tls_prng_exch.o: ../../include/iostuff.h 192tls_prng_exch.o: ../../include/msg.h 193tls_prng_exch.o: ../../include/myflock.h 194tls_prng_exch.o: ../../include/mymalloc.h 195tls_prng_exch.o: ../../include/sys_defs.h 196tls_prng_exch.o: tls_prng.h 197tls_prng_exch.o: tls_prng_exch.c 198tls_prng_file.o: ../../include/connect.h 199tls_prng_file.o: ../../include/iostuff.h 200tls_prng_file.o: ../../include/msg.h 201tls_prng_file.o: ../../include/mymalloc.h 202tls_prng_file.o: ../../include/sys_defs.h 203tls_prng_file.o: tls_prng.h 204tls_prng_file.o: tls_prng_file.c 205tls_proxy_clnt.o: ../../include/argv.h 206tls_proxy_clnt.o: ../../include/attr.h 207tls_proxy_clnt.o: ../../include/connect.h 208tls_proxy_clnt.o: ../../include/iostuff.h 209tls_proxy_clnt.o: ../../include/mail_params.h 210tls_proxy_clnt.o: ../../include/mail_proto.h 211tls_proxy_clnt.o: ../../include/msg.h 212tls_proxy_clnt.o: ../../include/mymalloc.h 213tls_proxy_clnt.o: ../../include/name_code.h 214tls_proxy_clnt.o: ../../include/name_mask.h 215tls_proxy_clnt.o: ../../include/stringops.h 216tls_proxy_clnt.o: ../../include/sys_defs.h 217tls_proxy_clnt.o: ../../include/vbuf.h 218tls_proxy_clnt.o: ../../include/vstream.h 219tls_proxy_clnt.o: ../../include/vstring.h 220tls_proxy_clnt.o: tls.h 221tls_proxy_clnt.o: tls_proxy.h 222tls_proxy_clnt.o: tls_proxy_clnt.c 223tls_proxy_print.o: ../../include/argv.h 224tls_proxy_print.o: ../../include/attr.h 225tls_proxy_print.o: ../../include/iostuff.h 226tls_proxy_print.o: ../../include/mail_proto.h 227tls_proxy_print.o: ../../include/name_code.h 228tls_proxy_print.o: ../../include/name_mask.h 229tls_proxy_print.o: ../../include/sys_defs.h 230tls_proxy_print.o: ../../include/vbuf.h 231tls_proxy_print.o: ../../include/vstream.h 232tls_proxy_print.o: ../../include/vstring.h 233tls_proxy_print.o: tls.h 234tls_proxy_print.o: tls_proxy.h 235tls_proxy_print.o: tls_proxy_print.c 236tls_proxy_scan.o: ../../include/argv.h 237tls_proxy_scan.o: ../../include/attr.h 238tls_proxy_scan.o: ../../include/iostuff.h 239tls_proxy_scan.o: ../../include/mail_proto.h 240tls_proxy_scan.o: ../../include/name_code.h 241tls_proxy_scan.o: ../../include/name_mask.h 242tls_proxy_scan.o: ../../include/sys_defs.h 243tls_proxy_scan.o: ../../include/vbuf.h 244tls_proxy_scan.o: ../../include/vstream.h 245tls_proxy_scan.o: ../../include/vstring.h 246tls_proxy_scan.o: tls.h 247tls_proxy_scan.o: tls_proxy.h 248tls_proxy_scan.o: tls_proxy_scan.c 249tls_rsa.o: ../../include/argv.h 250tls_rsa.o: ../../include/name_code.h 251tls_rsa.o: ../../include/name_mask.h 252tls_rsa.o: ../../include/sys_defs.h 253tls_rsa.o: ../../include/vbuf.h 254tls_rsa.o: ../../include/vstream.h 255tls_rsa.o: ../../include/vstring.h 256tls_rsa.o: tls.h 257tls_rsa.o: tls_rsa.c 258tls_scache.o: ../../include/argv.h 259tls_scache.o: ../../include/dict.h 260tls_scache.o: ../../include/hex_code.h 261tls_scache.o: ../../include/msg.h 262tls_scache.o: ../../include/myflock.h 263tls_scache.o: ../../include/mymalloc.h 264tls_scache.o: ../../include/stringops.h 265tls_scache.o: ../../include/sys_defs.h 266tls_scache.o: ../../include/vbuf.h 267tls_scache.o: ../../include/vstream.h 268tls_scache.o: ../../include/vstring.h 269tls_scache.o: tls_scache.c 270tls_scache.o: tls_scache.h 271tls_seed.o: ../../include/argv.h 272tls_seed.o: ../../include/msg.h 273tls_seed.o: ../../include/name_code.h 274tls_seed.o: ../../include/name_mask.h 275tls_seed.o: ../../include/sys_defs.h 276tls_seed.o: ../../include/vbuf.h 277tls_seed.o: ../../include/vstream.h 278tls_seed.o: ../../include/vstring.h 279tls_seed.o: tls.h 280tls_seed.o: tls_mgr.h 281tls_seed.o: tls_seed.c 282tls_server.o: ../../include/argv.h 283tls_server.o: ../../include/dict.h 284tls_server.o: ../../include/hex_code.h 285tls_server.o: ../../include/iostuff.h 286tls_server.o: ../../include/mail_params.h 287tls_server.o: ../../include/msg.h 288tls_server.o: ../../include/mymalloc.h 289tls_server.o: ../../include/name_code.h 290tls_server.o: ../../include/name_mask.h 291tls_server.o: ../../include/stringops.h 292tls_server.o: ../../include/sys_defs.h 293tls_server.o: ../../include/vbuf.h 294tls_server.o: ../../include/vstream.h 295tls_server.o: ../../include/vstring.h 296tls_server.o: tls.h 297tls_server.o: tls_mgr.h 298tls_server.o: tls_server.c 299tls_session.o: ../../include/argv.h 300tls_session.o: ../../include/msg.h 301tls_session.o: ../../include/mymalloc.h 302tls_session.o: ../../include/name_code.h 303tls_session.o: ../../include/name_mask.h 304tls_session.o: ../../include/sys_defs.h 305tls_session.o: ../../include/vbuf.h 306tls_session.o: ../../include/vstream.h 307tls_session.o: ../../include/vstring.h 308tls_session.o: tls.h 309tls_session.o: tls_session.c 310tls_stream.o: ../../include/argv.h 311tls_stream.o: ../../include/iostuff.h 312tls_stream.o: ../../include/msg.h 313tls_stream.o: ../../include/name_code.h 314tls_stream.o: ../../include/name_mask.h 315tls_stream.o: ../../include/sys_defs.h 316tls_stream.o: ../../include/vbuf.h 317tls_stream.o: ../../include/vstream.h 318tls_stream.o: ../../include/vstring.h 319tls_stream.o: tls.h 320tls_stream.o: tls_stream.c 321tls_verify.o: ../../include/argv.h 322tls_verify.o: ../../include/mail_params.h 323tls_verify.o: ../../include/msg.h 324tls_verify.o: ../../include/mymalloc.h 325tls_verify.o: ../../include/name_code.h 326tls_verify.o: ../../include/name_mask.h 327tls_verify.o: ../../include/stringops.h 328tls_verify.o: ../../include/sys_defs.h 329tls_verify.o: ../../include/vbuf.h 330tls_verify.o: ../../include/vstream.h 331tls_verify.o: ../../include/vstring.h 332tls_verify.o: tls.h 333tls_verify.o: tls_verify.c 334