Hex Artifact Content

Artifact 767056b489af521d0880021aae7a3221a48df125:


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 40 44 45 46 53 40 0a 4c 44 46  cdir@ @DEFS@.LDF
0070: 4c 41 47 53 20 3d 20 40 4c 44 46 4c 41 47 53 40  LAGS = @LDFLAGS@
0080: 20 40 53 48 4f 42 4a 4c 44 46 4c 41 47 53 40 0a   @SHOBJLDFLAGS@.
0090: 4c 49 42 53 20 3d 20 40 4c 49 42 53 40 0a 49 4e  LIBS = @LIBS@.IN
00a0: 53 54 41 4c 4c 20 3d 20 40 49 4e 53 54 41 4c 4c  STALL = @INSTALL
00b0: 40 0a 50 41 43 4b 41 47 45 5f 56 45 52 53 49 4f  @.PACKAGE_VERSIO
00c0: 4e 20 3d 20 40 50 41 43 4b 41 47 45 5f 56 45 52  N = @PACKAGE_VER
00d0: 53 49 4f 4e 40 0a 54 43 4c 5f 50 41 43 4b 41 47  SION@.TCL_PACKAG
00e0: 45 5f 50 41 54 48 20 3d 20 40 54 43 4c 5f 50 41  E_PATH = @TCL_PA
00f0: 43 4b 41 47 45 5f 50 41 54 48 40 0a 50 41 43 4b  CKAGE_PATH@.PACK
0100: 41 47 45 5f 49 4e 53 54 41 4c 4c 5f 44 49 52 20  AGE_INSTALL_DIR 
0110: 3d 20 24 28 54 43 4c 5f 50 41 43 4b 41 47 45 5f  = $(TCL_PACKAGE_
0120: 50 41 54 48 29 2f 74 63 6c 74 6c 73 24 28 50 41  PATH)/tcltls$(PA
0130: 43 4b 41 47 45 5f 56 45 52 53 49 4f 4e 29 0a 0a  CKAGE_VERSION)..
0140: 61 6c 6c 3a 20 40 45 58 54 45 4e 53 49 4f 4e 5f  all: @EXTENSION_
0150: 54 41 52 47 45 54 40 0a 0a 23 20 54 68 65 20 73  TARGET@..# The s
0160: 68 61 72 65 64 20 6f 62 6a 65 63 74 20 74 61 72  hared object tar
0170: 67 65 74 0a 74 63 6c 74 6c 73 2e 40 53 48 4f 42  get.tcltls.@SHOB
0180: 4a 45 58 54 40 3a 20 74 6c 73 2e 6f 20 74 6c 73  JEXT@: tls.o tls
0190: 42 49 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c  BIO.o tlsIO.o tl
01a0: 73 58 35 30 39 2e 6f 0a 09 24 28 43 43 29 20 24  sX509.o..$(CC) $
01b0: 28 43 50 50 46 4c 41 47 53 29 20 24 28 43 46 4c  (CPPFLAGS) $(CFL
01c0: 41 47 53 29 20 24 28 4c 44 46 4c 41 47 53 29 20  AGS) $(LDFLAGS) 
01d0: 2d 6f 20 74 63 6c 74 6c 73 2e 40 53 48 4f 42 4a  -o tcltls.@SHOBJ
01e0: 45 58 54 40 20 74 6c 73 2e 6f 20 74 6c 73 42 49  EXT@ tls.o tlsBI
01f0: 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c 73 58  O.o tlsIO.o tlsX
0200: 35 30 39 2e 6f 20 24 28 4c 49 42 53 29 0a 0a 23  509.o $(LIBS)..#
0210: 20 54 68 65 20 73 74 61 74 69 63 20 74 61 72 67   The static targ
0220: 65 74 0a 74 63 6c 74 6c 73 2e 61 3a 20 74 6c 73  et.tcltls.a: tls
0230: 2e 6f 20 74 6c 73 42 49 4f 2e 6f 20 74 6c 73 49  .o tlsBIO.o tlsI
0240: 4f 2e 6f 20 74 6c 73 58 35 30 39 2e 6f 0a 09 24  O.o tlsX509.o..$
0250: 28 41 52 29 20 72 63 75 20 74 63 6c 74 6c 73 2e  (AR) rcu tcltls.
0260: 61 2e 6e 65 77 20 74 6c 73 2e 6f 20 74 6c 73 42  a.new tls.o tlsB
0270: 49 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c 73  IO.o tlsIO.o tls
0280: 58 35 30 39 2e 6f 0a 09 24 28 52 41 4e 4c 49 42  X509.o..$(RANLIB
0290: 29 20 74 63 6c 74 6c 73 2e 61 2e 6e 65 77 0a 09  ) tcltls.a.new..
02a0: 6d 76 20 74 63 6c 74 6c 73 2e 61 2e 6e 65 77 20  mv tcltls.a.new 
02b0: 74 63 6c 74 6c 73 2e 61 0a 0a 23 20 44 65 70 65  tcltls.a..# Depe
02c0: 6e 64 65 6e 63 69 65 73 20 66 6f 72 20 61 6c 6c  ndencies for all
02d0: 20 6f 75 72 20 74 61 72 67 65 74 73 0a 74 6c 73   our targets.tls
02e0: 2e 6f 3a 20 40 73 72 63 64 69 72 40 2f 74 6c 73  .o: @srcdir@/tls
02f0: 2e 63 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49  .c @srcdir@/tlsI
0300: 6e 74 2e 68 20 40 73 72 63 64 69 72 40 2f 74 63  nt.h @srcdir@/tc
0310: 6c 4f 70 74 73 2e 68 20 40 73 72 63 64 69 72 40  lOpts.h @srcdir@
0320: 2f 74 6c 73 2e 74 63 6c 2e 68 0a 74 6c 73 42 49  /tls.tcl.h.tlsBI
0330: 4f 2e 6f 3a 20 40 73 72 63 64 69 72 40 2f 74 6c  O.o: @srcdir@/tl
0340: 73 42 49 4f 2e 63 20 40 73 72 63 64 69 72 40 2f  sBIO.c @srcdir@/
0350: 74 6c 73 49 6e 74 2e 68 0a 74 6c 73 49 4f 2e 6f  tlsInt.h.tlsIO.o
0360: 3a 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49 4f  : @srcdir@/tlsIO
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 0a 74 6c 73 58 35 30 39 2e 6f 3a 20  nt.h.tlsX509.o: 
0390: 40 73 72 63 64 69 72 40 2f 74 6c 73 58 35 30 39  @srcdir@/tlsX509
03a0: 2e 63 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49  .c @srcdir@/tlsI
03b0: 6e 74 2e 68 0a 0a 23 20 43 72 65 61 74 65 20 61  nt.h..# Create a
03c0: 20 43 2d 73 6f 75 72 63 65 2d 69 66 69 65 64 20   C-source-ified 
03d0: 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 20 73  version of the s
03e0: 63 72 69 70 74 20 72 65 73 6f 75 72 63 65 73 0a  cript resources.
03f0: 23 20 66 6f 72 20 54 63 6c 54 4c 53 20 73 6f 20  # for TclTLS so 
0400: 74 68 61 74 20 77 65 20 6f 6e 6c 79 20 6e 65 65  that we only nee
0410: 64 20 61 20 73 69 6e 67 6c 65 20 66 69 6c 65 20  d a single file 
0420: 74 6f 20 65 6e 61 62 6c 65 0a 23 20 74 68 69 73  to enable.# this
0430: 20 65 78 74 65 6e 73 69 6f 6e 0a 40 73 72 63 64   extension.@srcd
0440: 69 72 40 2f 74 6c 73 2e 74 63 6c 2e 68 3a 20 40  ir@/tls.tcl.h: @
0450: 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c 0a  srcdir@/tls.tcl.
0460: 09 78 78 64 20 2d 69 20 3c 20 27 40 73 72 63 64  .xxd -i < '@srcd
0470: 69 72 40 2f 74 6c 73 2e 74 63 6c 27 20 3e 20 27  ir@/tls.tcl' > '
0480: 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c  @srcdir@/tls.tcl
0490: 2e 68 2e 6e 65 77 27 0a 09 6d 76 20 27 40 73 72  .h.new'..mv '@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 20 27 40 73 72 63 64 69 72 40 2f 74  new' '@srcdir@/t
04c0: 6c 73 2e 74 63 6c 2e 68 27 0a 0a 23 20 47 65 6e  ls.tcl.h'..# Gen
04d0: 65 72 69 63 20 74 61 72 67 65 74 20 66 6f 72 20  eric target for 
04e0: 62 75 69 6c 64 69 6e 67 20 66 69 6c 65 73 20 66  building files f
04f0: 72 6f 6d 20 74 68 65 20 22 73 72 63 64 69 72 22  rom the "srcdir"
0500: 0a 23 20 74 72 65 65 20 2d 2d 20 74 68 65 20 64  .# tree -- the d
0510: 65 66 61 75 6c 74 20 74 61 72 67 65 74 20 77 69  efault target wi
0520: 6c 6c 20 6e 6f 74 20 6d 61 74 63 68 20 70 61 74  ll not match pat
0530: 68 73 0a 25 2e 6f 3a 20 40 73 72 63 64 69 72 40  hs.%.o: @srcdir@
0540: 2f 25 2e 63 0a 09 24 28 43 43 29 20 24 28 43 50  /%.c..$(CC) $(CP
0550: 50 46 4c 41 47 53 29 20 24 28 43 46 4c 41 47 53  PFLAGS) $(CFLAGS
0560: 29 20 2d 6f 20 22 24 40 22 20 2d 63 20 22 24 3c  ) -o "$@" -c "$<
0570: 22 0a 0a 23 20 49 6e 73 74 61 6c 6c 20 74 68 65  "..# Install the
0580: 20 65 78 74 65 6e 73 69 6f 6e 0a 69 6e 73 74 61   extension.insta
0590: 6c 6c 3a 20 40 45 58 54 45 4e 53 49 4f 4e 5f 54  ll: @EXTENSION_T
05a0: 41 52 47 45 54 40 20 70 6b 67 49 6e 64 65 78 2e  ARGET@ pkgIndex.
05b0: 74 63 6c 0a 09 24 28 49 4e 53 54 41 4c 4c 29 20  tcl..$(INSTALL) 
05c0: 2d 64 20 27 24 28 44 45 53 54 44 49 52 29 24 28  -d '$(DESTDIR)$(
05d0: 50 41 43 4b 41 47 45 5f 49 4e 53 54 41 4c 4c 5f  PACKAGE_INSTALL_
05e0: 44 49 52 29 27 0a 09 24 28 49 4e 53 54 41 4c 4c  DIR)'..$(INSTALL
05f0: 29 20 2d 74 20 27 24 28 44 45 53 54 44 49 52 29  ) -t '$(DESTDIR)
0600: 24 28 50 41 43 4b 41 47 45 5f 49 4e 53 54 41 4c  $(PACKAGE_INSTAL
0610: 4c 5f 44 49 52 29 27 20 40 45 58 54 45 4e 53 49  L_DIR)' @EXTENSI
0620: 4f 4e 5f 54 41 52 47 45 54 40 20 70 6b 67 49 6e  ON_TARGET@ pkgIn
0630: 64 65 78 2e 74 63 6c 0a 0a 23 20 43 6c 65 61 6e  dex.tcl..# Clean
0640: 20 74 68 65 20 6c 6f 63 61 6c 20 62 75 69 6c 64   the local build
0650: 20 64 69 72 65 63 74 6f 72 79 20 66 6f 72 20 72   directory for r
0660: 65 62 75 69 6c 64 20 61 67 61 69 6e 73 74 20 74  ebuild against t
0670: 68 65 20 73 61 6d 65 20 63 6f 6e 66 69 67 75 72  he same configur
0680: 61 74 69 6f 6e 0a 63 6c 65 61 6e 3a 0a 09 72 6d  ation.clean:..rm
0690: 20 2d 66 20 74 6c 73 2e 6f 20 74 6c 73 42 49 4f   -f tls.o tlsBIO
06a0: 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c 73 58 35  .o tlsIO.o tlsX5
06b0: 30 39 2e 6f 0a 09 72 6d 20 2d 66 20 74 63 6c 74  09.o..rm -f tclt
06c0: 6c 73 2e 40 53 48 4f 42 4a 45 58 54 40 0a 09 72  ls.@SHOBJEXT@..r
06d0: 6d 20 2d 66 20 74 63 6c 74 6c 73 2e 61 2e 6e 65  m -f tcltls.a.ne
06e0: 77 20 74 63 6c 74 6c 73 2e 61 0a 0a 23 20 43 6c  w tcltls.a..# Cl
06f0: 65 61 6e 20 74 68 65 20 6c 6f 63 61 6c 20 62 75  ean the local bu
0700: 69 6c 64 20 64 69 72 65 63 74 6f 72 79 20 62 61  ild directory ba
0710: 63 6b 20 74 6f 20 77 68 61 74 20 69 74 20 77 61  ck to what it wa
0720: 73 20 61 66 74 65 72 20 75 6e 70 61 63 6b 69 6e  s after unpackin
0730: 67 20 74 68 65 0a 23 20 64 69 73 74 72 69 62 75  g the.# distribu
0740: 74 69 6f 6e 20 74 61 72 62 61 6c 6c 0a 64 69 73  tion tarball.dis
0750: 74 63 6c 65 61 6e 3a 20 63 6c 65 61 6e 0a 09 72  tclean: clean..r
0760: 6d 20 2d 66 20 63 6f 6e 66 69 67 2e 6c 6f 67 20  m -f config.log 
0770: 63 6f 6e 66 69 67 2e 73 74 61 74 75 73 0a 09 72  config.status..r
0780: 6d 20 2d 66 20 4d 61 6b 65 66 69 6c 65 20 70 6b  m -f Makefile pk
0790: 67 49 6e 64 65 78 2e 74 63 6c 0a 0a 23 20 43 6c  gIndex.tcl..# Cl
07a0: 65 61 6e 20 74 68 65 20 6c 6f 63 61 6c 20 62 75  ean the local bu
07b0: 69 6c 64 20 64 69 72 65 63 74 6f 72 79 20 62 61  ild directory ba
07c0: 63 6b 20 74 6f 20 6f 6e 6c 79 20 74 68 69 6e 67  ck to only thing
07d0: 20 74 68 69 6e 67 73 20 74 68 61 74 20 65 78 69   things that exi
07e0: 73 74 20 69 6e 0a 23 20 76 65 72 73 69 6f 6e 20  st in.# version 
07f0: 63 6f 6e 74 72 6f 6c 20 73 79 73 74 65 6d 0a 6d  control system.m
0800: 72 70 72 6f 70 65 72 3a 20 64 69 73 74 63 6c 65  rproper: distcle
0810: 61 6e 0a 09 72 6d 20 2d 66 20 40 73 72 63 64 69  an..rm -f @srcdi
0820: 72 40 2f 74 6c 73 2e 74 63 6c 2e 68 0a 09 72 6d  r@/tls.tcl.h..rm
0830: 20 2d 66 20 40 73 72 63 64 69 72 40 2f 63 6f 6e   -f @srcdir@/con
0840: 66 69 67 75 72 65 20 40 73 72 63 64 69 72 40 2f  figure @srcdir@/
0850: 63 6f 6e 66 69 67 2e 73 75 62 20 40 73 72 63 64  config.sub @srcd
0860: 69 72 40 2f 63 6f 6e 66 69 67 2e 67 75 65 73 73  ir@/config.guess
0870: 20 40 73 72 63 64 69 72 40 2f 69 6e 73 74 61 6c   @srcdir@/instal
0880: 6c 2d 73 68 0a 09 72 6d 20 2d 66 20 40 73 72 63  l-sh..rm -f @src
0890: 64 69 72 40 2f 61 63 6c 6f 63 61 6c 2e 6d 34 0a  dir@/aclocal.m4.
08a0: 09 72 6d 20 2d 72 66 20 40 73 72 63 64 69 72 40  .rm -rf @srcdir@
08b0: 2f 61 63 6c 6f 63 61 6c 20 40 73 72 63 64 69 72  /aclocal @srcdir
08c0: 40 2f 61 75 74 6f 6d 34 74 65 2e 63 61 63 68 65  @/autom4te.cache
08d0: 0a 0a 2e 50 48 4f 4e 59 3a 20 61 6c 6c 20 69 6e  ...PHONY: all in
08e0: 73 74 61 6c 6c 20 63 6c 65 61 6e 20 64 69 73 74  stall clean dist
08f0: 63 6c 65 61 6e 20 6d 72 70 72 6f 70 65 72 0a     clean mrproper.