Hex Artifact Content

Artifact 4f5ba5c679078cc515149bdc41991e45eb369982:


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 56 50  KAGE_VERSION).VP
0150: 41 54 48 20 3d 20 40 73 72 63 64 69 72 40 0a 0a  ATH = @srcdir@..
0160: 61 6c 6c 3a 20 40 45 58 54 45 4e 53 49 4f 4e 5f  all: @EXTENSION_
0170: 54 41 52 47 45 54 40 0a 0a 23 20 54 68 65 20 73  TARGET@..# The s
0180: 68 61 72 65 64 20 6f 62 6a 65 63 74 20 74 61 72  hared object tar
0190: 67 65 74 0a 74 63 6c 74 6c 73 2e 40 53 48 4f 42  get.tcltls.@SHOB
01a0: 4a 45 58 54 40 3a 20 74 6c 73 2e 6f 20 74 6c 73  JEXT@: tls.o tls
01b0: 5f 40 54 43 4c 54 4c 53 5f 53 53 4c 5f 4c 49 42  _@TCLTLS_SSL_LIB
01c0: 40 5f 62 69 6f 2e 6f 20 74 6c 73 49 4f 2e 6f 20  @_bio.o tlsIO.o 
01d0: 74 6c 73 58 35 30 39 2e 6f 20 4d 61 6b 65 66 69  tlsX509.o Makefi
01e0: 6c 65 0a 09 24 28 43 43 29 20 24 28 43 50 50 46  le..$(CC) $(CPPF
01f0: 4c 41 47 53 29 20 24 28 43 46 4c 41 47 53 29 20  LAGS) $(CFLAGS) 
0200: 24 28 4c 44 46 4c 41 47 53 29 20 2d 6f 20 74 63  $(LDFLAGS) -o tc
0210: 6c 74 6c 73 2e 40 53 48 4f 42 4a 45 58 54 40 20  ltls.@SHOBJEXT@ 
0220: 74 6c 73 2e 6f 20 74 6c 73 5f 40 54 43 4c 54 4c  tls.o tls_@TCLTL
0230: 53 5f 53 53 4c 5f 4c 49 42 40 5f 62 69 6f 2e 6f  S_SSL_LIB@_bio.o
0240: 20 74 6c 73 49 4f 2e 6f 20 74 6c 73 58 35 30 39   tlsIO.o tlsX509
0250: 2e 6f 20 24 28 4c 49 42 53 29 0a 0a 23 20 54 68  .o $(LIBS)..# Th
0260: 65 20 73 74 61 74 69 63 20 74 61 72 67 65 74 0a  e static target.
0270: 74 63 6c 74 6c 73 2e 40 41 52 45 58 54 40 3a 20  tcltls.@AREXT@: 
0280: 74 6c 73 2e 6f 20 74 6c 73 5f 40 54 43 4c 54 4c  tls.o tls_@TCLTL
0290: 53 5f 53 53 4c 5f 4c 49 42 40 5f 62 69 6f 2e 6f  S_SSL_LIB@_bio.o
02a0: 20 74 6c 73 49 4f 2e 6f 20 74 6c 73 58 35 30 39   tlsIO.o tlsX509
02b0: 2e 6f 20 4d 61 6b 65 66 69 6c 65 0a 09 24 28 41  .o Makefile..$(A
02c0: 52 29 20 72 63 75 20 74 63 6c 74 6c 73 2e 61 2e  R) rcu tcltls.a.
02d0: 6e 65 77 20 74 6c 73 2e 6f 20 74 6c 73 5f 40 54  new tls.o tls_@T
02e0: 43 4c 54 4c 53 5f 53 53 4c 5f 4c 49 42 40 5f 62  CLTLS_SSL_LIB@_b
02f0: 69 6f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c 73  io.o tlsIO.o tls
0300: 58 35 30 39 2e 6f 0a 09 24 28 52 41 4e 4c 49 42  X509.o..$(RANLIB
0310: 29 20 74 63 6c 74 6c 73 2e 61 2e 6e 65 77 0a 09  ) tcltls.a.new..
0320: 6d 76 20 74 63 6c 74 6c 73 2e 61 2e 6e 65 77 20  mv tcltls.a.new 
0330: 74 63 6c 74 6c 73 2e 61 0a 0a 23 20 44 65 70 65  tcltls.a..# Depe
0340: 6e 64 65 6e 63 69 65 73 20 66 6f 72 20 61 6c 6c  ndencies for all
0350: 20 6f 75 72 20 74 61 72 67 65 74 73 0a 74 6c 73   our targets.tls
0360: 2e 6f 3a 20 40 73 72 63 64 69 72 40 2f 74 6c 73  .o: @srcdir@/tls
0370: 2e 63 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49  .c @srcdir@/tlsI
0380: 6e 74 2e 68 20 40 73 72 63 64 69 72 40 2f 74 63  nt.h @srcdir@/tc
0390: 6c 4f 70 74 73 2e 68 20 40 73 72 63 64 69 72 40  lOpts.h @srcdir@
03a0: 2f 74 6c 73 2e 74 63 6c 2e 68 20 64 68 5f 70 61  /tls.tcl.h dh_pa
03b0: 72 61 6d 73 2e 68 20 4d 61 6b 65 66 69 6c 65 0a  rams.h Makefile.
03c0: 74 6c 73 5f 6f 70 65 6e 73 73 6c 5f 62 69 6f 2e  tls_openssl_bio.
03d0: 6f 3a 20 40 73 72 63 64 69 72 40 2f 74 6c 73 5f  o: @srcdir@/tls_
03e0: 6f 70 65 6e 73 73 6c 5f 62 69 6f 2e 63 20 40 73  openssl_bio.c @s
03f0: 72 63 64 69 72 40 2f 74 6c 73 49 6e 74 2e 68 20  rcdir@/tlsInt.h 
0400: 4d 61 6b 65 66 69 6c 65 0a 74 6c 73 49 4f 2e 6f  Makefile.tlsIO.o
0410: 3a 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49 4f  : @srcdir@/tlsIO
0420: 2e 63 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49  .c @srcdir@/tlsI
0430: 6e 74 2e 68 20 4d 61 6b 65 66 69 6c 65 0a 74 6c  nt.h Makefile.tl
0440: 73 58 35 30 39 2e 6f 3a 20 40 73 72 63 64 69 72  sX509.o: @srcdir
0450: 40 2f 74 6c 73 58 35 30 39 2e 63 20 40 73 72 63  @/tlsX509.c @src
0460: 64 69 72 40 2f 74 6c 73 49 6e 74 2e 68 20 4d 61  dir@/tlsInt.h Ma
0470: 6b 65 66 69 6c 65 0a 0a 23 20 43 72 65 61 74 65  kefile..# Create
0480: 20 61 20 43 2d 73 6f 75 72 63 65 2d 69 66 69 65   a C-source-ifie
0490: 64 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 65  d version of the
04a0: 20 73 63 72 69 70 74 20 72 65 73 6f 75 72 63 65   script resource
04b0: 73 0a 23 20 66 6f 72 20 54 63 6c 54 4c 53 20 73  s.# for TclTLS s
04c0: 6f 20 74 68 61 74 20 77 65 20 6f 6e 6c 79 20 6e  o that we only n
04d0: 65 65 64 20 61 20 73 69 6e 67 6c 65 20 66 69 6c  eed a single fil
04e0: 65 20 74 6f 20 65 6e 61 62 6c 65 0a 23 20 74 68  e to enable.# th
04f0: 69 73 20 65 78 74 65 6e 73 69 6f 6e 0a 40 73 72  is extension.@sr
0500: 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c 2e 68 3a  cdir@/tls.tcl.h:
0510: 20 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63   @srcdir@/tls.tc
0520: 6c 0a 09 40 58 58 44 40 20 2d 69 20 3c 20 27 40  l..@XXD@ -i < '@
0530: 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c 27  srcdir@/tls.tcl'
0540: 20 3e 20 27 40 73 72 63 64 69 72 40 2f 74 6c 73   > '@srcdir@/tls
0550: 2e 74 63 6c 2e 68 2e 6e 65 77 27 0a 09 6d 76 20  .tcl.h.new'..mv 
0560: 27 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63  '@srcdir@/tls.tc
0570: 6c 2e 68 2e 6e 65 77 27 20 27 40 73 72 63 64 69  l.h.new' '@srcdi
0580: 72 40 2f 74 6c 73 2e 74 63 6c 2e 68 27 0a 0a 23  r@/tls.tcl.h'..#
0590: 20 43 72 65 61 74 65 20 64 65 66 61 75 6c 74 20   Create default 
05a0: 44 48 20 70 61 72 61 6d 65 74 65 72 73 0a 64 68  DH parameters.dh
05b0: 5f 70 61 72 61 6d 73 2e 68 3a 20 40 73 72 63 64  _params.h: @srcd
05c0: 69 72 40 2f 67 65 6e 5f 64 68 5f 70 61 72 61 6d  ir@/gen_dh_param
05d0: 73 20 4d 61 6b 65 66 69 6c 65 0a 09 40 73 72 63  s Makefile..@src
05e0: 64 69 72 40 2f 67 65 6e 5f 64 68 5f 70 61 72 61  dir@/gen_dh_para
05f0: 6d 73 20 40 47 45 4e 5f 44 48 5f 50 41 52 41 4d  ms @GEN_DH_PARAM
0600: 53 5f 41 52 47 53 40 20 3e 20 64 68 5f 70 61 72  S_ARGS@ > dh_par
0610: 61 6d 73 2e 68 2e 6e 65 77 0a 09 6d 76 20 64 68  ams.h.new..mv dh
0620: 5f 70 61 72 61 6d 73 2e 68 2e 6e 65 77 20 64 68  _params.h.new dh
0630: 5f 70 61 72 61 6d 73 2e 68 0a 0a 23 20 47 65 6e  _params.h..# Gen
0640: 65 72 69 63 20 74 61 72 67 65 74 20 66 6f 72 20  eric target for 
0650: 62 75 69 6c 64 69 6e 67 20 66 69 6c 65 73 20 66  building files f
0660: 72 6f 6d 20 74 68 65 20 22 73 72 63 64 69 72 22  rom the "srcdir"
0670: 0a 23 20 74 72 65 65 20 2d 2d 20 74 68 65 20 64  .# tree -- the d
0680: 65 66 61 75 6c 74 20 74 61 72 67 65 74 20 77 69  efault target wi
0690: 6c 6c 20 6e 6f 74 20 6d 61 74 63 68 20 70 61 74  ll not match pat
06a0: 68 73 0a 2e 63 2e 6f 3a 0a 09 24 28 43 43 29 20  hs..c.o:..$(CC) 
06b0: 24 28 43 50 50 46 4c 41 47 53 29 20 24 28 43 46  $(CPPFLAGS) $(CF
06c0: 4c 41 47 53 29 20 2d 6f 20 22 24 40 22 20 2d 63  LAGS) -o "$@" -c
06d0: 20 22 24 3c 22 0a 0a 23 20 49 6e 73 74 61 6c 6c   "$<"..# Install
06e0: 20 74 68 65 20 65 78 74 65 6e 73 69 6f 6e 0a 69   the extension.i
06f0: 6e 73 74 61 6c 6c 3a 20 40 45 58 54 45 4e 53 49  nstall: @EXTENSI
0700: 4f 4e 5f 54 41 52 47 45 54 40 20 70 6b 67 49 6e  ON_TARGET@ pkgIn
0710: 64 65 78 2e 74 63 6c 0a 09 24 28 49 4e 53 54 41  dex.tcl..$(INSTA
0720: 4c 4c 29 20 2d 64 20 27 24 28 44 45 53 54 44 49  LL) -d '$(DESTDI
0730: 52 29 24 28 50 41 43 4b 41 47 45 5f 49 4e 53 54  R)$(PACKAGE_INST
0740: 41 4c 4c 5f 44 49 52 29 27 0a 09 24 28 49 4e 53  ALL_DIR)'..$(INS
0750: 54 41 4c 4c 29 20 2d 74 20 27 24 28 44 45 53 54  TALL) -t '$(DEST
0760: 44 49 52 29 24 28 50 41 43 4b 41 47 45 5f 49 4e  DIR)$(PACKAGE_IN
0770: 53 54 41 4c 4c 5f 44 49 52 29 27 20 40 45 58 54  STALL_DIR)' @EXT
0780: 45 4e 53 49 4f 4e 5f 54 41 52 47 45 54 40 20 70  ENSION_TARGET@ p
0790: 6b 67 49 6e 64 65 78 2e 74 63 6c 0a 0a 23 20 43  kgIndex.tcl..# C
07a0: 6c 65 61 6e 20 74 68 65 20 6c 6f 63 61 6c 20 62  lean the local b
07b0: 75 69 6c 64 20 64 69 72 65 63 74 6f 72 79 20 66  uild directory f
07c0: 6f 72 20 72 65 62 75 69 6c 64 20 61 67 61 69 6e  or rebuild again
07d0: 73 74 20 74 68 65 20 73 61 6d 65 20 63 6f 6e 66  st the same conf
07e0: 69 67 75 72 61 74 69 6f 6e 0a 63 6c 65 61 6e 3a  iguration.clean:
07f0: 0a 09 72 6d 20 2d 66 20 74 6c 73 2e 6f 20 74 6c  ..rm -f tls.o tl
0800: 73 5f 6f 70 65 6e 73 73 6c 5f 62 69 6f 2e 6f 20  s_openssl_bio.o 
0810: 74 6c 73 49 4f 2e 6f 20 74 6c 73 58 35 30 39 2e  tlsIO.o tlsX509.
0820: 6f 0a 09 72 6d 20 2d 66 20 74 63 6c 74 6c 73 2e  o..rm -f tcltls.
0830: 40 53 48 4f 42 4a 45 58 54 40 0a 09 72 6d 20 2d  @SHOBJEXT@..rm -
0840: 66 20 74 63 6c 74 6c 73 2e 61 2e 6e 65 77 20 74  f tcltls.a.new t
0850: 63 6c 74 6c 73 2e 61 0a 0a 23 20 43 6c 65 61 6e  cltls.a..# Clean
0860: 20 74 68 65 20 6c 6f 63 61 6c 20 62 75 69 6c 64   the local build
0870: 20 64 69 72 65 63 74 6f 72 79 20 62 61 63 6b 20   directory back 
0880: 74 6f 20 77 68 61 74 20 69 74 20 77 61 73 20 61  to what it was a
0890: 66 74 65 72 20 75 6e 70 61 63 6b 69 6e 67 20 74  fter unpacking t
08a0: 68 65 0a 23 20 64 69 73 74 72 69 62 75 74 69 6f  he.# distributio
08b0: 6e 20 74 61 72 62 61 6c 6c 0a 64 69 73 74 63 6c  n tarball.distcl
08c0: 65 61 6e 3a 20 63 6c 65 61 6e 0a 09 72 6d 20 2d  ean: clean..rm -
08d0: 66 20 63 6f 6e 66 69 67 2e 6c 6f 67 20 63 6f 6e  f config.log con
08e0: 66 69 67 2e 73 74 61 74 75 73 0a 09 72 6d 20 2d  fig.status..rm -
08f0: 66 20 64 68 5f 70 61 72 61 6d 73 2e 68 2e 6e 65  f dh_params.h.ne
0900: 77 20 64 68 5f 70 61 72 61 6d 73 2e 68 0a 09 72  w dh_params.h..r
0910: 6d 20 2d 66 20 4d 61 6b 65 66 69 6c 65 20 70 6b  m -f Makefile pk
0920: 67 49 6e 64 65 78 2e 74 63 6c 0a 09 72 6d 20 2d  gIndex.tcl..rm -
0930: 66 20 74 63 6c 74 6c 73 2e 61 2e 6c 69 6e 6b 61  f tcltls.a.linka
0940: 64 64 0a 0a 23 20 43 6c 65 61 6e 20 74 68 65 20  dd..# Clean the 
0950: 6c 6f 63 61 6c 20 62 75 69 6c 64 20 64 69 72 65  local build dire
0960: 63 74 6f 72 79 20 62 61 63 6b 20 74 6f 20 6f 6e  ctory back to on
0970: 6c 79 20 74 68 69 6e 67 20 74 68 69 6e 67 73 20  ly thing things 
0980: 74 68 61 74 20 65 78 69 73 74 20 69 6e 0a 23 20  that exist in.# 
0990: 76 65 72 73 69 6f 6e 20 63 6f 6e 74 72 6f 6c 20  version control 
09a0: 73 79 73 74 65 6d 0a 6d 72 70 72 6f 70 65 72 3a  system.mrproper:
09b0: 20 64 69 73 74 63 6c 65 61 6e 0a 09 72 6d 20 2d   distclean..rm -
09c0: 66 20 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74  f @srcdir@/tls.t
09d0: 63 6c 2e 68 0a 09 72 6d 20 2d 66 20 40 73 72 63  cl.h..rm -f @src
09e0: 64 69 72 40 2f 63 6f 6e 66 69 67 75 72 65 20 40  dir@/configure @
09f0: 73 72 63 64 69 72 40 2f 63 6f 6e 66 69 67 2e 73  srcdir@/config.s
0a00: 75 62 20 40 73 72 63 64 69 72 40 2f 63 6f 6e 66  ub @srcdir@/conf
0a10: 69 67 2e 67 75 65 73 73 20 40 73 72 63 64 69 72  ig.guess @srcdir
0a20: 40 2f 69 6e 73 74 61 6c 6c 2d 73 68 0a 09 72 6d  @/install-sh..rm
0a30: 20 2d 66 20 40 73 72 63 64 69 72 40 2f 61 63 6c   -f @srcdir@/acl
0a40: 6f 63 61 6c 2e 6d 34 0a 09 72 6d 20 2d 72 66 20  ocal.m4..rm -rf 
0a50: 40 73 72 63 64 69 72 40 2f 61 75 74 6f 6d 34 74  @srcdir@/autom4t
0a60: 65 2e 63 61 63 68 65 0a 0a 2e 50 48 4f 4e 59 3a  e.cache...PHONY:
0a70: 20 61 6c 6c 20 69 6e 73 74 61 6c 6c 20 63 6c 65   all install cle
0a80: 61 6e 20 64 69 73 74 63 6c 65 61 6e 20 6d 72 70  an distclean mrp
0a90: 72 6f 70 65 72 0a                                roper.