Hex Artifact Content

Artifact f7161ac135bd4d06994f9ff51e4b9f13cebd304e:


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: 42 49 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c  BIO.o tlsIO.o tl
01c0: 73 58 35 30 39 2e 6f 20 4d 61 6b 65 66 69 6c 65  sX509.o Makefile
01d0: 0a 09 24 28 43 43 29 20 24 28 43 50 50 46 4c 41  ..$(CC) $(CPPFLA
01e0: 47 53 29 20 24 28 43 46 4c 41 47 53 29 20 24 28  GS) $(CFLAGS) $(
01f0: 4c 44 46 4c 41 47 53 29 20 2d 6f 20 74 63 6c 74  LDFLAGS) -o tclt
0200: 6c 73 2e 40 53 48 4f 42 4a 45 58 54 40 20 74 6c  ls.@SHOBJEXT@ tl
0210: 73 2e 6f 20 74 6c 73 42 49 4f 2e 6f 20 74 6c 73  s.o tlsBIO.o tls
0220: 49 4f 2e 6f 20 74 6c 73 58 35 30 39 2e 6f 20 24  IO.o tlsX509.o $
0230: 28 4c 49 42 53 29 0a 0a 23 20 54 68 65 20 73 74  (LIBS)..# The st
0240: 61 74 69 63 20 74 61 72 67 65 74 0a 74 63 6c 74  atic target.tclt
0250: 6c 73 2e 40 41 52 45 58 54 40 3a 20 74 6c 73 2e  ls.@AREXT@: tls.
0260: 6f 20 74 6c 73 42 49 4f 2e 6f 20 74 6c 73 49 4f  o tlsBIO.o tlsIO
0270: 2e 6f 20 74 6c 73 58 35 30 39 2e 6f 20 4d 61 6b  .o tlsX509.o Mak
0280: 65 66 69 6c 65 0a 09 24 28 41 52 29 20 72 63 75  efile..$(AR) rcu
0290: 20 74 63 6c 74 6c 73 2e 61 2e 6e 65 77 20 74 6c   tcltls.a.new tl
02a0: 73 2e 6f 20 74 6c 73 42 49 4f 2e 6f 20 74 6c 73  s.o tlsBIO.o tls
02b0: 49 4f 2e 6f 20 74 6c 73 58 35 30 39 2e 6f 0a 09  IO.o tlsX509.o..
02c0: 24 28 52 41 4e 4c 49 42 29 20 74 63 6c 74 6c 73  $(RANLIB) tcltls
02d0: 2e 61 2e 6e 65 77 0a 09 6d 76 20 74 63 6c 74 6c  .a.new..mv tcltl
02e0: 73 2e 61 2e 6e 65 77 20 74 63 6c 74 6c 73 2e 61  s.a.new tcltls.a
02f0: 0a 0a 23 20 44 65 70 65 6e 64 65 6e 63 69 65 73  ..# Dependencies
0300: 20 66 6f 72 20 61 6c 6c 20 6f 75 72 20 74 61 72   for all our tar
0310: 67 65 74 73 0a 74 6c 73 2e 6f 3a 20 40 73 72 63  gets.tls.o: @src
0320: 64 69 72 40 2f 74 6c 73 2e 63 20 40 73 72 63 64  dir@/tls.c @srcd
0330: 69 72 40 2f 74 6c 73 49 6e 74 2e 68 20 40 73 72  ir@/tlsInt.h @sr
0340: 63 64 69 72 40 2f 74 63 6c 4f 70 74 73 2e 68 20  cdir@/tclOpts.h 
0350: 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c  @srcdir@/tls.tcl
0360: 2e 68 20 64 68 5f 70 61 72 61 6d 73 2e 68 20 4d  .h dh_params.h M
0370: 61 6b 65 66 69 6c 65 0a 74 6c 73 42 49 4f 2e 6f  akefile.tlsBIO.o
0380: 3a 20 40 73 72 63 64 69 72 40 2f 74 6c 73 42 49  : @srcdir@/tlsBI
0390: 4f 2e 63 20 40 73 72 63 64 69 72 40 2f 74 6c 73  O.c @srcdir@/tls
03a0: 49 6e 74 2e 68 20 4d 61 6b 65 66 69 6c 65 0a 74  Int.h Makefile.t
03b0: 6c 73 49 4f 2e 6f 3a 20 40 73 72 63 64 69 72 40  lsIO.o: @srcdir@
03c0: 2f 74 6c 73 49 4f 2e 63 20 40 73 72 63 64 69 72  /tlsIO.c @srcdir
03d0: 40 2f 74 6c 73 49 6e 74 2e 68 20 4d 61 6b 65 66  @/tlsInt.h Makef
03e0: 69 6c 65 0a 74 6c 73 58 35 30 39 2e 6f 3a 20 40  ile.tlsX509.o: @
03f0: 73 72 63 64 69 72 40 2f 74 6c 73 58 35 30 39 2e  srcdir@/tlsX509.
0400: 63 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49 6e  c @srcdir@/tlsIn
0410: 74 2e 68 20 4d 61 6b 65 66 69 6c 65 0a 0a 23 20  t.h Makefile..# 
0420: 43 72 65 61 74 65 20 61 20 43 2d 73 6f 75 72 63  Create a C-sourc
0430: 65 2d 69 66 69 65 64 20 76 65 72 73 69 6f 6e 20  e-ified version 
0440: 6f 66 20 74 68 65 20 73 63 72 69 70 74 20 72 65  of the script re
0450: 73 6f 75 72 63 65 73 0a 23 20 66 6f 72 20 54 63  sources.# for Tc
0460: 6c 54 4c 53 20 73 6f 20 74 68 61 74 20 77 65 20  lTLS so that we 
0470: 6f 6e 6c 79 20 6e 65 65 64 20 61 20 73 69 6e 67  only need a sing
0480: 6c 65 20 66 69 6c 65 20 74 6f 20 65 6e 61 62 6c  le file to enabl
0490: 65 0a 23 20 74 68 69 73 20 65 78 74 65 6e 73 69  e.# this extensi
04a0: 6f 6e 0a 40 73 72 63 64 69 72 40 2f 74 6c 73 2e  on.@srcdir@/tls.
04b0: 74 63 6c 2e 68 3a 20 40 73 72 63 64 69 72 40 2f  tcl.h: @srcdir@/
04c0: 74 6c 73 2e 74 63 6c 20 4d 61 6b 65 66 69 6c 65  tls.tcl Makefile
04d0: 0a 09 40 58 58 44 40 20 2d 69 20 3c 20 27 40 73  ..@XXD@ -i < '@s
04e0: 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c 27 20  rcdir@/tls.tcl' 
04f0: 3e 20 27 40 73 72 63 64 69 72 40 2f 74 6c 73 2e  > '@srcdir@/tls.
0500: 74 63 6c 2e 68 2e 6e 65 77 27 0a 09 6d 76 20 27  tcl.h.new'..mv '
0510: 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c  @srcdir@/tls.tcl
0520: 2e 68 2e 6e 65 77 27 20 27 40 73 72 63 64 69 72  .h.new' '@srcdir
0530: 40 2f 74 6c 73 2e 74 63 6c 2e 68 27 0a 0a 23 20  @/tls.tcl.h'..# 
0540: 43 72 65 61 74 65 20 64 65 66 61 75 6c 74 20 44  Create default D
0550: 48 20 70 61 72 61 6d 65 74 65 72 73 0a 64 68 5f  H parameters.dh_
0560: 70 61 72 61 6d 73 2e 68 3a 20 40 73 72 63 64 69  params.h: @srcdi
0570: 72 40 2f 67 65 6e 5f 64 68 5f 70 61 72 61 6d 73  r@/gen_dh_params
0580: 20 4d 61 6b 65 66 69 6c 65 0a 09 40 73 72 63 64   Makefile..@srcd
0590: 69 72 40 2f 67 65 6e 5f 64 68 5f 70 61 72 61 6d  ir@/gen_dh_param
05a0: 73 20 40 47 45 4e 5f 44 48 5f 50 41 52 41 4d 53  s @GEN_DH_PARAMS
05b0: 5f 41 52 47 53 40 20 3e 20 64 68 5f 70 61 72 61  _ARGS@ > dh_para
05c0: 6d 73 2e 68 2e 6e 65 77 0a 09 6d 76 20 64 68 5f  ms.h.new..mv dh_
05d0: 70 61 72 61 6d 73 2e 68 2e 6e 65 77 20 64 68 5f  params.h.new dh_
05e0: 70 61 72 61 6d 73 2e 68 0a 0a 23 20 47 65 6e 65  params.h..# Gene
05f0: 72 69 63 20 74 61 72 67 65 74 20 66 6f 72 20 62  ric target for b
0600: 75 69 6c 64 69 6e 67 20 66 69 6c 65 73 20 66 72  uilding files fr
0610: 6f 6d 20 74 68 65 20 22 73 72 63 64 69 72 22 0a  om the "srcdir".
0620: 23 20 74 72 65 65 20 2d 2d 20 74 68 65 20 64 65  # tree -- the de
0630: 66 61 75 6c 74 20 74 61 72 67 65 74 20 77 69 6c  fault target wil
0640: 6c 20 6e 6f 74 20 6d 61 74 63 68 20 70 61 74 68  l not match path
0650: 73 0a 2e 63 2e 6f 3a 0a 09 24 28 43 43 29 20 24  s..c.o:..$(CC) $
0660: 28 43 50 50 46 4c 41 47 53 29 20 24 28 43 46 4c  (CPPFLAGS) $(CFL
0670: 41 47 53 29 20 2d 6f 20 22 24 40 22 20 2d 63 20  AGS) -o "$@" -c 
0680: 22 24 3c 22 0a 0a 23 20 49 6e 73 74 61 6c 6c 20  "$<"..# Install 
0690: 74 68 65 20 65 78 74 65 6e 73 69 6f 6e 0a 69 6e  the extension.in
06a0: 73 74 61 6c 6c 3a 20 40 45 58 54 45 4e 53 49 4f  stall: @EXTENSIO
06b0: 4e 5f 54 41 52 47 45 54 40 20 70 6b 67 49 6e 64  N_TARGET@ pkgInd
06c0: 65 78 2e 74 63 6c 0a 09 24 28 49 4e 53 54 41 4c  ex.tcl..$(INSTAL
06d0: 4c 29 20 2d 64 20 27 24 28 44 45 53 54 44 49 52  L) -d '$(DESTDIR
06e0: 29 24 28 50 41 43 4b 41 47 45 5f 49 4e 53 54 41  )$(PACKAGE_INSTA
06f0: 4c 4c 5f 44 49 52 29 27 0a 09 24 28 49 4e 53 54  LL_DIR)'..$(INST
0700: 41 4c 4c 29 20 2d 74 20 27 24 28 44 45 53 54 44  ALL) -t '$(DESTD
0710: 49 52 29 24 28 50 41 43 4b 41 47 45 5f 49 4e 53  IR)$(PACKAGE_INS
0720: 54 41 4c 4c 5f 44 49 52 29 27 20 40 45 58 54 45  TALL_DIR)' @EXTE
0730: 4e 53 49 4f 4e 5f 54 41 52 47 45 54 40 20 70 6b  NSION_TARGET@ pk
0740: 67 49 6e 64 65 78 2e 74 63 6c 0a 0a 23 20 43 6c  gIndex.tcl..# Cl
0750: 65 61 6e 20 74 68 65 20 6c 6f 63 61 6c 20 62 75  ean the local bu
0760: 69 6c 64 20 64 69 72 65 63 74 6f 72 79 20 66 6f  ild directory fo
0770: 72 20 72 65 62 75 69 6c 64 20 61 67 61 69 6e 73  r rebuild agains
0780: 74 20 74 68 65 20 73 61 6d 65 20 63 6f 6e 66 69  t the same confi
0790: 67 75 72 61 74 69 6f 6e 0a 63 6c 65 61 6e 3a 0a  guration.clean:.
07a0: 09 72 6d 20 2d 66 20 74 6c 73 2e 6f 20 74 6c 73  .rm -f tls.o tls
07b0: 42 49 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c  BIO.o tlsIO.o tl
07c0: 73 58 35 30 39 2e 6f 0a 09 72 6d 20 2d 66 20 74  sX509.o..rm -f t
07d0: 63 6c 74 6c 73 2e 40 53 48 4f 42 4a 45 58 54 40  cltls.@SHOBJEXT@
07e0: 0a 09 72 6d 20 2d 66 20 74 63 6c 74 6c 73 2e 61  ..rm -f tcltls.a
07f0: 2e 6e 65 77 20 74 63 6c 74 6c 73 2e 61 0a 0a 23  .new tcltls.a..#
0800: 20 43 6c 65 61 6e 20 74 68 65 20 6c 6f 63 61 6c   Clean the local
0810: 20 62 75 69 6c 64 20 64 69 72 65 63 74 6f 72 79   build directory
0820: 20 62 61 63 6b 20 74 6f 20 77 68 61 74 20 69 74   back to what it
0830: 20 77 61 73 20 61 66 74 65 72 20 75 6e 70 61 63   was after unpac
0840: 6b 69 6e 67 20 74 68 65 0a 23 20 64 69 73 74 72  king the.# distr
0850: 69 62 75 74 69 6f 6e 20 74 61 72 62 61 6c 6c 0a  ibution tarball.
0860: 64 69 73 74 63 6c 65 61 6e 3a 20 63 6c 65 61 6e  distclean: clean
0870: 0a 09 72 6d 20 2d 66 20 63 6f 6e 66 69 67 2e 6c  ..rm -f config.l
0880: 6f 67 20 63 6f 6e 66 69 67 2e 73 74 61 74 75 73  og config.status
0890: 0a 09 72 6d 20 2d 66 20 64 68 5f 70 61 72 61 6d  ..rm -f dh_param
08a0: 73 2e 68 2e 6e 65 77 20 64 68 5f 70 61 72 61 6d  s.h.new dh_param
08b0: 73 2e 68 0a 09 72 6d 20 2d 66 20 4d 61 6b 65 66  s.h..rm -f Makef
08c0: 69 6c 65 20 70 6b 67 49 6e 64 65 78 2e 74 63 6c  ile pkgIndex.tcl
08d0: 0a 09 72 6d 20 2d 66 20 74 63 6c 74 6c 73 2e 61  ..rm -f tcltls.a
08e0: 2e 6c 69 6e 6b 61 64 64 0a 0a 23 20 43 6c 65 61  .linkadd..# Clea
08f0: 6e 20 74 68 65 20 6c 6f 63 61 6c 20 62 75 69 6c  n the local buil
0900: 64 20 64 69 72 65 63 74 6f 72 79 20 62 61 63 6b  d directory back
0910: 20 74 6f 20 6f 6e 6c 79 20 74 68 69 6e 67 20 74   to only thing t
0920: 68 69 6e 67 73 20 74 68 61 74 20 65 78 69 73 74  hings that exist
0930: 20 69 6e 0a 23 20 76 65 72 73 69 6f 6e 20 63 6f   in.# version co
0940: 6e 74 72 6f 6c 20 73 79 73 74 65 6d 0a 6d 72 70  ntrol system.mrp
0950: 72 6f 70 65 72 3a 20 64 69 73 74 63 6c 65 61 6e  roper: distclean
0960: 0a 09 72 6d 20 2d 66 20 40 73 72 63 64 69 72 40  ..rm -f @srcdir@
0970: 2f 74 6c 73 2e 74 63 6c 2e 68 0a 09 72 6d 20 2d  /tls.tcl.h..rm -
0980: 66 20 40 73 72 63 64 69 72 40 2f 63 6f 6e 66 69  f @srcdir@/confi
0990: 67 75 72 65 20 40 73 72 63 64 69 72 40 2f 63 6f  gure @srcdir@/co
09a0: 6e 66 69 67 2e 73 75 62 20 40 73 72 63 64 69 72  nfig.sub @srcdir
09b0: 40 2f 63 6f 6e 66 69 67 2e 67 75 65 73 73 20 40  @/config.guess @
09c0: 73 72 63 64 69 72 40 2f 69 6e 73 74 61 6c 6c 2d  srcdir@/install-
09d0: 73 68 0a 09 72 6d 20 2d 66 20 40 73 72 63 64 69  sh..rm -f @srcdi
09e0: 72 40 2f 61 63 6c 6f 63 61 6c 2e 6d 34 0a 09 72  r@/aclocal.m4..r
09f0: 6d 20 2d 72 66 20 40 73 72 63 64 69 72 40 2f 61  m -rf @srcdir@/a
0a00: 75 74 6f 6d 34 74 65 2e 63 61 63 68 65 0a 0a 2e  utom4te.cache...
0a10: 50 48 4f 4e 59 3a 20 61 6c 6c 20 69 6e 73 74 61  PHONY: all insta
0a20: 6c 6c 20 63 6c 65 61 6e 20 64 69 73 74 63 6c 65  ll clean distcle
0a30: 61 6e 20 6d 72 70 72 6f 70 65 72 0a              an mrproper.