Artifact
8a7210cabb75506f2a635ecb5d88af217d2ea62f:
0000: 43 43 20 3d 20 40 43 43 40 0a 41 52 20 3d 20 40 CC = @CC@.AR = @
0010: 41 52 40 0a 52 41 4e 4c 49 42 20 3d 20 40 52 41 AR@.RANLIB = @RA
0020: 4e 4c 49 42 40 0a 43 46 4c 41 47 53 20 3d 20 40 NLIB@.CFLAGS = @
0030: 43 46 4c 41 47 53 40 20 40 53 48 4f 42 4a 46 4c CFLAGS@ @SHOBJFL
0040: 41 47 53 40 0a 43 50 50 46 4c 41 47 53 20 3d 20 AGS@.CPPFLAGS =
0050: 40 43 50 50 46 4c 41 47 53 40 20 2d 49 40 73 72 @CPPFLAGS@ -I@sr
0060: 63 64 69 72 40 20 2d 49 2e 20 40 44 45 46 53 40 cdir@ -I. @DEFS@
0070: 20 40 54 43 4c 5f 44 45 46 53 40 0a 4c 44 46 4c @TCL_DEFS@.LDFL
0080: 41 47 53 20 3d 20 40 4c 44 46 4c 41 47 53 40 20 AGS = @LDFLAGS@
0090: 40 53 48 4f 42 4a 4c 44 46 4c 41 47 53 40 0a 4c @SHOBJLDFLAGS@.L
00a0: 49 42 53 20 3d 20 40 4c 49 42 53 40 0a 49 4e 53 IBS = @LIBS@.INS
00b0: 54 41 4c 4c 20 3d 20 40 49 4e 53 54 41 4c 4c 40 TALL = @INSTALL@
00c0: 0a 50 41 43 4b 41 47 45 5f 56 45 52 53 49 4f 4e .PACKAGE_VERSION
00d0: 20 3d 20 40 50 41 43 4b 41 47 45 5f 56 45 52 53 = @PACKAGE_VERS
00e0: 49 4f 4e 40 0a 54 43 4c 5f 50 41 43 4b 41 47 45 ION@.TCL_PACKAGE
00f0: 5f 50 41 54 48 20 3d 20 40 54 43 4c 5f 50 41 43 _PATH = @TCL_PAC
0100: 4b 41 47 45 5f 50 41 54 48 40 0a 50 41 43 4b 41 KAGE_PATH@.PACKA
0110: 47 45 5f 49 4e 53 54 41 4c 4c 5f 44 49 52 20 3d GE_INSTALL_DIR =
0120: 20 24 28 54 43 4c 5f 50 41 43 4b 41 47 45 5f 50 $(TCL_PACKAGE_P
0130: 41 54 48 29 2f 74 63 6c 74 6c 73 24 28 50 41 43 ATH)/tcltls$(PAC
0140: 4b 41 47 45 5f 56 45 52 53 49 4f 4e 29 0a 0a 61 KAGE_VERSION)..a
0150: 6c 6c 3a 20 40 45 58 54 45 4e 53 49 4f 4e 5f 54 ll: @EXTENSION_T
0160: 41 52 47 45 54 40 0a 0a 23 20 54 68 65 20 73 68 ARGET@..# The sh
0170: 61 72 65 64 20 6f 62 6a 65 63 74 20 74 61 72 67 ared object targ
0180: 65 74 0a 74 63 6c 74 6c 73 2e 40 53 48 4f 42 4a et.tcltls.@SHOBJ
0190: 45 58 54 40 3a 20 74 6c 73 2e 6f 20 74 6c 73 42 EXT@: tls.o tlsB
01a0: 49 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c 73 IO.o tlsIO.o tls
01b0: 58 35 30 39 2e 6f 0a 09 24 28 43 43 29 20 24 28 X509.o..$(CC) $(
01c0: 43 50 50 46 4c 41 47 53 29 20 24 28 43 46 4c 41 CPPFLAGS) $(CFLA
01d0: 47 53 29 20 24 28 4c 44 46 4c 41 47 53 29 20 2d GS) $(LDFLAGS) -
01e0: 6f 20 74 63 6c 74 6c 73 2e 40 53 48 4f 42 4a 45 o tcltls.@SHOBJE
01f0: 58 54 40 20 74 6c 73 2e 6f 20 74 6c 73 42 49 4f XT@ tls.o tlsBIO
0200: 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c 73 58 35 .o tlsIO.o tlsX5
0210: 30 39 2e 6f 20 24 28 4c 49 42 53 29 0a 0a 23 20 09.o $(LIBS)..#
0220: 54 68 65 20 73 74 61 74 69 63 20 74 61 72 67 65 The static targe
0230: 74 0a 74 63 6c 74 6c 73 2e 61 3a 20 74 6c 73 2e t.tcltls.a: tls.
0240: 6f 20 74 6c 73 42 49 4f 2e 6f 20 74 6c 73 49 4f o tlsBIO.o tlsIO
0250: 2e 6f 20 74 6c 73 58 35 30 39 2e 6f 0a 09 24 28 .o tlsX509.o..$(
0260: 41 52 29 20 72 63 75 20 74 63 6c 74 6c 73 2e 61 AR) rcu tcltls.a
0270: 2e 6e 65 77 20 74 6c 73 2e 6f 20 74 6c 73 42 49 .new tls.o tlsBI
0280: 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c 73 58 O.o tlsIO.o tlsX
0290: 35 30 39 2e 6f 0a 09 24 28 52 41 4e 4c 49 42 29 509.o..$(RANLIB)
02a0: 20 74 63 6c 74 6c 73 2e 61 2e 6e 65 77 0a 09 6d tcltls.a.new..m
02b0: 76 20 74 63 6c 74 6c 73 2e 61 2e 6e 65 77 20 74 v tcltls.a.new t
02c0: 63 6c 74 6c 73 2e 61 0a 0a 23 20 44 65 70 65 6e cltls.a..# Depen
02d0: 64 65 6e 63 69 65 73 20 66 6f 72 20 61 6c 6c 20 dencies for all
02e0: 6f 75 72 20 74 61 72 67 65 74 73 0a 74 6c 73 2e our targets.tls.
02f0: 6f 3a 20 40 73 72 63 64 69 72 40 2f 74 6c 73 2e o: @srcdir@/tls.
0300: 63 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49 6e c @srcdir@/tlsIn
0310: 74 2e 68 20 40 73 72 63 64 69 72 40 2f 74 63 6c t.h @srcdir@/tcl
0320: 4f 70 74 73 2e 68 20 40 73 72 63 64 69 72 40 2f Opts.h @srcdir@/
0330: 74 6c 73 2e 74 63 6c 2e 68 20 64 68 5f 70 61 72 tls.tcl.h dh_par
0340: 61 6d 73 2e 68 0a 74 6c 73 42 49 4f 2e 6f 3a 20 ams.h.tlsBIO.o:
0350: 40 73 72 63 64 69 72 40 2f 74 6c 73 42 49 4f 2e @srcdir@/tlsBIO.
0360: 63 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49 6e c @srcdir@/tlsIn
0370: 74 2e 68 0a 74 6c 73 49 4f 2e 6f 3a 20 40 73 72 t.h.tlsIO.o: @sr
0380: 63 64 69 72 40 2f 74 6c 73 49 4f 2e 63 20 40 73 cdir@/tlsIO.c @s
0390: 72 63 64 69 72 40 2f 74 6c 73 49 6e 74 2e 68 0a rcdir@/tlsInt.h.
03a0: 74 6c 73 58 35 30 39 2e 6f 3a 20 40 73 72 63 64 tlsX509.o: @srcd
03b0: 69 72 40 2f 74 6c 73 58 35 30 39 2e 63 20 40 73 ir@/tlsX509.c @s
03c0: 72 63 64 69 72 40 2f 74 6c 73 49 6e 74 2e 68 0a rcdir@/tlsInt.h.
03d0: 0a 23 20 43 72 65 61 74 65 20 61 20 43 2d 73 6f .# Create a C-so
03e0: 75 72 63 65 2d 69 66 69 65 64 20 76 65 72 73 69 urce-ified versi
03f0: 6f 6e 20 6f 66 20 74 68 65 20 73 63 72 69 70 74 on of the script
0400: 20 72 65 73 6f 75 72 63 65 73 0a 23 20 66 6f 72 resources.# for
0410: 20 54 63 6c 54 4c 53 20 73 6f 20 74 68 61 74 20 TclTLS so that
0420: 77 65 20 6f 6e 6c 79 20 6e 65 65 64 20 61 20 73 we only need a s
0430: 69 6e 67 6c 65 20 66 69 6c 65 20 74 6f 20 65 6e ingle file to en
0440: 61 62 6c 65 0a 23 20 74 68 69 73 20 65 78 74 65 able.# this exte
0450: 6e 73 69 6f 6e 0a 40 73 72 63 64 69 72 40 2f 74 nsion.@srcdir@/t
0460: 6c 73 2e 74 63 6c 2e 68 3a 20 40 73 72 63 64 69 ls.tcl.h: @srcdi
0470: 72 40 2f 74 6c 73 2e 74 63 6c 0a 09 40 58 58 44 r@/tls.tcl..@XXD
0480: 40 20 2d 69 20 3c 20 27 40 73 72 63 64 69 72 40 @ -i < '@srcdir@
0490: 2f 74 6c 73 2e 74 63 6c 27 20 3e 20 27 40 73 72 /tls.tcl' > '@sr
04a0: 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c 2e 68 2e cdir@/tls.tcl.h.
04b0: 6e 65 77 27 0a 09 6d 76 20 27 40 73 72 63 64 69 new'..mv '@srcdi
04c0: 72 40 2f 74 6c 73 2e 74 63 6c 2e 68 2e 6e 65 77 r@/tls.tcl.h.new
04d0: 27 20 27 40 73 72 63 64 69 72 40 2f 74 6c 73 2e ' '@srcdir@/tls.
04e0: 74 63 6c 2e 68 27 0a 0a 23 20 43 72 65 61 74 65 tcl.h'..# Create
04f0: 20 64 65 66 61 75 6c 74 20 44 48 20 70 61 72 61 default DH para
0500: 6d 65 74 65 72 73 0a 64 68 5f 70 61 72 61 6d 73 meters.dh_params
0510: 2e 68 3a 20 40 73 72 63 64 69 72 40 2f 67 65 6e .h: @srcdir@/gen
0520: 5f 64 68 5f 70 61 72 61 6d 73 0a 09 40 73 72 63 _dh_params..@src
0530: 64 69 72 40 2f 67 65 6e 5f 64 68 5f 70 61 72 61 dir@/gen_dh_para
0540: 6d 73 20 40 47 45 4e 5f 44 48 5f 50 41 52 41 4d ms @GEN_DH_PARAM
0550: 53 5f 41 52 47 53 40 20 3e 20 64 68 5f 70 61 72 S_ARGS@ > dh_par
0560: 61 6d 73 2e 68 2e 6e 65 77 0a 09 6d 76 20 64 68 ams.h.new..mv dh
0570: 5f 70 61 72 61 6d 73 2e 68 2e 6e 65 77 20 64 68 _params.h.new dh
0580: 5f 70 61 72 61 6d 73 2e 68 0a 0a 23 20 47 65 6e _params.h..# Gen
0590: 65 72 69 63 20 74 61 72 67 65 74 20 66 6f 72 20 eric target for
05a0: 62 75 69 6c 64 69 6e 67 20 66 69 6c 65 73 20 66 building files f
05b0: 72 6f 6d 20 74 68 65 20 22 73 72 63 64 69 72 22 rom the "srcdir"
05c0: 0a 23 20 74 72 65 65 20 2d 2d 20 74 68 65 20 64 .# tree -- the d
05d0: 65 66 61 75 6c 74 20 74 61 72 67 65 74 20 77 69 efault target wi
05e0: 6c 6c 20 6e 6f 74 20 6d 61 74 63 68 20 70 61 74 ll not match pat
05f0: 68 73 0a 2e 63 2e 6f 3a 0a 09 24 28 43 43 29 20 hs..c.o:..$(CC)
0600: 24 28 43 50 50 46 4c 41 47 53 29 20 24 28 43 46 $(CPPFLAGS) $(CF
0610: 4c 41 47 53 29 20 2d 6f 20 22 24 40 22 20 2d 63 LAGS) -o "$@" -c
0620: 20 22 24 3c 22 0a 0a 23 20 49 6e 73 74 61 6c 6c "$<"..# Install
0630: 20 74 68 65 20 65 78 74 65 6e 73 69 6f 6e 0a 69 the extension.i
0640: 6e 73 74 61 6c 6c 3a 20 40 45 58 54 45 4e 53 49 nstall: @EXTENSI
0650: 4f 4e 5f 54 41 52 47 45 54 40 20 70 6b 67 49 6e ON_TARGET@ pkgIn
0660: 64 65 78 2e 74 63 6c 0a 09 24 28 49 4e 53 54 41 dex.tcl..$(INSTA
0670: 4c 4c 29 20 2d 64 20 27 24 28 44 45 53 54 44 49 LL) -d '$(DESTDI
0680: 52 29 24 28 50 41 43 4b 41 47 45 5f 49 4e 53 54 R)$(PACKAGE_INST
0690: 41 4c 4c 5f 44 49 52 29 27 0a 09 24 28 49 4e 53 ALL_DIR)'..$(INS
06a0: 54 41 4c 4c 29 20 2d 74 20 27 24 28 44 45 53 54 TALL) -t '$(DEST
06b0: 44 49 52 29 24 28 50 41 43 4b 41 47 45 5f 49 4e DIR)$(PACKAGE_IN
06c0: 53 54 41 4c 4c 5f 44 49 52 29 27 20 40 45 58 54 STALL_DIR)' @EXT
06d0: 45 4e 53 49 4f 4e 5f 54 41 52 47 45 54 40 20 70 ENSION_TARGET@ p
06e0: 6b 67 49 6e 64 65 78 2e 74 63 6c 0a 0a 23 20 43 kgIndex.tcl..# C
06f0: 6c 65 61 6e 20 74 68 65 20 6c 6f 63 61 6c 20 62 lean the local b
0700: 75 69 6c 64 20 64 69 72 65 63 74 6f 72 79 20 66 uild directory f
0710: 6f 72 20 72 65 62 75 69 6c 64 20 61 67 61 69 6e or rebuild again
0720: 73 74 20 74 68 65 20 73 61 6d 65 20 63 6f 6e 66 st the same conf
0730: 69 67 75 72 61 74 69 6f 6e 0a 63 6c 65 61 6e 3a iguration.clean:
0740: 0a 09 72 6d 20 2d 66 20 74 6c 73 2e 6f 20 74 6c ..rm -f tls.o tl
0750: 73 42 49 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 sBIO.o tlsIO.o t
0760: 6c 73 58 35 30 39 2e 6f 0a 09 72 6d 20 2d 66 20 lsX509.o..rm -f
0770: 74 63 6c 74 6c 73 2e 40 53 48 4f 42 4a 45 58 54 tcltls.@SHOBJEXT
0780: 40 0a 09 72 6d 20 2d 66 20 74 63 6c 74 6c 73 2e @..rm -f tcltls.
0790: 61 2e 6e 65 77 20 74 63 6c 74 6c 73 2e 61 0a 0a a.new tcltls.a..
07a0: 23 20 43 6c 65 61 6e 20 74 68 65 20 6c 6f 63 61 # Clean the loca
07b0: 6c 20 62 75 69 6c 64 20 64 69 72 65 63 74 6f 72 l build director
07c0: 79 20 62 61 63 6b 20 74 6f 20 77 68 61 74 20 69 y back to what i
07d0: 74 20 77 61 73 20 61 66 74 65 72 20 75 6e 70 61 t was after unpa
07e0: 63 6b 69 6e 67 20 74 68 65 0a 23 20 64 69 73 74 cking the.# dist
07f0: 72 69 62 75 74 69 6f 6e 20 74 61 72 62 61 6c 6c ribution tarball
0800: 0a 64 69 73 74 63 6c 65 61 6e 3a 20 63 6c 65 61 .distclean: clea
0810: 6e 0a 09 72 6d 20 2d 66 20 63 6f 6e 66 69 67 2e n..rm -f config.
0820: 6c 6f 67 20 63 6f 6e 66 69 67 2e 73 74 61 74 75 log config.statu
0830: 73 0a 09 72 6d 20 2d 66 20 64 68 5f 70 61 72 61 s..rm -f dh_para
0840: 6d 73 2e 68 2e 6e 65 77 20 64 68 5f 70 61 72 61 ms.h.new dh_para
0850: 6d 73 2e 68 0a 09 72 6d 20 2d 66 20 4d 61 6b 65 ms.h..rm -f Make
0860: 66 69 6c 65 20 70 6b 67 49 6e 64 65 78 2e 74 63 file pkgIndex.tc
0870: 6c 0a 0a 23 20 43 6c 65 61 6e 20 74 68 65 20 6c l..# Clean the l
0880: 6f 63 61 6c 20 62 75 69 6c 64 20 64 69 72 65 63 ocal build direc
0890: 74 6f 72 79 20 62 61 63 6b 20 74 6f 20 6f 6e 6c tory back to onl
08a0: 79 20 74 68 69 6e 67 20 74 68 69 6e 67 73 20 74 y thing things t
08b0: 68 61 74 20 65 78 69 73 74 20 69 6e 0a 23 20 76 hat exist in.# v
08c0: 65 72 73 69 6f 6e 20 63 6f 6e 74 72 6f 6c 20 73 ersion control s
08d0: 79 73 74 65 6d 0a 6d 72 70 72 6f 70 65 72 3a 20 ystem.mrproper:
08e0: 64 69 73 74 63 6c 65 61 6e 0a 09 72 6d 20 2d 66 distclean..rm -f
08f0: 20 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 @srcdir@/tls.tc
0900: 6c 2e 68 0a 09 72 6d 20 2d 66 20 40 73 72 63 64 l.h..rm -f @srcd
0910: 69 72 40 2f 63 6f 6e 66 69 67 75 72 65 20 40 73 ir@/configure @s
0920: 72 63 64 69 72 40 2f 63 6f 6e 66 69 67 2e 73 75 rcdir@/config.su
0930: 62 20 40 73 72 63 64 69 72 40 2f 63 6f 6e 66 69 b @srcdir@/confi
0940: 67 2e 67 75 65 73 73 20 40 73 72 63 64 69 72 40 g.guess @srcdir@
0950: 2f 69 6e 73 74 61 6c 6c 2d 73 68 0a 09 72 6d 20 /install-sh..rm
0960: 2d 66 20 40 73 72 63 64 69 72 40 2f 61 63 6c 6f -f @srcdir@/aclo
0970: 63 61 6c 2e 6d 34 0a 09 72 6d 20 2d 72 66 20 40 cal.m4..rm -rf @
0980: 73 72 63 64 69 72 40 2f 61 75 74 6f 6d 34 74 65 srcdir@/autom4te
0990: 2e 63 61 63 68 65 0a 0a 2e 50 48 4f 4e 59 3a 20 .cache...PHONY:
09a0: 61 6c 6c 20 69 6e 73 74 61 6c 6c 20 63 6c 65 61 all install clea
09b0: 6e 20 64 69 73 74 63 6c 65 61 6e 20 6d 72 70 72 n distclean mrpr
09c0: 6f 70 65 72 0a oper.