Makefile.in revision 1.1.1.6
1SHELL = /bin/sh 2SRCS = tls_prng_dev.c tls_prng_egd.c tls_prng_file.c tls_fprint.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_dane.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 tls_fprint.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_dane.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 tls_rsa tls_dane 21 22LIBS = ../../lib/libdns.a ../../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 84tls_rsa: $(LIB) $(LIBS) 85 mv $@.o junk 86 $(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(LIBS) $(SYSLIBS) 87 mv junk $@.o 88 89tls_dane: $(LIB) $(LIBS) 90 mv $@.o junk 91 $(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIB) $(LIBS) $(SYSLIBS) 92 mv junk $@.o 93 94depend: $(MAKES) 95 (sed '1,/^# do not edit/!d' Makefile.in; \ 96 set -e; for i in [a-z][a-z0-9]*.c; do \ 97 $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \ 98 -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \ 99 -e 's/o: \.\//o: /' -e p -e '}' ; \ 100 done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in 101 @$(EXPORT) make -f Makefile.in Makefile 1>&2 102 103# do not edit below this line - it is generated by 'make depend' 104tls_bio_ops.o: ../../include/argv.h 105tls_bio_ops.o: ../../include/dns.h 106tls_bio_ops.o: ../../include/iostuff.h 107tls_bio_ops.o: ../../include/msg.h 108tls_bio_ops.o: ../../include/myaddrinfo.h 109tls_bio_ops.o: ../../include/name_code.h 110tls_bio_ops.o: ../../include/name_mask.h 111tls_bio_ops.o: ../../include/sock_addr.h 112tls_bio_ops.o: ../../include/sys_defs.h 113tls_bio_ops.o: ../../include/vbuf.h 114tls_bio_ops.o: ../../include/vstream.h 115tls_bio_ops.o: ../../include/vstring.h 116tls_bio_ops.o: tls.h 117tls_bio_ops.o: tls_bio_ops.c 118tls_certkey.o: ../../include/argv.h 119tls_certkey.o: ../../include/dns.h 120tls_certkey.o: ../../include/mail_params.h 121tls_certkey.o: ../../include/msg.h 122tls_certkey.o: ../../include/myaddrinfo.h 123tls_certkey.o: ../../include/name_code.h 124tls_certkey.o: ../../include/name_mask.h 125tls_certkey.o: ../../include/sock_addr.h 126tls_certkey.o: ../../include/sys_defs.h 127tls_certkey.o: ../../include/vbuf.h 128tls_certkey.o: ../../include/vstream.h 129tls_certkey.o: ../../include/vstring.h 130tls_certkey.o: tls.h 131tls_certkey.o: tls_certkey.c 132tls_client.o: ../../include/argv.h 133tls_client.o: ../../include/dict.h 134tls_client.o: ../../include/dns.h 135tls_client.o: ../../include/iostuff.h 136tls_client.o: ../../include/mail_params.h 137tls_client.o: ../../include/msg.h 138tls_client.o: ../../include/myaddrinfo.h 139tls_client.o: ../../include/myflock.h 140tls_client.o: ../../include/mymalloc.h 141tls_client.o: ../../include/name_code.h 142tls_client.o: ../../include/name_mask.h 143tls_client.o: ../../include/sock_addr.h 144tls_client.o: ../../include/stringops.h 145tls_client.o: ../../include/sys_defs.h 146tls_client.o: ../../include/vbuf.h 147tls_client.o: ../../include/vstream.h 148tls_client.o: ../../include/vstring.h 149tls_client.o: tls.h 150tls_client.o: tls_client.c 151tls_client.o: tls_mgr.h 152tls_client.o: tls_scache.h 153tls_dane.o: ../../include/argv.h 154tls_dane.o: ../../include/ctable.h 155tls_dane.o: ../../include/dns.h 156tls_dane.o: ../../include/events.h 157tls_dane.o: ../../include/hex_code.h 158tls_dane.o: ../../include/mail_params.h 159tls_dane.o: ../../include/msg.h 160tls_dane.o: ../../include/myaddrinfo.h 161tls_dane.o: ../../include/mymalloc.h 162tls_dane.o: ../../include/name_code.h 163tls_dane.o: ../../include/name_mask.h 164tls_dane.o: ../../include/safe_ultostr.h 165tls_dane.o: ../../include/sock_addr.h 166tls_dane.o: ../../include/split_at.h 167tls_dane.o: ../../include/stringops.h 168tls_dane.o: ../../include/sys_defs.h 169tls_dane.o: ../../include/timecmp.h 170tls_dane.o: ../../include/vbuf.h 171tls_dane.o: ../../include/vstream.h 172tls_dane.o: ../../include/vstring.h 173tls_dane.o: tls.h 174tls_dane.o: tls_dane.c 175tls_dh.o: ../../include/argv.h 176tls_dh.o: ../../include/dns.h 177tls_dh.o: ../../include/mail_params.h 178tls_dh.o: ../../include/msg.h 179tls_dh.o: ../../include/myaddrinfo.h 180tls_dh.o: ../../include/name_code.h 181tls_dh.o: ../../include/name_mask.h 182tls_dh.o: ../../include/sock_addr.h 183tls_dh.o: ../../include/sys_defs.h 184tls_dh.o: ../../include/vbuf.h 185tls_dh.o: ../../include/vstream.h 186tls_dh.o: ../../include/vstring.h 187tls_dh.o: tls.h 188tls_dh.o: tls_dh.c 189tls_fprint.o: ../../include/argv.h 190tls_fprint.o: ../../include/dns.h 191tls_fprint.o: ../../include/mail_params.h 192tls_fprint.o: ../../include/msg.h 193tls_fprint.o: ../../include/myaddrinfo.h 194tls_fprint.o: ../../include/mymalloc.h 195tls_fprint.o: ../../include/name_code.h 196tls_fprint.o: ../../include/name_mask.h 197tls_fprint.o: ../../include/sock_addr.h 198tls_fprint.o: ../../include/stringops.h 199tls_fprint.o: ../../include/sys_defs.h 200tls_fprint.o: ../../include/vbuf.h 201tls_fprint.o: ../../include/vstream.h 202tls_fprint.o: ../../include/vstring.h 203tls_fprint.o: tls.h 204tls_fprint.o: tls_fprint.c 205tls_level.o: ../../include/argv.h 206tls_level.o: ../../include/dns.h 207tls_level.o: ../../include/myaddrinfo.h 208tls_level.o: ../../include/name_code.h 209tls_level.o: ../../include/name_mask.h 210tls_level.o: ../../include/sock_addr.h 211tls_level.o: ../../include/sys_defs.h 212tls_level.o: ../../include/vbuf.h 213tls_level.o: ../../include/vstream.h 214tls_level.o: ../../include/vstring.h 215tls_level.o: tls.h 216tls_level.o: tls_level.c 217tls_mgr.o: ../../include/argv.h 218tls_mgr.o: ../../include/attr.h 219tls_mgr.o: ../../include/attr_clnt.h 220tls_mgr.o: ../../include/dict.h 221tls_mgr.o: ../../include/iostuff.h 222tls_mgr.o: ../../include/mail_params.h 223tls_mgr.o: ../../include/mail_proto.h 224tls_mgr.o: ../../include/msg.h 225tls_mgr.o: ../../include/myflock.h 226tls_mgr.o: ../../include/mymalloc.h 227tls_mgr.o: ../../include/stringops.h 228tls_mgr.o: ../../include/sys_defs.h 229tls_mgr.o: ../../include/vbuf.h 230tls_mgr.o: ../../include/vstream.h 231tls_mgr.o: ../../include/vstring.h 232tls_mgr.o: tls_mgr.c 233tls_mgr.o: tls_mgr.h 234tls_mgr.o: tls_scache.h 235tls_misc.o: ../../include/argv.h 236tls_misc.o: ../../include/dns.h 237tls_misc.o: ../../include/mail_conf.h 238tls_misc.o: ../../include/mail_params.h 239tls_misc.o: ../../include/msg.h 240tls_misc.o: ../../include/myaddrinfo.h 241tls_misc.o: ../../include/mymalloc.h 242tls_misc.o: ../../include/name_code.h 243tls_misc.o: ../../include/name_mask.h 244tls_misc.o: ../../include/sock_addr.h 245tls_misc.o: ../../include/stringops.h 246tls_misc.o: ../../include/sys_defs.h 247tls_misc.o: ../../include/vbuf.h 248tls_misc.o: ../../include/vstream.h 249tls_misc.o: ../../include/vstring.h 250tls_misc.o: tls.h 251tls_misc.o: tls_misc.c 252tls_prng_dev.o: ../../include/connect.h 253tls_prng_dev.o: ../../include/iostuff.h 254tls_prng_dev.o: ../../include/msg.h 255tls_prng_dev.o: ../../include/mymalloc.h 256tls_prng_dev.o: ../../include/sys_defs.h 257tls_prng_dev.o: tls_prng.h 258tls_prng_dev.o: tls_prng_dev.c 259tls_prng_egd.o: ../../include/connect.h 260tls_prng_egd.o: ../../include/iostuff.h 261tls_prng_egd.o: ../../include/msg.h 262tls_prng_egd.o: ../../include/mymalloc.h 263tls_prng_egd.o: ../../include/sys_defs.h 264tls_prng_egd.o: tls_prng.h 265tls_prng_egd.o: tls_prng_egd.c 266tls_prng_exch.o: ../../include/iostuff.h 267tls_prng_exch.o: ../../include/msg.h 268tls_prng_exch.o: ../../include/myflock.h 269tls_prng_exch.o: ../../include/mymalloc.h 270tls_prng_exch.o: ../../include/sys_defs.h 271tls_prng_exch.o: tls_prng.h 272tls_prng_exch.o: tls_prng_exch.c 273tls_prng_file.o: ../../include/connect.h 274tls_prng_file.o: ../../include/iostuff.h 275tls_prng_file.o: ../../include/msg.h 276tls_prng_file.o: ../../include/mymalloc.h 277tls_prng_file.o: ../../include/sys_defs.h 278tls_prng_file.o: tls_prng.h 279tls_prng_file.o: tls_prng_file.c 280tls_proxy_clnt.o: ../../include/argv.h 281tls_proxy_clnt.o: ../../include/attr.h 282tls_proxy_clnt.o: ../../include/connect.h 283tls_proxy_clnt.o: ../../include/dns.h 284tls_proxy_clnt.o: ../../include/iostuff.h 285tls_proxy_clnt.o: ../../include/mail_params.h 286tls_proxy_clnt.o: ../../include/mail_proto.h 287tls_proxy_clnt.o: ../../include/msg.h 288tls_proxy_clnt.o: ../../include/myaddrinfo.h 289tls_proxy_clnt.o: ../../include/mymalloc.h 290tls_proxy_clnt.o: ../../include/name_code.h 291tls_proxy_clnt.o: ../../include/name_mask.h 292tls_proxy_clnt.o: ../../include/sock_addr.h 293tls_proxy_clnt.o: ../../include/stringops.h 294tls_proxy_clnt.o: ../../include/sys_defs.h 295tls_proxy_clnt.o: ../../include/vbuf.h 296tls_proxy_clnt.o: ../../include/vstream.h 297tls_proxy_clnt.o: ../../include/vstring.h 298tls_proxy_clnt.o: tls.h 299tls_proxy_clnt.o: tls_proxy.h 300tls_proxy_clnt.o: tls_proxy_clnt.c 301tls_proxy_print.o: ../../include/argv.h 302tls_proxy_print.o: ../../include/attr.h 303tls_proxy_print.o: ../../include/dns.h 304tls_proxy_print.o: ../../include/iostuff.h 305tls_proxy_print.o: ../../include/mail_proto.h 306tls_proxy_print.o: ../../include/myaddrinfo.h 307tls_proxy_print.o: ../../include/name_code.h 308tls_proxy_print.o: ../../include/name_mask.h 309tls_proxy_print.o: ../../include/sock_addr.h 310tls_proxy_print.o: ../../include/sys_defs.h 311tls_proxy_print.o: ../../include/vbuf.h 312tls_proxy_print.o: ../../include/vstream.h 313tls_proxy_print.o: ../../include/vstring.h 314tls_proxy_print.o: tls.h 315tls_proxy_print.o: tls_proxy.h 316tls_proxy_print.o: tls_proxy_print.c 317tls_proxy_scan.o: ../../include/argv.h 318tls_proxy_scan.o: ../../include/attr.h 319tls_proxy_scan.o: ../../include/dns.h 320tls_proxy_scan.o: ../../include/iostuff.h 321tls_proxy_scan.o: ../../include/mail_proto.h 322tls_proxy_scan.o: ../../include/myaddrinfo.h 323tls_proxy_scan.o: ../../include/name_code.h 324tls_proxy_scan.o: ../../include/name_mask.h 325tls_proxy_scan.o: ../../include/sock_addr.h 326tls_proxy_scan.o: ../../include/sys_defs.h 327tls_proxy_scan.o: ../../include/vbuf.h 328tls_proxy_scan.o: ../../include/vstream.h 329tls_proxy_scan.o: ../../include/vstring.h 330tls_proxy_scan.o: tls.h 331tls_proxy_scan.o: tls_proxy.h 332tls_proxy_scan.o: tls_proxy_scan.c 333tls_rsa.o: ../../include/argv.h 334tls_rsa.o: ../../include/dns.h 335tls_rsa.o: ../../include/msg.h 336tls_rsa.o: ../../include/myaddrinfo.h 337tls_rsa.o: ../../include/name_code.h 338tls_rsa.o: ../../include/name_mask.h 339tls_rsa.o: ../../include/sock_addr.h 340tls_rsa.o: ../../include/sys_defs.h 341tls_rsa.o: ../../include/vbuf.h 342tls_rsa.o: ../../include/vstream.h 343tls_rsa.o: ../../include/vstring.h 344tls_rsa.o: tls.h 345tls_rsa.o: tls_rsa.c 346tls_scache.o: ../../include/argv.h 347tls_scache.o: ../../include/dict.h 348tls_scache.o: ../../include/hex_code.h 349tls_scache.o: ../../include/msg.h 350tls_scache.o: ../../include/myflock.h 351tls_scache.o: ../../include/mymalloc.h 352tls_scache.o: ../../include/stringops.h 353tls_scache.o: ../../include/sys_defs.h 354tls_scache.o: ../../include/timecmp.h 355tls_scache.o: ../../include/vbuf.h 356tls_scache.o: ../../include/vstream.h 357tls_scache.o: ../../include/vstring.h 358tls_scache.o: tls_scache.c 359tls_scache.o: tls_scache.h 360tls_seed.o: ../../include/argv.h 361tls_seed.o: ../../include/dict.h 362tls_seed.o: ../../include/dns.h 363tls_seed.o: ../../include/msg.h 364tls_seed.o: ../../include/myaddrinfo.h 365tls_seed.o: ../../include/myflock.h 366tls_seed.o: ../../include/name_code.h 367tls_seed.o: ../../include/name_mask.h 368tls_seed.o: ../../include/sock_addr.h 369tls_seed.o: ../../include/sys_defs.h 370tls_seed.o: ../../include/vbuf.h 371tls_seed.o: ../../include/vstream.h 372tls_seed.o: ../../include/vstring.h 373tls_seed.o: tls.h 374tls_seed.o: tls_mgr.h 375tls_seed.o: tls_scache.h 376tls_seed.o: tls_seed.c 377tls_server.o: ../../include/argv.h 378tls_server.o: ../../include/dict.h 379tls_server.o: ../../include/dns.h 380tls_server.o: ../../include/hex_code.h 381tls_server.o: ../../include/iostuff.h 382tls_server.o: ../../include/mail_params.h 383tls_server.o: ../../include/msg.h 384tls_server.o: ../../include/myaddrinfo.h 385tls_server.o: ../../include/myflock.h 386tls_server.o: ../../include/mymalloc.h 387tls_server.o: ../../include/name_code.h 388tls_server.o: ../../include/name_mask.h 389tls_server.o: ../../include/sock_addr.h 390tls_server.o: ../../include/stringops.h 391tls_server.o: ../../include/sys_defs.h 392tls_server.o: ../../include/vbuf.h 393tls_server.o: ../../include/vstream.h 394tls_server.o: ../../include/vstring.h 395tls_server.o: tls.h 396tls_server.o: tls_mgr.h 397tls_server.o: tls_scache.h 398tls_server.o: tls_server.c 399tls_session.o: ../../include/argv.h 400tls_session.o: ../../include/dns.h 401tls_session.o: ../../include/msg.h 402tls_session.o: ../../include/myaddrinfo.h 403tls_session.o: ../../include/mymalloc.h 404tls_session.o: ../../include/name_code.h 405tls_session.o: ../../include/name_mask.h 406tls_session.o: ../../include/sock_addr.h 407tls_session.o: ../../include/sys_defs.h 408tls_session.o: ../../include/vbuf.h 409tls_session.o: ../../include/vstream.h 410tls_session.o: ../../include/vstring.h 411tls_session.o: tls.h 412tls_session.o: tls_session.c 413tls_stream.o: ../../include/argv.h 414tls_stream.o: ../../include/dns.h 415tls_stream.o: ../../include/iostuff.h 416tls_stream.o: ../../include/msg.h 417tls_stream.o: ../../include/myaddrinfo.h 418tls_stream.o: ../../include/name_code.h 419tls_stream.o: ../../include/name_mask.h 420tls_stream.o: ../../include/sock_addr.h 421tls_stream.o: ../../include/sys_defs.h 422tls_stream.o: ../../include/vbuf.h 423tls_stream.o: ../../include/vstream.h 424tls_stream.o: ../../include/vstring.h 425tls_stream.o: tls.h 426tls_stream.o: tls_stream.c 427tls_verify.o: ../../include/argv.h 428tls_verify.o: ../../include/dns.h 429tls_verify.o: ../../include/msg.h 430tls_verify.o: ../../include/myaddrinfo.h 431tls_verify.o: ../../include/mymalloc.h 432tls_verify.o: ../../include/name_code.h 433tls_verify.o: ../../include/name_mask.h 434tls_verify.o: ../../include/sock_addr.h 435tls_verify.o: ../../include/stringops.h 436tls_verify.o: ../../include/sys_defs.h 437tls_verify.o: ../../include/vbuf.h 438tls_verify.o: ../../include/vstream.h 439tls_verify.o: ../../include/vstring.h 440tls_verify.o: tls.h 441tls_verify.o: tls_verify.c 442