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