Hex Artifact Content

Artifact 8756dc63ab321f021b2e30785043f0981bb1d42d:


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 0a 09 24 28 43 43 29 20 24 28  X509.o..$(CC) $(
01c0: 43 50 50 46 4c 41 47 53 29 20 24 28 43 46 4c 41  CPPFLAGS) $(CFLA
01d0: 47 53 29 20 24 28 4c 44 46 4c 41 47 53 29 20 2d  GS) $(LDFLAGS) -
01e0: 6f 20 74 63 6c 74 6c 73 2e 40 53 48 4f 42 4a 45  o tcltls.@SHOBJE
01f0: 58 54 40 20 74 6c 73 2e 6f 20 74 6c 73 42 49 4f  XT@ tls.o tlsBIO
0200: 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c 73 58 35  .o tlsIO.o tlsX5
0210: 30 39 2e 6f 20 24 28 4c 49 42 53 29 0a 0a 23 20  09.o $(LIBS)..# 
0220: 54 68 65 20 73 74 61 74 69 63 20 74 61 72 67 65  The static targe
0230: 74 0a 74 63 6c 74 6c 73 2e 61 3a 20 74 6c 73 2e  t.tcltls.a: tls.
0240: 6f 20 74 6c 73 42 49 4f 2e 6f 20 74 6c 73 49 4f  o tlsBIO.o tlsIO
0250: 2e 6f 20 74 6c 73 58 35 30 39 2e 6f 0a 09 24 28  .o tlsX509.o..$(
0260: 41 52 29 20 72 63 75 20 74 63 6c 74 6c 73 2e 61  AR) rcu tcltls.a
0270: 2e 6e 65 77 20 74 6c 73 2e 6f 20 74 6c 73 42 49  .new tls.o tlsBI
0280: 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c 73 58  O.o tlsIO.o tlsX
0290: 35 30 39 2e 6f 0a 09 24 28 52 41 4e 4c 49 42 29  509.o..$(RANLIB)
02a0: 20 74 63 6c 74 6c 73 2e 61 2e 6e 65 77 0a 09 6d   tcltls.a.new..m
02b0: 76 20 74 63 6c 74 6c 73 2e 61 2e 6e 65 77 20 74  v tcltls.a.new t
02c0: 63 6c 74 6c 73 2e 61 0a 0a 23 20 44 65 70 65 6e  cltls.a..# Depen
02d0: 64 65 6e 63 69 65 73 20 66 6f 72 20 61 6c 6c 20  dencies for all 
02e0: 6f 75 72 20 74 61 72 67 65 74 73 0a 74 6c 73 2e  our targets.tls.
02f0: 6f 3a 20 40 73 72 63 64 69 72 40 2f 74 6c 73 2e  o: @srcdir@/tls.
0300: 63 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49 6e  c @srcdir@/tlsIn
0310: 74 2e 68 20 40 73 72 63 64 69 72 40 2f 74 63 6c  t.h @srcdir@/tcl
0320: 4f 70 74 73 2e 68 20 40 73 72 63 64 69 72 40 2f  Opts.h @srcdir@/
0330: 74 6c 73 2e 74 63 6c 2e 68 20 64 68 5f 70 61 72  tls.tcl.h dh_par
0340: 61 6d 73 2e 68 0a 74 6c 73 42 49 4f 2e 6f 3a 20  ams.h.tlsBIO.o: 
0350: 40 73 72 63 64 69 72 40 2f 74 6c 73 42 49 4f 2e  @srcdir@/tlsBIO.
0360: 63 20 40 73 72 63 64 69 72 40 2f 74 6c 73 49 6e  c @srcdir@/tlsIn
0370: 74 2e 68 0a 74 6c 73 49 4f 2e 6f 3a 20 40 73 72  t.h.tlsIO.o: @sr
0380: 63 64 69 72 40 2f 74 6c 73 49 4f 2e 63 20 40 73  cdir@/tlsIO.c @s
0390: 72 63 64 69 72 40 2f 74 6c 73 49 6e 74 2e 68 0a  rcdir@/tlsInt.h.
03a0: 74 6c 73 58 35 30 39 2e 6f 3a 20 40 73 72 63 64  tlsX509.o: @srcd
03b0: 69 72 40 2f 74 6c 73 58 35 30 39 2e 63 20 40 73  ir@/tlsX509.c @s
03c0: 72 63 64 69 72 40 2f 74 6c 73 49 6e 74 2e 68 0a  rcdir@/tlsInt.h.
03d0: 0a 23 20 43 72 65 61 74 65 20 61 20 43 2d 73 6f  .# Create a C-so
03e0: 75 72 63 65 2d 69 66 69 65 64 20 76 65 72 73 69  urce-ified versi
03f0: 6f 6e 20 6f 66 20 74 68 65 20 73 63 72 69 70 74  on of the script
0400: 20 72 65 73 6f 75 72 63 65 73 0a 23 20 66 6f 72   resources.# for
0410: 20 54 63 6c 54 4c 53 20 73 6f 20 74 68 61 74 20   TclTLS so that 
0420: 77 65 20 6f 6e 6c 79 20 6e 65 65 64 20 61 20 73  we only need a s
0430: 69 6e 67 6c 65 20 66 69 6c 65 20 74 6f 20 65 6e  ingle file to en
0440: 61 62 6c 65 0a 23 20 74 68 69 73 20 65 78 74 65  able.# this exte
0450: 6e 73 69 6f 6e 0a 40 73 72 63 64 69 72 40 2f 74  nsion.@srcdir@/t
0460: 6c 73 2e 74 63 6c 2e 68 3a 20 40 73 72 63 64 69  ls.tcl.h: @srcdi
0470: 72 40 2f 74 6c 73 2e 74 63 6c 0a 09 78 78 64 20  r@/tls.tcl..xxd 
0480: 2d 69 20 3c 20 27 40 73 72 63 64 69 72 40 2f 74  -i < '@srcdir@/t
0490: 6c 73 2e 74 63 6c 27 20 3e 20 27 40 73 72 63 64  ls.tcl' > '@srcd
04a0: 69 72 40 2f 74 6c 73 2e 74 63 6c 2e 68 2e 6e 65  ir@/tls.tcl.h.ne
04b0: 77 27 0a 09 6d 76 20 27 40 73 72 63 64 69 72 40  w'..mv '@srcdir@
04c0: 2f 74 6c 73 2e 74 63 6c 2e 68 2e 6e 65 77 27 20  /tls.tcl.h.new' 
04d0: 27 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63  '@srcdir@/tls.tc
04e0: 6c 2e 68 27 0a 0a 23 20 43 72 65 61 74 65 20 64  l.h'..# Create d
04f0: 65 66 61 75 6c 74 20 44 48 20 70 61 72 61 6d 65  efault DH parame
0500: 74 65 72 73 0a 64 68 5f 70 61 72 61 6d 73 2e 68  ters.dh_params.h
0510: 3a 20 40 73 72 63 64 69 72 40 2f 67 65 6e 5f 64  : @srcdir@/gen_d
0520: 68 5f 70 61 72 61 6d 73 0a 09 40 73 72 63 64 69  h_params..@srcdi
0530: 72 40 2f 67 65 6e 5f 64 68 5f 70 61 72 61 6d 73  r@/gen_dh_params
0540: 20 40 47 45 4e 5f 44 48 5f 50 41 52 41 4d 53 5f   @GEN_DH_PARAMS_
0550: 41 52 47 53 40 20 3e 20 64 68 5f 70 61 72 61 6d  ARGS@ > dh_param
0560: 73 2e 68 2e 6e 65 77 0a 09 6d 76 20 64 68 5f 70  s.h.new..mv dh_p
0570: 61 72 61 6d 73 2e 68 2e 6e 65 77 20 64 68 5f 70  arams.h.new dh_p
0580: 61 72 61 6d 73 2e 68 0a 0a 23 20 47 65 6e 65 72  arams.h..# Gener
0590: 69 63 20 74 61 72 67 65 74 20 66 6f 72 20 62 75  ic target for bu
05a0: 69 6c 64 69 6e 67 20 66 69 6c 65 73 20 66 72 6f  ilding files fro
05b0: 6d 20 74 68 65 20 22 73 72 63 64 69 72 22 0a 23  m the "srcdir".#
05c0: 20 74 72 65 65 20 2d 2d 20 74 68 65 20 64 65 66   tree -- the def
05d0: 61 75 6c 74 20 74 61 72 67 65 74 20 77 69 6c 6c  ault target will
05e0: 20 6e 6f 74 20 6d 61 74 63 68 20 70 61 74 68 73   not match paths
05f0: 0a 2e 63 2e 6f 3a 0a 09 24 28 43 43 29 20 24 28  ..c.o:..$(CC) $(
0600: 43 50 50 46 4c 41 47 53 29 20 24 28 43 46 4c 41  CPPFLAGS) $(CFLA
0610: 47 53 29 20 2d 6f 20 22 24 40 22 20 2d 63 20 22  GS) -o "$@" -c "
0620: 24 3c 22 0a 0a 23 20 49 6e 73 74 61 6c 6c 20 74  $<"..# Install t
0630: 68 65 20 65 78 74 65 6e 73 69 6f 6e 0a 69 6e 73  he extension.ins
0640: 74 61 6c 6c 3a 20 40 45 58 54 45 4e 53 49 4f 4e  tall: @EXTENSION
0650: 5f 54 41 52 47 45 54 40 20 70 6b 67 49 6e 64 65  _TARGET@ pkgInde
0660: 78 2e 74 63 6c 0a 09 24 28 49 4e 53 54 41 4c 4c  x.tcl..$(INSTALL
0670: 29 20 2d 64 20 27 24 28 44 45 53 54 44 49 52 29  ) -d '$(DESTDIR)
0680: 24 28 50 41 43 4b 41 47 45 5f 49 4e 53 54 41 4c  $(PACKAGE_INSTAL
0690: 4c 5f 44 49 52 29 27 0a 09 24 28 49 4e 53 54 41  L_DIR)'..$(INSTA
06a0: 4c 4c 29 20 2d 74 20 27 24 28 44 45 53 54 44 49  LL) -t '$(DESTDI
06b0: 52 29 24 28 50 41 43 4b 41 47 45 5f 49 4e 53 54  R)$(PACKAGE_INST
06c0: 41 4c 4c 5f 44 49 52 29 27 20 40 45 58 54 45 4e  ALL_DIR)' @EXTEN
06d0: 53 49 4f 4e 5f 54 41 52 47 45 54 40 20 70 6b 67  SION_TARGET@ pkg
06e0: 49 6e 64 65 78 2e 74 63 6c 0a 0a 23 20 43 6c 65  Index.tcl..# Cle
06f0: 61 6e 20 74 68 65 20 6c 6f 63 61 6c 20 62 75 69  an the local bui
0700: 6c 64 20 64 69 72 65 63 74 6f 72 79 20 66 6f 72  ld directory for
0710: 20 72 65 62 75 69 6c 64 20 61 67 61 69 6e 73 74   rebuild against
0720: 20 74 68 65 20 73 61 6d 65 20 63 6f 6e 66 69 67   the same config
0730: 75 72 61 74 69 6f 6e 0a 63 6c 65 61 6e 3a 0a 09  uration.clean:..
0740: 72 6d 20 2d 66 20 74 6c 73 2e 6f 20 74 6c 73 42  rm -f tls.o tlsB
0750: 49 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c 73  IO.o tlsIO.o tls
0760: 58 35 30 39 2e 6f 0a 09 72 6d 20 2d 66 20 74 63  X509.o..rm -f tc
0770: 6c 74 6c 73 2e 40 53 48 4f 42 4a 45 58 54 40 0a  ltls.@SHOBJEXT@.
0780: 09 72 6d 20 2d 66 20 74 63 6c 74 6c 73 2e 61 2e  .rm -f tcltls.a.
0790: 6e 65 77 20 74 63 6c 74 6c 73 2e 61 0a 0a 23 20  new tcltls.a..# 
07a0: 43 6c 65 61 6e 20 74 68 65 20 6c 6f 63 61 6c 20  Clean the local 
07b0: 62 75 69 6c 64 20 64 69 72 65 63 74 6f 72 79 20  build directory 
07c0: 62 61 63 6b 20 74 6f 20 77 68 61 74 20 69 74 20  back to what it 
07d0: 77 61 73 20 61 66 74 65 72 20 75 6e 70 61 63 6b  was after unpack
07e0: 69 6e 67 20 74 68 65 0a 23 20 64 69 73 74 72 69  ing the.# distri
07f0: 62 75 74 69 6f 6e 20 74 61 72 62 61 6c 6c 0a 64  bution tarball.d
0800: 69 73 74 63 6c 65 61 6e 3a 20 63 6c 65 61 6e 0a  istclean: clean.
0810: 09 72 6d 20 2d 66 20 63 6f 6e 66 69 67 2e 6c 6f  .rm -f config.lo
0820: 67 20 63 6f 6e 66 69 67 2e 73 74 61 74 75 73 0a  g config.status.
0830: 09 72 6d 20 2d 66 20 64 68 5f 70 61 72 61 6d 73  .rm -f dh_params
0840: 2e 68 2e 6e 65 77 20 64 68 5f 70 61 72 61 6d 73  .h.new dh_params
0850: 2e 68 0a 09 72 6d 20 2d 66 20 4d 61 6b 65 66 69  .h..rm -f Makefi
0860: 6c 65 20 70 6b 67 49 6e 64 65 78 2e 74 63 6c 0a  le pkgIndex.tcl.
0870: 0a 23 20 43 6c 65 61 6e 20 74 68 65 20 6c 6f 63  .# Clean the loc
0880: 61 6c 20 62 75 69 6c 64 20 64 69 72 65 63 74 6f  al build directo
0890: 72 79 20 62 61 63 6b 20 74 6f 20 6f 6e 6c 79 20  ry back to only 
08a0: 74 68 69 6e 67 20 74 68 69 6e 67 73 20 74 68 61  thing things tha
08b0: 74 20 65 78 69 73 74 20 69 6e 0a 23 20 76 65 72  t exist in.# ver
08c0: 73 69 6f 6e 20 63 6f 6e 74 72 6f 6c 20 73 79 73  sion control sys
08d0: 74 65 6d 0a 6d 72 70 72 6f 70 65 72 3a 20 64 69  tem.mrproper: di
08e0: 73 74 63 6c 65 61 6e 0a 09 72 6d 20 2d 66 20 40  stclean..rm -f @
08f0: 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c 2e  srcdir@/tls.tcl.
0900: 68 0a 09 72 6d 20 2d 66 20 40 73 72 63 64 69 72  h..rm -f @srcdir
0910: 40 2f 63 6f 6e 66 69 67 75 72 65 20 40 73 72 63  @/configure @src
0920: 64 69 72 40 2f 63 6f 6e 66 69 67 2e 73 75 62 20  dir@/config.sub 
0930: 40 73 72 63 64 69 72 40 2f 63 6f 6e 66 69 67 2e  @srcdir@/config.
0940: 67 75 65 73 73 20 40 73 72 63 64 69 72 40 2f 69  guess @srcdir@/i
0950: 6e 73 74 61 6c 6c 2d 73 68 0a 09 72 6d 20 2d 66  nstall-sh..rm -f
0960: 20 40 73 72 63 64 69 72 40 2f 61 63 6c 6f 63 61   @srcdir@/acloca
0970: 6c 2e 6d 34 0a 09 72 6d 20 2d 72 66 20 40 73 72  l.m4..rm -rf @sr
0980: 63 64 69 72 40 2f 61 75 74 6f 6d 34 74 65 2e 63  cdir@/autom4te.c
0990: 61 63 68 65 0a 0a 2e 50 48 4f 4e 59 3a 20 61 6c  ache...PHONY: al
09a0: 6c 20 69 6e 73 74 61 6c 6c 20 63 6c 65 61 6e 20  l install clean 
09b0: 64 69 73 74 63 6c 65 61 6e 20 6d 72 70 72 6f 70  distclean mrprop
09c0: 65 72 0a                                         er.