Hex Artifact Content

Artifact 5ac683f9827f93c42d55948b2a1d4b31b91419c4:


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 20 4d 61 6b 65 66 69 6c 65 0a  X509.o Makefile.
01c0: 09 24 28 43 43 29 20 24 28 43 50 50 46 4c 41 47  .$(CC) $(CPPFLAG
01d0: 53 29 20 24 28 43 46 4c 41 47 53 29 20 24 28 4c  S) $(CFLAGS) $(L
01e0: 44 46 4c 41 47 53 29 20 2d 6f 20 74 63 6c 74 6c  DFLAGS) -o tcltl
01f0: 73 2e 40 53 48 4f 42 4a 45 58 54 40 20 74 6c 73  s.@SHOBJEXT@ tls
0200: 2e 6f 20 74 6c 73 42 49 4f 2e 6f 20 74 6c 73 49  .o tlsBIO.o tlsI
0210: 4f 2e 6f 20 74 6c 73 58 35 30 39 2e 6f 20 24 28  O.o tlsX509.o $(
0220: 4c 49 42 53 29 0a 0a 23 20 54 68 65 20 73 74 61  LIBS)..# The sta
0230: 74 69 63 20 74 61 72 67 65 74 0a 74 63 6c 74 6c  tic target.tcltl
0240: 73 2e 61 3a 20 74 6c 73 2e 6f 20 74 6c 73 42 49  s.a: tls.o tlsBI
0250: 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c 73 58  O.o tlsIO.o tlsX
0260: 35 30 39 2e 6f 20 4d 61 6b 65 66 69 6c 65 0a 09  509.o Makefile..
0270: 24 28 41 52 29 20 72 63 75 20 74 63 6c 74 6c 73  $(AR) rcu tcltls
0280: 2e 61 2e 6e 65 77 20 74 6c 73 2e 6f 20 74 6c 73  .a.new tls.o tls
0290: 42 49 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c  BIO.o tlsIO.o tl
02a0: 73 58 35 30 39 2e 6f 0a 09 24 28 52 41 4e 4c 49  sX509.o..$(RANLI
02b0: 42 29 20 74 63 6c 74 6c 73 2e 61 2e 6e 65 77 0a  B) tcltls.a.new.
02c0: 09 6d 76 20 74 63 6c 74 6c 73 2e 61 2e 6e 65 77  .mv tcltls.a.new
02d0: 20 74 63 6c 74 6c 73 2e 61 0a 0a 23 20 44 65 70   tcltls.a..# Dep
02e0: 65 6e 64 65 6e 63 69 65 73 20 66 6f 72 20 61 6c  endencies for al
02f0: 6c 20 6f 75 72 20 74 61 72 67 65 74 73 0a 74 6c  l our targets.tl
0300: 73 2e 6f 3a 20 40 73 72 63 64 69 72 40 2f 74 6c  s.o: @srcdir@/tl
0310: 73 2e 63 20 40 73 72 63 64 69 72 40 2f 74 6c 73  s.c @srcdir@/tls
0320: 49 6e 74 2e 68 20 40 73 72 63 64 69 72 40 2f 74  Int.h @srcdir@/t
0330: 63 6c 4f 70 74 73 2e 68 20 40 73 72 63 64 69 72  clOpts.h @srcdir
0340: 40 2f 74 6c 73 2e 74 63 6c 2e 68 20 64 68 5f 70  @/tls.tcl.h dh_p
0350: 61 72 61 6d 73 2e 68 20 4d 61 6b 65 66 69 6c 65  arams.h Makefile
0360: 0a 74 6c 73 42 49 4f 2e 6f 3a 20 40 73 72 63 64  .tlsBIO.o: @srcd
0370: 69 72 40 2f 74 6c 73 42 49 4f 2e 63 20 40 73 72  ir@/tlsBIO.c @sr
0380: 63 64 69 72 40 2f 74 6c 73 49 6e 74 2e 68 20 4d  cdir@/tlsInt.h M
0390: 61 6b 65 66 69 6c 65 0a 74 6c 73 49 4f 2e 6f 3a  akefile.tlsIO.o:
03a0: 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49 4f 2e   @srcdir@/tlsIO.
03b0: 63 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49 6e  c @srcdir@/tlsIn
03c0: 74 2e 68 20 4d 61 6b 65 66 69 6c 65 0a 74 6c 73  t.h Makefile.tls
03d0: 58 35 30 39 2e 6f 3a 20 40 73 72 63 64 69 72 40  X509.o: @srcdir@
03e0: 2f 74 6c 73 58 35 30 39 2e 63 20 40 73 72 63 64  /tlsX509.c @srcd
03f0: 69 72 40 2f 74 6c 73 49 6e 74 2e 68 20 4d 61 6b  ir@/tlsInt.h Mak
0400: 65 66 69 6c 65 0a 0a 23 20 43 72 65 61 74 65 20  efile..# Create 
0410: 61 20 43 2d 73 6f 75 72 63 65 2d 69 66 69 65 64  a C-source-ified
0420: 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 20   version of the 
0430: 73 63 72 69 70 74 20 72 65 73 6f 75 72 63 65 73  script resources
0440: 0a 23 20 66 6f 72 20 54 63 6c 54 4c 53 20 73 6f  .# for TclTLS so
0450: 20 74 68 61 74 20 77 65 20 6f 6e 6c 79 20 6e 65   that we only ne
0460: 65 64 20 61 20 73 69 6e 67 6c 65 20 66 69 6c 65  ed a single file
0470: 20 74 6f 20 65 6e 61 62 6c 65 0a 23 20 74 68 69   to enable.# thi
0480: 73 20 65 78 74 65 6e 73 69 6f 6e 0a 40 73 72 63  s extension.@src
0490: 64 69 72 40 2f 74 6c 73 2e 74 63 6c 2e 68 3a 20  dir@/tls.tcl.h: 
04a0: 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c  @srcdir@/tls.tcl
04b0: 20 4d 61 6b 65 66 69 6c 65 0a 09 40 58 58 44 40   Makefile..@XXD@
04c0: 20 2d 69 20 3c 20 27 40 73 72 63 64 69 72 40 2f   -i < '@srcdir@/
04d0: 74 6c 73 2e 74 63 6c 27 20 3e 20 27 40 73 72 63  tls.tcl' > '@src
04e0: 64 69 72 40 2f 74 6c 73 2e 74 63 6c 2e 68 2e 6e  dir@/tls.tcl.h.n
04f0: 65 77 27 0a 09 6d 76 20 27 40 73 72 63 64 69 72  ew'..mv '@srcdir
0500: 40 2f 74 6c 73 2e 74 63 6c 2e 68 2e 6e 65 77 27  @/tls.tcl.h.new'
0510: 20 27 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74   '@srcdir@/tls.t
0520: 63 6c 2e 68 27 0a 0a 23 20 43 72 65 61 74 65 20  cl.h'..# Create 
0530: 64 65 66 61 75 6c 74 20 44 48 20 70 61 72 61 6d  default DH param
0540: 65 74 65 72 73 0a 64 68 5f 70 61 72 61 6d 73 2e  eters.dh_params.
0550: 68 3a 20 40 73 72 63 64 69 72 40 2f 67 65 6e 5f  h: @srcdir@/gen_
0560: 64 68 5f 70 61 72 61 6d 73 20 4d 61 6b 65 66 69  dh_params Makefi
0570: 6c 65 0a 09 40 73 72 63 64 69 72 40 2f 67 65 6e  le..@srcdir@/gen
0580: 5f 64 68 5f 70 61 72 61 6d 73 20 40 47 45 4e 5f  _dh_params @GEN_
0590: 44 48 5f 50 41 52 41 4d 53 5f 41 52 47 53 40 20  DH_PARAMS_ARGS@ 
05a0: 3e 20 64 68 5f 70 61 72 61 6d 73 2e 68 2e 6e 65  > dh_params.h.ne
05b0: 77 0a 09 6d 76 20 64 68 5f 70 61 72 61 6d 73 2e  w..mv dh_params.
05c0: 68 2e 6e 65 77 20 64 68 5f 70 61 72 61 6d 73 2e  h.new dh_params.
05d0: 68 0a 0a 23 20 47 65 6e 65 72 69 63 20 74 61 72  h..# Generic tar
05e0: 67 65 74 20 66 6f 72 20 62 75 69 6c 64 69 6e 67  get for building
05f0: 20 66 69 6c 65 73 20 66 72 6f 6d 20 74 68 65 20   files from the 
0600: 22 73 72 63 64 69 72 22 0a 23 20 74 72 65 65 20  "srcdir".# tree 
0610: 2d 2d 20 74 68 65 20 64 65 66 61 75 6c 74 20 74  -- the default t
0620: 61 72 67 65 74 20 77 69 6c 6c 20 6e 6f 74 20 6d  arget will not m
0630: 61 74 63 68 20 70 61 74 68 73 0a 2e 63 2e 6f 3a  atch paths..c.o:
0640: 0a 09 24 28 43 43 29 20 24 28 43 50 50 46 4c 41  ..$(CC) $(CPPFLA
0650: 47 53 29 20 24 28 43 46 4c 41 47 53 29 20 2d 6f  GS) $(CFLAGS) -o
0660: 20 22 24 40 22 20 2d 63 20 22 24 3c 22 0a 0a 23   "$@" -c "$<"..#
0670: 20 49 6e 73 74 61 6c 6c 20 74 68 65 20 65 78 74   Install the ext
0680: 65 6e 73 69 6f 6e 0a 69 6e 73 74 61 6c 6c 3a 20  ension.install: 
0690: 40 45 58 54 45 4e 53 49 4f 4e 5f 54 41 52 47 45  @EXTENSION_TARGE
06a0: 54 40 20 70 6b 67 49 6e 64 65 78 2e 74 63 6c 0a  T@ pkgIndex.tcl.
06b0: 09 24 28 49 4e 53 54 41 4c 4c 29 20 2d 64 20 27  .$(INSTALL) -d '
06c0: 24 28 44 45 53 54 44 49 52 29 24 28 50 41 43 4b  $(DESTDIR)$(PACK
06d0: 41 47 45 5f 49 4e 53 54 41 4c 4c 5f 44 49 52 29  AGE_INSTALL_DIR)
06e0: 27 0a 09 24 28 49 4e 53 54 41 4c 4c 29 20 2d 74  '..$(INSTALL) -t
06f0: 20 27 24 28 44 45 53 54 44 49 52 29 24 28 50 41   '$(DESTDIR)$(PA
0700: 43 4b 41 47 45 5f 49 4e 53 54 41 4c 4c 5f 44 49  CKAGE_INSTALL_DI
0710: 52 29 27 20 40 45 58 54 45 4e 53 49 4f 4e 5f 54  R)' @EXTENSION_T
0720: 41 52 47 45 54 40 20 70 6b 67 49 6e 64 65 78 2e  ARGET@ pkgIndex.
0730: 74 63 6c 0a 0a 23 20 43 6c 65 61 6e 20 74 68 65  tcl..# Clean the
0740: 20 6c 6f 63 61 6c 20 62 75 69 6c 64 20 64 69 72   local build dir
0750: 65 63 74 6f 72 79 20 66 6f 72 20 72 65 62 75 69  ectory for rebui
0760: 6c 64 20 61 67 61 69 6e 73 74 20 74 68 65 20 73  ld against the s
0770: 61 6d 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f  ame configuratio
0780: 6e 0a 63 6c 65 61 6e 3a 0a 09 72 6d 20 2d 66 20  n.clean:..rm -f 
0790: 74 6c 73 2e 6f 20 74 6c 73 42 49 4f 2e 6f 20 74  tls.o tlsBIO.o t
07a0: 6c 73 49 4f 2e 6f 20 74 6c 73 58 35 30 39 2e 6f  lsIO.o tlsX509.o
07b0: 0a 09 72 6d 20 2d 66 20 74 63 6c 74 6c 73 2e 40  ..rm -f tcltls.@
07c0: 53 48 4f 42 4a 45 58 54 40 0a 09 72 6d 20 2d 66  SHOBJEXT@..rm -f
07d0: 20 74 63 6c 74 6c 73 2e 61 2e 6e 65 77 20 74 63   tcltls.a.new tc
07e0: 6c 74 6c 73 2e 61 0a 0a 23 20 43 6c 65 61 6e 20  ltls.a..# Clean 
07f0: 74 68 65 20 6c 6f 63 61 6c 20 62 75 69 6c 64 20  the local build 
0800: 64 69 72 65 63 74 6f 72 79 20 62 61 63 6b 20 74  directory back t
0810: 6f 20 77 68 61 74 20 69 74 20 77 61 73 20 61 66  o what it was af
0820: 74 65 72 20 75 6e 70 61 63 6b 69 6e 67 20 74 68  ter unpacking th
0830: 65 0a 23 20 64 69 73 74 72 69 62 75 74 69 6f 6e  e.# distribution
0840: 20 74 61 72 62 61 6c 6c 0a 64 69 73 74 63 6c 65   tarball.distcle
0850: 61 6e 3a 20 63 6c 65 61 6e 0a 09 72 6d 20 2d 66  an: clean..rm -f
0860: 20 63 6f 6e 66 69 67 2e 6c 6f 67 20 63 6f 6e 66   config.log conf
0870: 69 67 2e 73 74 61 74 75 73 0a 09 72 6d 20 2d 66  ig.status..rm -f
0880: 20 64 68 5f 70 61 72 61 6d 73 2e 68 2e 6e 65 77   dh_params.h.new
0890: 20 64 68 5f 70 61 72 61 6d 73 2e 68 0a 09 72 6d   dh_params.h..rm
08a0: 20 2d 66 20 4d 61 6b 65 66 69 6c 65 20 70 6b 67   -f Makefile pkg
08b0: 49 6e 64 65 78 2e 74 63 6c 0a 0a 23 20 43 6c 65  Index.tcl..# Cle
08c0: 61 6e 20 74 68 65 20 6c 6f 63 61 6c 20 62 75 69  an the local bui
08d0: 6c 64 20 64 69 72 65 63 74 6f 72 79 20 62 61 63  ld directory bac
08e0: 6b 20 74 6f 20 6f 6e 6c 79 20 74 68 69 6e 67 20  k to only thing 
08f0: 74 68 69 6e 67 73 20 74 68 61 74 20 65 78 69 73  things that exis
0900: 74 20 69 6e 0a 23 20 76 65 72 73 69 6f 6e 20 63  t in.# version c
0910: 6f 6e 74 72 6f 6c 20 73 79 73 74 65 6d 0a 6d 72  ontrol system.mr
0920: 70 72 6f 70 65 72 3a 20 64 69 73 74 63 6c 65 61  proper: distclea
0930: 6e 0a 09 72 6d 20 2d 66 20 40 73 72 63 64 69 72  n..rm -f @srcdir
0940: 40 2f 74 6c 73 2e 74 63 6c 2e 68 0a 09 72 6d 20  @/tls.tcl.h..rm 
0950: 2d 66 20 40 73 72 63 64 69 72 40 2f 63 6f 6e 66  -f @srcdir@/conf
0960: 69 67 75 72 65 20 40 73 72 63 64 69 72 40 2f 63  igure @srcdir@/c
0970: 6f 6e 66 69 67 2e 73 75 62 20 40 73 72 63 64 69  onfig.sub @srcdi
0980: 72 40 2f 63 6f 6e 66 69 67 2e 67 75 65 73 73 20  r@/config.guess 
0990: 40 73 72 63 64 69 72 40 2f 69 6e 73 74 61 6c 6c  @srcdir@/install
09a0: 2d 73 68 0a 09 72 6d 20 2d 66 20 40 73 72 63 64  -sh..rm -f @srcd
09b0: 69 72 40 2f 61 63 6c 6f 63 61 6c 2e 6d 34 0a 09  ir@/aclocal.m4..
09c0: 72 6d 20 2d 72 66 20 40 73 72 63 64 69 72 40 2f  rm -rf @srcdir@/
09d0: 61 75 74 6f 6d 34 74 65 2e 63 61 63 68 65 0a 0a  autom4te.cache..
09e0: 2e 50 48 4f 4e 59 3a 20 61 6c 6c 20 69 6e 73 74  .PHONY: all inst
09f0: 61 6c 6c 20 63 6c 65 61 6e 20 64 69 73 74 63 6c  all clean distcl
0a00: 65 61 6e 20 6d 72 70 72 6f 70 65 72 0a           ean mrproper.