Hex Artifact Content

Artifact 10c12d5576a044339dd1d9cc71cc587340458efe:


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 6f 70 65 6e 73 73 6c 5f 62 69 6f 2e 6f 20 74  _openssl_bio.o t
01c0: 6c 73 49 4f 2e 6f 20 74 6c 73 58 35 30 39 2e 6f  lsIO.o tlsX509.o
01d0: 20 4d 61 6b 65 66 69 6c 65 0a 09 24 28 43 43 29   Makefile..$(CC)
01e0: 20 24 28 43 50 50 46 4c 41 47 53 29 20 24 28 43   $(CPPFLAGS) $(C
01f0: 46 4c 41 47 53 29 20 24 28 4c 44 46 4c 41 47 53  FLAGS) $(LDFLAGS
0200: 29 20 2d 6f 20 74 63 6c 74 6c 73 2e 40 53 48 4f  ) -o tcltls.@SHO
0210: 42 4a 45 58 54 40 20 74 6c 73 2e 6f 20 74 6c 73  BJEXT@ tls.o tls
0220: 5f 6f 70 65 6e 73 73 6c 5f 62 69 6f 2e 6f 20 74  _openssl_bio.o t
0230: 6c 73 49 4f 2e 6f 20 74 6c 73 58 35 30 39 2e 6f  lsIO.o tlsX509.o
0240: 20 24 28 4c 49 42 53 29 0a 0a 23 20 54 68 65 20   $(LIBS)..# The 
0250: 73 74 61 74 69 63 20 74 61 72 67 65 74 0a 74 63  static target.tc
0260: 6c 74 6c 73 2e 40 41 52 45 58 54 40 3a 20 74 6c  ltls.@AREXT@: tl
0270: 73 2e 6f 20 74 6c 73 5f 6f 70 65 6e 73 73 6c 5f  s.o tls_openssl_
0280: 62 69 6f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c  bio.o tlsIO.o tl
0290: 73 58 35 30 39 2e 6f 20 4d 61 6b 65 66 69 6c 65  sX509.o Makefile
02a0: 0a 09 24 28 41 52 29 20 72 63 75 20 74 63 6c 74  ..$(AR) rcu tclt
02b0: 6c 73 2e 61 2e 6e 65 77 20 74 6c 73 2e 6f 20 74  ls.a.new tls.o t
02c0: 6c 73 5f 6f 70 65 6e 73 73 6c 5f 62 69 6f 2e 6f  ls_openssl_bio.o
02d0: 20 74 6c 73 49 4f 2e 6f 20 74 6c 73 58 35 30 39   tlsIO.o tlsX509
02e0: 2e 6f 0a 09 24 28 52 41 4e 4c 49 42 29 20 74 63  .o..$(RANLIB) tc
02f0: 6c 74 6c 73 2e 61 2e 6e 65 77 0a 09 6d 76 20 74  ltls.a.new..mv t
0300: 63 6c 74 6c 73 2e 61 2e 6e 65 77 20 74 63 6c 74  cltls.a.new tclt
0310: 6c 73 2e 61 0a 0a 23 20 44 65 70 65 6e 64 65 6e  ls.a..# Dependen
0320: 63 69 65 73 20 66 6f 72 20 61 6c 6c 20 6f 75 72  cies for all our
0330: 20 74 61 72 67 65 74 73 0a 74 6c 73 2e 6f 3a 20   targets.tls.o: 
0340: 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 63 20 40  @srcdir@/tls.c @
0350: 73 72 63 64 69 72 40 2f 74 6c 73 49 6e 74 2e 68  srcdir@/tlsInt.h
0360: 20 40 73 72 63 64 69 72 40 2f 74 63 6c 4f 70 74   @srcdir@/tclOpt
0370: 73 2e 68 20 40 73 72 63 64 69 72 40 2f 74 6c 73  s.h @srcdir@/tls
0380: 2e 74 63 6c 2e 68 20 64 68 5f 70 61 72 61 6d 73  .tcl.h dh_params
0390: 2e 68 20 4d 61 6b 65 66 69 6c 65 0a 74 6c 73 5f  .h Makefile.tls_
03a0: 6f 70 65 6e 73 73 6c 5f 62 69 6f 2e 6f 3a 20 40  openssl_bio.o: @
03b0: 73 72 63 64 69 72 40 2f 74 6c 73 5f 6f 70 65 6e  srcdir@/tls_open
03c0: 73 73 6c 5f 62 69 6f 2e 63 20 40 73 72 63 64 69  ssl_bio.c @srcdi
03d0: 72 40 2f 74 6c 73 49 6e 74 2e 68 20 4d 61 6b 65  r@/tlsInt.h Make
03e0: 66 69 6c 65 0a 74 6c 73 49 4f 2e 6f 3a 20 40 73  file.tlsIO.o: @s
03f0: 72 63 64 69 72 40 2f 74 6c 73 49 4f 2e 63 20 40  rcdir@/tlsIO.c @
0400: 73 72 63 64 69 72 40 2f 74 6c 73 49 6e 74 2e 68  srcdir@/tlsInt.h
0410: 20 4d 61 6b 65 66 69 6c 65 0a 74 6c 73 58 35 30   Makefile.tlsX50
0420: 39 2e 6f 3a 20 40 73 72 63 64 69 72 40 2f 74 6c  9.o: @srcdir@/tl
0430: 73 58 35 30 39 2e 63 20 40 73 72 63 64 69 72 40  sX509.c @srcdir@
0440: 2f 74 6c 73 49 6e 74 2e 68 20 4d 61 6b 65 66 69  /tlsInt.h Makefi
0450: 6c 65 0a 0a 23 20 43 72 65 61 74 65 20 61 20 43  le..# Create a C
0460: 2d 73 6f 75 72 63 65 2d 69 66 69 65 64 20 76 65  -source-ified ve
0470: 72 73 69 6f 6e 20 6f 66 20 74 68 65 20 73 63 72  rsion of the scr
0480: 69 70 74 20 72 65 73 6f 75 72 63 65 73 0a 23 20  ipt resources.# 
0490: 66 6f 72 20 54 63 6c 54 4c 53 20 73 6f 20 74 68  for TclTLS so th
04a0: 61 74 20 77 65 20 6f 6e 6c 79 20 6e 65 65 64 20  at we only need 
04b0: 61 20 73 69 6e 67 6c 65 20 66 69 6c 65 20 74 6f  a single file to
04c0: 20 65 6e 61 62 6c 65 0a 23 20 74 68 69 73 20 65   enable.# this e
04d0: 78 74 65 6e 73 69 6f 6e 0a 40 73 72 63 64 69 72  xtension.@srcdir
04e0: 40 2f 74 6c 73 2e 74 63 6c 2e 68 3a 20 40 73 72  @/tls.tcl.h: @sr
04f0: 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c 0a 09 40  cdir@/tls.tcl..@
0500: 58 58 44 40 20 2d 69 20 3c 20 27 40 73 72 63 64  XXD@ -i < '@srcd
0510: 69 72 40 2f 74 6c 73 2e 74 63 6c 27 20 3e 20 27  ir@/tls.tcl' > '
0520: 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c  @srcdir@/tls.tcl
0530: 2e 68 2e 6e 65 77 27 0a 09 6d 76 20 27 40 73 72  .h.new'..mv '@sr
0540: 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c 2e 68 2e  cdir@/tls.tcl.h.
0550: 6e 65 77 27 20 27 40 73 72 63 64 69 72 40 2f 74  new' '@srcdir@/t
0560: 6c 73 2e 74 63 6c 2e 68 27 0a 0a 23 20 43 72 65  ls.tcl.h'..# Cre
0570: 61 74 65 20 64 65 66 61 75 6c 74 20 44 48 20 70  ate default DH p
0580: 61 72 61 6d 65 74 65 72 73 0a 64 68 5f 70 61 72  arameters.dh_par
0590: 61 6d 73 2e 68 3a 20 40 73 72 63 64 69 72 40 2f  ams.h: @srcdir@/
05a0: 67 65 6e 5f 64 68 5f 70 61 72 61 6d 73 20 4d 61  gen_dh_params Ma
05b0: 6b 65 66 69 6c 65 0a 09 40 73 72 63 64 69 72 40  kefile..@srcdir@
05c0: 2f 67 65 6e 5f 64 68 5f 70 61 72 61 6d 73 20 40  /gen_dh_params @
05d0: 47 45 4e 5f 44 48 5f 50 41 52 41 4d 53 5f 41 52  GEN_DH_PARAMS_AR
05e0: 47 53 40 20 3e 20 64 68 5f 70 61 72 61 6d 73 2e  GS@ > dh_params.
05f0: 68 2e 6e 65 77 0a 09 6d 76 20 64 68 5f 70 61 72  h.new..mv dh_par
0600: 61 6d 73 2e 68 2e 6e 65 77 20 64 68 5f 70 61 72  ams.h.new dh_par
0610: 61 6d 73 2e 68 0a 0a 23 20 47 65 6e 65 72 69 63  ams.h..# Generic
0620: 20 74 61 72 67 65 74 20 66 6f 72 20 62 75 69 6c   target for buil
0630: 64 69 6e 67 20 66 69 6c 65 73 20 66 72 6f 6d 20  ding files from 
0640: 74 68 65 20 22 73 72 63 64 69 72 22 0a 23 20 74  the "srcdir".# t
0650: 72 65 65 20 2d 2d 20 74 68 65 20 64 65 66 61 75  ree -- the defau
0660: 6c 74 20 74 61 72 67 65 74 20 77 69 6c 6c 20 6e  lt target will n
0670: 6f 74 20 6d 61 74 63 68 20 70 61 74 68 73 0a 2e  ot match paths..
0680: 63 2e 6f 3a 0a 09 24 28 43 43 29 20 24 28 43 50  c.o:..$(CC) $(CP
0690: 50 46 4c 41 47 53 29 20 24 28 43 46 4c 41 47 53  PFLAGS) $(CFLAGS
06a0: 29 20 2d 6f 20 22 24 40 22 20 2d 63 20 22 24 3c  ) -o "$@" -c "$<
06b0: 22 0a 0a 23 20 49 6e 73 74 61 6c 6c 20 74 68 65  "..# Install the
06c0: 20 65 78 74 65 6e 73 69 6f 6e 0a 69 6e 73 74 61   extension.insta
06d0: 6c 6c 3a 20 40 45 58 54 45 4e 53 49 4f 4e 5f 54  ll: @EXTENSION_T
06e0: 41 52 47 45 54 40 20 70 6b 67 49 6e 64 65 78 2e  ARGET@ pkgIndex.
06f0: 74 63 6c 0a 09 24 28 49 4e 53 54 41 4c 4c 29 20  tcl..$(INSTALL) 
0700: 2d 64 20 27 24 28 44 45 53 54 44 49 52 29 24 28  -d '$(DESTDIR)$(
0710: 50 41 43 4b 41 47 45 5f 49 4e 53 54 41 4c 4c 5f  PACKAGE_INSTALL_
0720: 44 49 52 29 27 0a 09 24 28 49 4e 53 54 41 4c 4c  DIR)'..$(INSTALL
0730: 29 20 2d 74 20 27 24 28 44 45 53 54 44 49 52 29  ) -t '$(DESTDIR)
0740: 24 28 50 41 43 4b 41 47 45 5f 49 4e 53 54 41 4c  $(PACKAGE_INSTAL
0750: 4c 5f 44 49 52 29 27 20 40 45 58 54 45 4e 53 49  L_DIR)' @EXTENSI
0760: 4f 4e 5f 54 41 52 47 45 54 40 20 70 6b 67 49 6e  ON_TARGET@ pkgIn
0770: 64 65 78 2e 74 63 6c 0a 0a 23 20 43 6c 65 61 6e  dex.tcl..# Clean
0780: 20 74 68 65 20 6c 6f 63 61 6c 20 62 75 69 6c 64   the local build
0790: 20 64 69 72 65 63 74 6f 72 79 20 66 6f 72 20 72   directory for r
07a0: 65 62 75 69 6c 64 20 61 67 61 69 6e 73 74 20 74  ebuild against t
07b0: 68 65 20 73 61 6d 65 20 63 6f 6e 66 69 67 75 72  he same configur
07c0: 61 74 69 6f 6e 0a 63 6c 65 61 6e 3a 0a 09 72 6d  ation.clean:..rm
07d0: 20 2d 66 20 74 6c 73 2e 6f 20 74 6c 73 5f 6f 70   -f tls.o tls_op
07e0: 65 6e 73 73 6c 5f 62 69 6f 2e 6f 20 74 6c 73 49  enssl_bio.o tlsI
07f0: 4f 2e 6f 20 74 6c 73 58 35 30 39 2e 6f 0a 09 72  O.o tlsX509.o..r
0800: 6d 20 2d 66 20 74 63 6c 74 6c 73 2e 40 53 48 4f  m -f tcltls.@SHO
0810: 42 4a 45 58 54 40 0a 09 72 6d 20 2d 66 20 74 63  BJEXT@..rm -f tc
0820: 6c 74 6c 73 2e 61 2e 6e 65 77 20 74 63 6c 74 6c  ltls.a.new tcltl
0830: 73 2e 61 0a 0a 23 20 43 6c 65 61 6e 20 74 68 65  s.a..# Clean the
0840: 20 6c 6f 63 61 6c 20 62 75 69 6c 64 20 64 69 72   local build dir
0850: 65 63 74 6f 72 79 20 62 61 63 6b 20 74 6f 20 77  ectory back to w
0860: 68 61 74 20 69 74 20 77 61 73 20 61 66 74 65 72  hat it was after
0870: 20 75 6e 70 61 63 6b 69 6e 67 20 74 68 65 0a 23   unpacking the.#
0880: 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 74 61   distribution ta
0890: 72 62 61 6c 6c 0a 64 69 73 74 63 6c 65 61 6e 3a  rball.distclean:
08a0: 20 63 6c 65 61 6e 0a 09 72 6d 20 2d 66 20 63 6f   clean..rm -f co
08b0: 6e 66 69 67 2e 6c 6f 67 20 63 6f 6e 66 69 67 2e  nfig.log config.
08c0: 73 74 61 74 75 73 0a 09 72 6d 20 2d 66 20 64 68  status..rm -f dh
08d0: 5f 70 61 72 61 6d 73 2e 68 2e 6e 65 77 20 64 68  _params.h.new dh
08e0: 5f 70 61 72 61 6d 73 2e 68 0a 09 72 6d 20 2d 66  _params.h..rm -f
08f0: 20 4d 61 6b 65 66 69 6c 65 20 70 6b 67 49 6e 64   Makefile pkgInd
0900: 65 78 2e 74 63 6c 0a 09 72 6d 20 2d 66 20 74 63  ex.tcl..rm -f tc
0910: 6c 74 6c 73 2e 61 2e 6c 69 6e 6b 61 64 64 0a 0a  ltls.a.linkadd..
0920: 23 20 43 6c 65 61 6e 20 74 68 65 20 6c 6f 63 61  # Clean the loca
0930: 6c 20 62 75 69 6c 64 20 64 69 72 65 63 74 6f 72  l build director
0940: 79 20 62 61 63 6b 20 74 6f 20 6f 6e 6c 79 20 74  y back to only t
0950: 68 69 6e 67 20 74 68 69 6e 67 73 20 74 68 61 74  hing things that
0960: 20 65 78 69 73 74 20 69 6e 0a 23 20 76 65 72 73   exist in.# vers
0970: 69 6f 6e 20 63 6f 6e 74 72 6f 6c 20 73 79 73 74  ion control syst
0980: 65 6d 0a 6d 72 70 72 6f 70 65 72 3a 20 64 69 73  em.mrproper: dis
0990: 74 63 6c 65 61 6e 0a 09 72 6d 20 2d 66 20 40 73  tclean..rm -f @s
09a0: 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c 2e 68  rcdir@/tls.tcl.h
09b0: 0a 09 72 6d 20 2d 66 20 40 73 72 63 64 69 72 40  ..rm -f @srcdir@
09c0: 2f 63 6f 6e 66 69 67 75 72 65 20 40 73 72 63 64  /configure @srcd
09d0: 69 72 40 2f 63 6f 6e 66 69 67 2e 73 75 62 20 40  ir@/config.sub @
09e0: 73 72 63 64 69 72 40 2f 63 6f 6e 66 69 67 2e 67  srcdir@/config.g
09f0: 75 65 73 73 20 40 73 72 63 64 69 72 40 2f 69 6e  uess @srcdir@/in
0a00: 73 74 61 6c 6c 2d 73 68 0a 09 72 6d 20 2d 66 20  stall-sh..rm -f 
0a10: 40 73 72 63 64 69 72 40 2f 61 63 6c 6f 63 61 6c  @srcdir@/aclocal
0a20: 2e 6d 34 0a 09 72 6d 20 2d 72 66 20 40 73 72 63  .m4..rm -rf @src
0a30: 64 69 72 40 2f 61 75 74 6f 6d 34 74 65 2e 63 61  dir@/autom4te.ca
0a40: 63 68 65 0a 0a 2e 50 48 4f 4e 59 3a 20 61 6c 6c  che...PHONY: all
0a50: 20 69 6e 73 74 61 6c 6c 20 63 6c 65 61 6e 20 64   install clean d
0a60: 69 73 74 63 6c 65 61 6e 20 6d 72 70 72 6f 70 65  istclean mrprope
0a70: 72 0a                                            r.