Hex Artifact Content

Artifact d6e6218bd6495ebea0403194d1203fa55f1fcfb1:


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: 0a 4c 44 46 4c 41 47 53 20 3d 20 40 4c 44 46 4c  .LDFLAGS = @LDFL
0080: 41 47 53 40 20 40 53 48 4f 42 4a 4c 44 46 4c 41  AGS@ @SHOBJLDFLA
0090: 47 53 40 0a 4c 49 42 53 20 3d 20 40 4c 49 42 53  GS@.LIBS = @LIBS
00a0: 40 0a 49 4e 53 54 41 4c 4c 20 3d 20 40 49 4e 53  @.INSTALL = @INS
00b0: 54 41 4c 4c 40 0a 50 41 43 4b 41 47 45 5f 56 45  TALL@.PACKAGE_VE
00c0: 52 53 49 4f 4e 20 3d 20 40 50 41 43 4b 41 47 45  RSION = @PACKAGE
00d0: 5f 56 45 52 53 49 4f 4e 40 0a 54 43 4c 5f 50 41  _VERSION@.TCL_PA
00e0: 43 4b 41 47 45 5f 50 41 54 48 20 3d 20 40 54 43  CKAGE_PATH = @TC
00f0: 4c 5f 50 41 43 4b 41 47 45 5f 50 41 54 48 40 0a  L_PACKAGE_PATH@.
0100: 50 41 43 4b 41 47 45 5f 49 4e 53 54 41 4c 4c 5f  PACKAGE_INSTALL_
0110: 44 49 52 20 3d 20 24 28 54 43 4c 5f 50 41 43 4b  DIR = $(TCL_PACK
0120: 41 47 45 5f 50 41 54 48 29 2f 74 63 6c 74 6c 73  AGE_PATH)/tcltls
0130: 24 28 50 41 43 4b 41 47 45 5f 56 45 52 53 49 4f  $(PACKAGE_VERSIO
0140: 4e 29 0a 0a 61 6c 6c 3a 20 40 45 58 54 45 4e 53  N)..all: @EXTENS
0150: 49 4f 4e 5f 54 41 52 47 45 54 40 0a 0a 23 20 54  ION_TARGET@..# T
0160: 68 65 20 73 68 61 72 65 64 20 6f 62 6a 65 63 74  he shared object
0170: 20 74 61 72 67 65 74 0a 74 63 6c 74 6c 73 2e 40   target.tcltls.@
0180: 53 48 4f 42 4a 45 58 54 40 3a 20 74 6c 73 2e 6f  SHOBJEXT@: tls.o
0190: 20 74 6c 73 42 49 4f 2e 6f 20 74 6c 73 49 4f 2e   tlsBIO.o tlsIO.
01a0: 6f 20 74 6c 73 58 35 30 39 2e 6f 0a 09 24 28 43  o tlsX509.o..$(C
01b0: 43 29 20 24 28 43 50 50 46 4c 41 47 53 29 20 24  C) $(CPPFLAGS) $
01c0: 28 43 46 4c 41 47 53 29 20 24 28 4c 44 46 4c 41  (CFLAGS) $(LDFLA
01d0: 47 53 29 20 2d 6f 20 74 63 6c 74 6c 73 2e 40 53  GS) -o tcltls.@S
01e0: 48 4f 42 4a 45 58 54 40 20 74 6c 73 2e 6f 20 74  HOBJEXT@ tls.o t
01f0: 6c 73 42 49 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20  lsBIO.o tlsIO.o 
0200: 74 6c 73 58 35 30 39 2e 6f 20 24 28 4c 49 42 53  tlsX509.o $(LIBS
0210: 29 0a 0a 23 20 54 68 65 20 73 74 61 74 69 63 20  )..# The static 
0220: 74 61 72 67 65 74 0a 74 63 6c 74 6c 73 2e 61 3a  target.tcltls.a:
0230: 20 74 6c 73 2e 6f 20 74 6c 73 42 49 4f 2e 6f 20   tls.o tlsBIO.o 
0240: 74 6c 73 49 4f 2e 6f 20 74 6c 73 58 35 30 39 2e  tlsIO.o tlsX509.
0250: 6f 0a 09 24 28 41 52 29 20 72 63 75 20 74 63 6c  o..$(AR) rcu tcl
0260: 74 6c 73 2e 61 2e 6e 65 77 20 74 6c 73 2e 6f 20  tls.a.new tls.o 
0270: 74 6c 73 42 49 4f 2e 6f 20 74 6c 73 49 4f 2e 6f  tlsBIO.o tlsIO.o
0280: 20 74 6c 73 58 35 30 39 2e 6f 0a 09 24 28 52 41   tlsX509.o..$(RA
0290: 4e 4c 49 42 29 20 74 63 6c 74 6c 73 2e 61 2e 6e  NLIB) tcltls.a.n
02a0: 65 77 0a 09 6d 76 20 74 63 6c 74 6c 73 2e 61 2e  ew..mv tcltls.a.
02b0: 6e 65 77 20 74 63 6c 74 6c 73 2e 61 0a 0a 23 20  new tcltls.a..# 
02c0: 44 65 70 65 6e 64 65 6e 63 69 65 73 20 66 6f 72  Dependencies for
02d0: 20 61 6c 6c 20 6f 75 72 20 74 61 72 67 65 74 73   all our targets
02e0: 0a 74 6c 73 2e 6f 3a 20 40 73 72 63 64 69 72 40  .tls.o: @srcdir@
02f0: 2f 74 6c 73 2e 63 20 40 73 72 63 64 69 72 40 2f  /tls.c @srcdir@/
0300: 74 6c 73 49 6e 74 2e 68 20 40 73 72 63 64 69 72  tlsInt.h @srcdir
0310: 40 2f 74 63 6c 4f 70 74 73 2e 68 20 40 73 72 63  @/tclOpts.h @src
0320: 64 69 72 40 2f 74 6c 73 2e 74 63 6c 2e 68 20 64  dir@/tls.tcl.h d
0330: 68 5f 70 61 72 61 6d 73 2e 68 0a 74 6c 73 42 49  h_params.h.tlsBI
0340: 4f 2e 6f 3a 20 40 73 72 63 64 69 72 40 2f 74 6c  O.o: @srcdir@/tl
0350: 73 42 49 4f 2e 63 20 40 73 72 63 64 69 72 40 2f  sBIO.c @srcdir@/
0360: 74 6c 73 49 6e 74 2e 68 0a 74 6c 73 49 4f 2e 6f  tlsInt.h.tlsIO.o
0370: 3a 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49 4f  : @srcdir@/tlsIO
0380: 2e 63 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49  .c @srcdir@/tlsI
0390: 6e 74 2e 68 0a 74 6c 73 58 35 30 39 2e 6f 3a 20  nt.h.tlsX509.o: 
03a0: 40 73 72 63 64 69 72 40 2f 74 6c 73 58 35 30 39  @srcdir@/tlsX509
03b0: 2e 63 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49  .c @srcdir@/tlsI
03c0: 6e 74 2e 68 0a 0a 23 20 43 72 65 61 74 65 20 61  nt.h..# Create a
03d0: 20 43 2d 73 6f 75 72 63 65 2d 69 66 69 65 64 20   C-source-ified 
03e0: 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 20 73  version of the s
03f0: 63 72 69 70 74 20 72 65 73 6f 75 72 63 65 73 0a  cript resources.
0400: 23 20 66 6f 72 20 54 63 6c 54 4c 53 20 73 6f 20  # for TclTLS so 
0410: 74 68 61 74 20 77 65 20 6f 6e 6c 79 20 6e 65 65  that we only nee
0420: 64 20 61 20 73 69 6e 67 6c 65 20 66 69 6c 65 20  d a single file 
0430: 74 6f 20 65 6e 61 62 6c 65 0a 23 20 74 68 69 73  to enable.# this
0440: 20 65 78 74 65 6e 73 69 6f 6e 0a 40 73 72 63 64   extension.@srcd
0450: 69 72 40 2f 74 6c 73 2e 74 63 6c 2e 68 3a 20 40  ir@/tls.tcl.h: @
0460: 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c 0a  srcdir@/tls.tcl.
0470: 09 78 78 64 20 2d 69 20 3c 20 27 40 73 72 63 64  .xxd -i < '@srcd
0480: 69 72 40 2f 74 6c 73 2e 74 63 6c 27 20 3e 20 27  ir@/tls.tcl' > '
0490: 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c  @srcdir@/tls.tcl
04a0: 2e 68 2e 6e 65 77 27 0a 09 6d 76 20 27 40 73 72  .h.new'..mv '@sr
04b0: 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c 2e 68 2e  cdir@/tls.tcl.h.
04c0: 6e 65 77 27 20 27 40 73 72 63 64 69 72 40 2f 74  new' '@srcdir@/t
04d0: 6c 73 2e 74 63 6c 2e 68 27 0a 0a 23 20 43 72 65  ls.tcl.h'..# Cre
04e0: 61 74 65 20 64 65 66 61 75 6c 74 20 44 48 20 70  ate default DH p
04f0: 61 72 61 6d 65 74 65 72 73 0a 64 68 5f 70 61 72  arameters.dh_par
0500: 61 6d 73 2e 68 3a 20 40 73 72 63 64 69 72 40 2f  ams.h: @srcdir@/
0510: 67 65 6e 5f 64 68 5f 70 61 72 61 6d 73 0a 09 40  gen_dh_params..@
0520: 73 72 63 64 69 72 40 2f 67 65 6e 5f 64 68 5f 70  srcdir@/gen_dh_p
0530: 61 72 61 6d 73 20 40 47 45 4e 5f 44 48 5f 50 41  arams @GEN_DH_PA
0540: 52 41 4d 53 5f 41 52 47 53 40 20 3e 20 64 68 5f  RAMS_ARGS@ > dh_
0550: 70 61 72 61 6d 73 2e 68 2e 6e 65 77 0a 09 6d 76  params.h.new..mv
0560: 20 64 68 5f 70 61 72 61 6d 73 2e 68 2e 6e 65 77   dh_params.h.new
0570: 20 64 68 5f 70 61 72 61 6d 73 2e 68 0a 0a 23 20   dh_params.h..# 
0580: 47 65 6e 65 72 69 63 20 74 61 72 67 65 74 20 66  Generic target f
0590: 6f 72 20 62 75 69 6c 64 69 6e 67 20 66 69 6c 65  or building file
05a0: 73 20 66 72 6f 6d 20 74 68 65 20 22 73 72 63 64  s from the "srcd
05b0: 69 72 22 0a 23 20 74 72 65 65 20 2d 2d 20 74 68  ir".# tree -- th
05c0: 65 20 64 65 66 61 75 6c 74 20 74 61 72 67 65 74  e default target
05d0: 20 77 69 6c 6c 20 6e 6f 74 20 6d 61 74 63 68 20   will not match 
05e0: 70 61 74 68 73 0a 25 2e 6f 3a 20 40 73 72 63 64  paths.%.o: @srcd
05f0: 69 72 40 2f 25 2e 63 0a 09 24 28 43 43 29 20 24  ir@/%.c..$(CC) $
0600: 28 43 50 50 46 4c 41 47 53 29 20 24 28 43 46 4c  (CPPFLAGS) $(CFL
0610: 41 47 53 29 20 2d 6f 20 22 24 40 22 20 2d 63 20  AGS) -o "$@" -c 
0620: 22 24 3c 22 0a 0a 23 20 49 6e 73 74 61 6c 6c 20  "$<"..# Install 
0630: 74 68 65 20 65 78 74 65 6e 73 69 6f 6e 0a 69 6e  the extension.in
0640: 73 74 61 6c 6c 3a 20 40 45 58 54 45 4e 53 49 4f  stall: @EXTENSIO
0650: 4e 5f 54 41 52 47 45 54 40 20 70 6b 67 49 6e 64  N_TARGET@ pkgInd
0660: 65 78 2e 74 63 6c 0a 09 24 28 49 4e 53 54 41 4c  ex.tcl..$(INSTAL
0670: 4c 29 20 2d 64 20 27 24 28 44 45 53 54 44 49 52  L) -d '$(DESTDIR
0680: 29 24 28 50 41 43 4b 41 47 45 5f 49 4e 53 54 41  )$(PACKAGE_INSTA
0690: 4c 4c 5f 44 49 52 29 27 0a 09 24 28 49 4e 53 54  LL_DIR)'..$(INST
06a0: 41 4c 4c 29 20 2d 74 20 27 24 28 44 45 53 54 44  ALL) -t '$(DESTD
06b0: 49 52 29 24 28 50 41 43 4b 41 47 45 5f 49 4e 53  IR)$(PACKAGE_INS
06c0: 54 41 4c 4c 5f 44 49 52 29 27 20 40 45 58 54 45  TALL_DIR)' @EXTE
06d0: 4e 53 49 4f 4e 5f 54 41 52 47 45 54 40 20 70 6b  NSION_TARGET@ pk
06e0: 67 49 6e 64 65 78 2e 74 63 6c 0a 0a 23 20 43 6c  gIndex.tcl..# 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 66 6f  ild directory fo
0710: 72 20 72 65 62 75 69 6c 64 20 61 67 61 69 6e 73  r rebuild agains
0720: 74 20 74 68 65 20 73 61 6d 65 20 63 6f 6e 66 69  t the same confi
0730: 67 75 72 61 74 69 6f 6e 0a 63 6c 65 61 6e 3a 0a  guration.clean:.
0740: 09 72 6d 20 2d 66 20 74 6c 73 2e 6f 20 74 6c 73  .rm -f tls.o tls
0750: 42 49 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c  BIO.o tlsIO.o tl
0760: 73 58 35 30 39 2e 6f 0a 09 72 6d 20 2d 66 20 74  sX509.o..rm -f t
0770: 63 6c 74 6c 73 2e 40 53 48 4f 42 4a 45 58 54 40  cltls.@SHOBJEXT@
0780: 0a 09 72 6d 20 2d 66 20 74 63 6c 74 6c 73 2e 61  ..rm -f tcltls.a
0790: 2e 6e 65 77 20 74 63 6c 74 6c 73 2e 61 0a 0a 23  .new tcltls.a..#
07a0: 20 43 6c 65 61 6e 20 74 68 65 20 6c 6f 63 61 6c   Clean the local
07b0: 20 62 75 69 6c 64 20 64 69 72 65 63 74 6f 72 79   build directory
07c0: 20 62 61 63 6b 20 74 6f 20 77 68 61 74 20 69 74   back to what it
07d0: 20 77 61 73 20 61 66 74 65 72 20 75 6e 70 61 63   was after unpac
07e0: 6b 69 6e 67 20 74 68 65 0a 23 20 64 69 73 74 72  king the.# distr
07f0: 69 62 75 74 69 6f 6e 20 74 61 72 62 61 6c 6c 0a  ibution tarball.
0800: 64 69 73 74 63 6c 65 61 6e 3a 20 63 6c 65 61 6e  distclean: clean
0810: 0a 09 72 6d 20 2d 66 20 63 6f 6e 66 69 67 2e 6c  ..rm -f config.l
0820: 6f 67 20 63 6f 6e 66 69 67 2e 73 74 61 74 75 73  og config.status
0830: 0a 09 72 6d 20 2d 66 20 64 68 5f 70 61 72 61 6d  ..rm -f dh_param
0840: 73 2e 68 2e 6e 65 77 20 64 68 5f 70 61 72 61 6d  s.h.new dh_param
0850: 73 2e 68 0a 09 72 6d 20 2d 66 20 4d 61 6b 65 66  s.h..rm -f Makef
0860: 69 6c 65 20 70 6b 67 49 6e 64 65 78 2e 74 63 6c  ile pkgIndex.tcl
0870: 0a 0a 23 20 43 6c 65 61 6e 20 74 68 65 20 6c 6f  ..# Clean the lo
0880: 63 61 6c 20 62 75 69 6c 64 20 64 69 72 65 63 74  cal build direct
0890: 6f 72 79 20 62 61 63 6b 20 74 6f 20 6f 6e 6c 79  ory back to only
08a0: 20 74 68 69 6e 67 20 74 68 69 6e 67 73 20 74 68   thing things th
08b0: 61 74 20 65 78 69 73 74 20 69 6e 0a 23 20 76 65  at exist in.# ve
08c0: 72 73 69 6f 6e 20 63 6f 6e 74 72 6f 6c 20 73 79  rsion control sy
08d0: 73 74 65 6d 0a 6d 72 70 72 6f 70 65 72 3a 20 64  stem.mrproper: d
08e0: 69 73 74 63 6c 65 61 6e 0a 09 72 6d 20 2d 66 20  istclean..rm -f 
08f0: 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c  @srcdir@/tls.tcl
0900: 2e 68 0a 09 72 6d 20 2d 66 20 40 73 72 63 64 69  .h..rm -f @srcdi
0910: 72 40 2f 63 6f 6e 66 69 67 75 72 65 20 40 73 72  r@/configure @sr
0920: 63 64 69 72 40 2f 63 6f 6e 66 69 67 2e 73 75 62  cdir@/config.sub
0930: 20 40 73 72 63 64 69 72 40 2f 63 6f 6e 66 69 67   @srcdir@/config
0940: 2e 67 75 65 73 73 20 40 73 72 63 64 69 72 40 2f  .guess @srcdir@/
0950: 69 6e 73 74 61 6c 6c 2d 73 68 0a 09 72 6d 20 2d  install-sh..rm -
0960: 66 20 40 73 72 63 64 69 72 40 2f 61 63 6c 6f 63  f @srcdir@/acloc
0970: 61 6c 2e 6d 34 0a 09 72 6d 20 2d 72 66 20 40 73  al.m4..rm -rf @s
0980: 72 63 64 69 72 40 2f 61 63 6c 6f 63 61 6c 20 40  rcdir@/aclocal @
0990: 73 72 63 64 69 72 40 2f 61 75 74 6f 6d 34 74 65  srcdir@/autom4te
09a0: 2e 63 61 63 68 65 0a 0a 2e 50 48 4f 4e 59 3a 20  .cache...PHONY: 
09b0: 61 6c 6c 20 69 6e 73 74 61 6c 6c 20 63 6c 65 61  all install clea
09c0: 6e 20 64 69 73 74 63 6c 65 61 6e 20 6d 72 70 72  n distclean mrpr
09d0: 6f 70 65 72 0a                                   oper.