Hex Artifact Content

Artifact 7dd6e0ab745e38289177d231654a1a52c5f63e42:


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 43 46 4c 41 47 53 20 3d 20 40 43 46  AR@.CFLAGS = @CF
0020: 4c 41 47 53 40 20 40 53 48 4f 42 4a 46 4c 41 47  LAGS@ @SHOBJFLAG
0030: 53 40 0a 43 50 50 46 4c 41 47 53 20 3d 20 40 43  S@.CPPFLAGS = @C
0040: 50 50 46 4c 41 47 53 40 20 2d 49 40 73 72 63 64  PPFLAGS@ -I@srcd
0050: 69 72 40 20 40 44 45 46 53 40 0a 4c 44 46 4c 41  ir@ @DEFS@.LDFLA
0060: 47 53 20 3d 20 40 4c 44 46 4c 41 47 53 40 20 40  GS = @LDFLAGS@ @
0070: 53 48 4f 42 4a 4c 44 46 4c 41 47 53 40 0a 4c 49  SHOBJLDFLAGS@.LI
0080: 42 53 20 3d 20 40 4c 49 42 53 40 0a 49 4e 53 54  BS = @LIBS@.INST
0090: 41 4c 4c 20 3d 20 40 49 4e 53 54 41 4c 4c 40 0a  ALL = @INSTALL@.
00a0: 50 41 43 4b 41 47 45 5f 56 45 52 53 49 4f 4e 20  PACKAGE_VERSION 
00b0: 3d 20 40 50 41 43 4b 41 47 45 5f 56 45 52 53 49  = @PACKAGE_VERSI
00c0: 4f 4e 40 0a 54 43 4c 5f 50 41 43 4b 41 47 45 5f  ON@.TCL_PACKAGE_
00d0: 50 41 54 48 20 3d 20 40 54 43 4c 5f 50 41 43 4b  PATH = @TCL_PACK
00e0: 41 47 45 5f 50 41 54 48 40 0a 50 41 43 4b 41 47  AGE_PATH@.PACKAG
00f0: 45 5f 49 4e 53 54 41 4c 4c 5f 44 49 52 20 3d 20  E_INSTALL_DIR = 
0100: 24 28 54 43 4c 5f 50 41 43 4b 41 47 45 5f 50 41  $(TCL_PACKAGE_PA
0110: 54 48 29 2f 74 63 6c 74 6c 73 24 28 50 41 43 4b  TH)/tcltls$(PACK
0120: 41 47 45 5f 56 45 52 53 49 4f 4e 29 0a 0a 61 6c  AGE_VERSION)..al
0130: 6c 3a 20 40 45 58 54 45 4e 53 49 4f 4e 5f 54 41  l: @EXTENSION_TA
0140: 52 47 45 54 40 0a 0a 23 20 54 68 65 20 73 68 61  RGET@..# The sha
0150: 72 65 64 20 6f 62 6a 65 63 74 20 74 61 72 67 65  red object targe
0160: 74 0a 74 63 6c 74 6c 73 2e 40 53 48 4f 42 4a 45  t.tcltls.@SHOBJE
0170: 58 54 40 3a 20 74 6c 73 2e 6f 20 74 6c 73 42 49  XT@: tls.o tlsBI
0180: 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c 73 58  O.o tlsIO.o tlsX
0190: 35 30 39 2e 6f 0a 09 24 28 43 43 29 20 24 28 43  509.o..$(CC) $(C
01a0: 50 50 46 4c 41 47 53 29 20 24 28 43 46 4c 41 47  PPFLAGS) $(CFLAG
01b0: 53 29 20 24 28 4c 44 46 4c 41 47 53 29 20 2d 6f  S) $(LDFLAGS) -o
01c0: 20 74 63 6c 74 6c 73 2e 40 53 48 4f 42 4a 45 58   tcltls.@SHOBJEX
01d0: 54 40 20 74 6c 73 2e 6f 20 74 6c 73 42 49 4f 2e  T@ tls.o tlsBIO.
01e0: 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c 73 58 35 30  o tlsIO.o tlsX50
01f0: 39 2e 6f 20 24 28 4c 49 42 53 29 0a 0a 23 20 54  9.o $(LIBS)..# T
0200: 68 65 20 73 74 61 74 69 63 20 74 61 72 67 65 74  he static target
0210: 0a 74 63 6c 74 6c 73 2e 61 3a 20 74 6c 73 2e 6f  .tcltls.a: tls.o
0220: 20 74 6c 73 42 49 4f 2e 6f 20 74 6c 73 49 4f 2e   tlsBIO.o tlsIO.
0230: 6f 20 74 6c 73 58 35 30 39 2e 6f 0a 09 24 28 41  o tlsX509.o..$(A
0240: 52 29 20 72 63 75 20 74 63 6c 74 6c 73 2e 61 2e  R) rcu tcltls.a.
0250: 6e 65 77 20 74 6c 73 2e 6f 20 74 6c 73 42 49 4f  new tls.o tlsBIO
0260: 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74 6c 73 58 35  .o tlsIO.o tlsX5
0270: 30 39 2e 6f 0a 09 6d 76 20 74 63 6c 74 6c 73 2e  09.o..mv tcltls.
0280: 61 2e 6e 65 77 20 74 63 6c 74 6c 73 2e 61 0a 0a  a.new tcltls.a..
0290: 23 20 44 65 70 65 6e 64 65 6e 63 69 65 73 20 66  # Dependencies f
02a0: 6f 72 20 61 6c 6c 20 6f 75 72 20 74 61 72 67 65  or all our targe
02b0: 74 73 0a 74 6c 73 2e 6f 3a 20 40 73 72 63 64 69  ts.tls.o: @srcdi
02c0: 72 40 2f 74 6c 73 2e 63 20 40 73 72 63 64 69 72  r@/tls.c @srcdir
02d0: 40 2f 74 6c 73 49 6e 74 2e 68 20 40 73 72 63 64  @/tlsInt.h @srcd
02e0: 69 72 40 2f 74 63 6c 4f 70 74 73 2e 68 20 40 73  ir@/tclOpts.h @s
02f0: 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c 2e 68  rcdir@/tls.tcl.h
0300: 0a 74 6c 73 42 49 4f 2e 6f 3a 20 40 73 72 63 64  .tlsBIO.o: @srcd
0310: 69 72 40 2f 74 6c 73 42 49 4f 2e 63 20 40 73 72  ir@/tlsBIO.c @sr
0320: 63 64 69 72 40 2f 74 6c 73 49 6e 74 2e 68 0a 74  cdir@/tlsInt.h.t
0330: 6c 73 49 4f 2e 6f 3a 20 40 73 72 63 64 69 72 40  lsIO.o: @srcdir@
0340: 2f 74 6c 73 49 4f 2e 63 20 40 73 72 63 64 69 72  /tlsIO.c @srcdir
0350: 40 2f 74 6c 73 49 6e 74 2e 68 0a 74 6c 73 58 35  @/tlsInt.h.tlsX5
0360: 30 39 2e 6f 3a 20 40 73 72 63 64 69 72 40 2f 74  09.o: @srcdir@/t
0370: 6c 73 58 35 30 39 2e 63 20 40 73 72 63 64 69 72  lsX509.c @srcdir
0380: 40 2f 74 6c 73 49 6e 74 2e 68 0a 0a 23 20 43 72  @/tlsInt.h..# Cr
0390: 65 61 74 65 20 61 20 43 2d 73 6f 75 72 63 65 2d  eate a C-source-
03a0: 69 66 69 65 64 20 76 65 72 73 69 6f 6e 20 6f 66  ified version of
03b0: 20 74 68 65 20 73 63 72 69 70 74 20 72 65 73 6f   the script reso
03c0: 75 72 63 65 73 0a 23 20 66 6f 72 20 54 63 6c 54  urces.# for TclT
03d0: 4c 53 20 73 6f 20 74 68 61 74 20 77 65 20 6f 6e  LS so that we on
03e0: 6c 79 20 6e 65 65 64 20 61 20 73 69 6e 67 6c 65  ly need a single
03f0: 20 66 69 6c 65 20 74 6f 20 65 6e 61 62 6c 65 0a   file to enable.
0400: 23 20 74 68 69 73 20 65 78 74 65 6e 73 69 6f 6e  # this extension
0410: 0a 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63  .@srcdir@/tls.tc
0420: 6c 2e 68 3a 20 40 73 72 63 64 69 72 40 2f 74 6c  l.h: @srcdir@/tl
0430: 73 2e 74 63 6c 0a 09 78 78 64 20 2d 69 20 3c 20  s.tcl..xxd -i < 
0440: 27 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63  '@srcdir@/tls.tc
0450: 6c 27 20 3e 20 27 40 73 72 63 64 69 72 40 2f 74  l' > '@srcdir@/t
0460: 6c 73 2e 74 63 6c 2e 68 2e 6e 65 77 27 0a 09 6d  ls.tcl.h.new'..m
0470: 76 20 27 40 73 72 63 64 69 72 40 2f 74 6c 73 2e  v '@srcdir@/tls.
0480: 74 63 6c 2e 68 2e 6e 65 77 27 20 27 40 73 72 63  tcl.h.new' '@src
0490: 64 69 72 40 2f 74 6c 73 2e 74 63 6c 2e 68 27 0a  dir@/tls.tcl.h'.
04a0: 0a 23 20 47 65 6e 65 72 69 63 20 74 61 72 67 65  .# Generic targe
04b0: 74 20 66 6f 72 20 62 75 69 6c 64 69 6e 67 20 66  t for building f
04c0: 69 6c 65 73 20 66 72 6f 6d 20 74 68 65 20 22 73  iles from the "s
04d0: 72 63 64 69 72 22 0a 23 20 74 72 65 65 20 2d 2d  rcdir".# tree --
04e0: 20 74 68 65 20 64 65 66 61 75 6c 74 20 74 61 72   the default tar
04f0: 67 65 74 20 77 69 6c 6c 20 6e 6f 74 20 6d 61 74  get will not mat
0500: 63 68 20 70 61 74 68 73 0a 25 2e 6f 3a 20 40 73  ch paths.%.o: @s
0510: 72 63 64 69 72 40 2f 25 2e 63 0a 09 24 28 43 43  rcdir@/%.c..$(CC
0520: 29 20 24 28 43 50 50 46 4c 41 47 53 29 20 24 28  ) $(CPPFLAGS) $(
0530: 43 46 4c 41 47 53 29 20 2d 6f 20 22 24 40 22 20  CFLAGS) -o "$@" 
0540: 2d 63 20 22 24 3c 22 0a 0a 23 20 49 6e 73 74 61  -c "$<"..# Insta
0550: 6c 6c 20 74 68 65 20 65 78 74 65 6e 73 69 6f 6e  ll the extension
0560: 0a 69 6e 73 74 61 6c 6c 3a 20 40 45 58 54 45 4e  .install: @EXTEN
0570: 53 49 4f 4e 5f 54 41 52 47 45 54 40 20 70 6b 67  SION_TARGET@ pkg
0580: 49 6e 64 65 78 2e 74 63 6c 0a 09 24 28 49 4e 53  Index.tcl..$(INS
0590: 54 41 4c 4c 29 20 2d 64 20 27 24 28 44 45 53 54  TALL) -d '$(DEST
05a0: 44 49 52 29 24 28 50 41 43 4b 41 47 45 5f 49 4e  DIR)$(PACKAGE_IN
05b0: 53 54 41 4c 4c 5f 44 49 52 29 27 0a 09 24 28 49  STALL_DIR)'..$(I
05c0: 4e 53 54 41 4c 4c 29 20 2d 74 20 27 24 28 44 45  NSTALL) -t '$(DE
05d0: 53 54 44 49 52 29 24 28 50 41 43 4b 41 47 45 5f  STDIR)$(PACKAGE_
05e0: 49 4e 53 54 41 4c 4c 5f 44 49 52 29 27 20 40 45  INSTALL_DIR)' @E
05f0: 58 54 45 4e 53 49 4f 4e 5f 54 41 52 47 45 54 40  XTENSION_TARGET@
0600: 20 70 6b 67 49 6e 64 65 78 2e 74 63 6c 0a 0a 23   pkgIndex.tcl..#
0610: 20 43 6c 65 61 6e 20 74 68 65 20 6c 6f 63 61 6c   Clean the local
0620: 20 62 75 69 6c 64 20 64 69 72 65 63 74 6f 72 79   build directory
0630: 20 66 6f 72 20 72 65 62 75 69 6c 64 20 61 67 61   for rebuild aga
0640: 69 6e 73 74 20 74 68 65 20 73 61 6d 65 20 63 6f  inst the same co
0650: 6e 66 69 67 75 72 61 74 69 6f 6e 0a 63 6c 65 61  nfiguration.clea
0660: 6e 3a 0a 09 72 6d 20 2d 66 20 74 6c 73 2e 6f 20  n:..rm -f tls.o 
0670: 74 6c 73 42 49 4f 2e 6f 20 74 6c 73 49 4f 2e 6f  tlsBIO.o tlsIO.o
0680: 20 74 6c 73 58 35 30 39 2e 6f 0a 09 72 6d 20 2d   tlsX509.o..rm -
0690: 66 20 74 63 6c 74 6c 73 2e 40 53 48 4f 42 4a 45  f tcltls.@SHOBJE
06a0: 58 54 40 0a 09 72 6d 20 2d 66 20 74 63 6c 74 6c  XT@..rm -f tcltl
06b0: 73 2e 61 2e 6e 65 77 20 74 63 6c 74 6c 73 2e 61  s.a.new tcltls.a
06c0: 0a 0a 23 20 43 6c 65 61 6e 20 74 68 65 20 6c 6f  ..# Clean the lo
06d0: 63 61 6c 20 62 75 69 6c 64 20 64 69 72 65 63 74  cal build direct
06e0: 6f 72 79 20 62 61 63 6b 20 74 6f 20 77 68 61 74  ory back to what
06f0: 20 69 74 20 77 61 73 20 61 66 74 65 72 20 75 6e   it was after un
0700: 70 61 63 6b 69 6e 67 20 74 68 65 0a 23 20 64 69  packing the.# di
0710: 73 74 72 69 62 75 74 69 6f 6e 20 74 61 72 62 61  stribution tarba
0720: 6c 6c 0a 64 69 73 74 63 6c 65 61 6e 3a 20 63 6c  ll.distclean: cl
0730: 65 61 6e 0a 09 72 6d 20 2d 66 20 63 6f 6e 66 69  ean..rm -f confi
0740: 67 2e 6c 6f 67 20 63 6f 6e 66 69 67 2e 73 74 61  g.log config.sta
0750: 74 75 73 0a 09 72 6d 20 2d 66 20 4d 61 6b 65 66  tus..rm -f Makef
0760: 69 6c 65 20 70 6b 67 49 6e 64 65 78 2e 74 63 6c  ile pkgIndex.tcl
0770: 0a 0a 23 20 43 6c 65 61 6e 20 74 68 65 20 6c 6f  ..# Clean the lo
0780: 63 61 6c 20 62 75 69 6c 64 20 64 69 72 65 63 74  cal build direct
0790: 6f 72 79 20 62 61 63 6b 20 74 6f 20 6f 6e 6c 79  ory back to only
07a0: 20 74 68 69 6e 67 20 74 68 69 6e 67 73 20 74 68   thing things th
07b0: 61 74 20 65 78 69 73 74 20 69 6e 0a 23 20 76 65  at exist in.# ve
07c0: 72 73 69 6f 6e 20 63 6f 6e 74 72 6f 6c 20 73 79  rsion control sy
07d0: 73 74 65 6d 0a 6d 72 70 72 6f 70 65 72 3a 20 64  stem.mrproper: d
07e0: 69 73 74 63 6c 65 61 6e 0a 09 72 6d 20 2d 66 20  istclean..rm -f 
07f0: 40 73 72 63 64 69 72 40 2f 74 6c 73 2e 74 63 6c  @srcdir@/tls.tcl
0800: 2e 68 0a 09 72 6d 20 2d 66 20 40 73 72 63 64 69  .h..rm -f @srcdi
0810: 72 40 2f 63 6f 6e 66 69 67 75 72 65 20 40 73 72  r@/configure @sr
0820: 63 64 69 72 40 2f 63 6f 6e 66 69 67 2e 73 75 62  cdir@/config.sub
0830: 20 40 73 72 63 64 69 72 40 2f 63 6f 6e 66 69 67   @srcdir@/config
0840: 2e 67 75 65 73 73 20 40 73 72 63 64 69 72 40 2f  .guess @srcdir@/
0850: 69 6e 73 74 61 6c 6c 2d 73 68 0a 09 72 6d 20 2d  install-sh..rm -
0860: 66 20 40 73 72 63 64 69 72 40 2f 61 63 6c 6f 63  f @srcdir@/acloc
0870: 61 6c 2e 6d 34 0a 09 72 6d 20 2d 72 66 20 40 73  al.m4..rm -rf @s
0880: 72 63 64 69 72 40 2f 61 63 6c 6f 63 61 6c 20 40  rcdir@/aclocal @
0890: 73 72 63 64 69 72 40 2f 61 75 74 6f 6d 34 74 65  srcdir@/autom4te
08a0: 2e 63 61 63 68 65 0a 0a 2e 50 48 4f 4e 59 3a 20  .cache...PHONY: 
08b0: 61 6c 6c 20 69 6e 73 74 61 6c 6c 20 63 6c 65 61  all install clea
08c0: 6e 20 64 69 73 74 63 6c 65 61 6e 20 6d 72 70 72  n distclean mrpr
08d0: 6f 70 65 72 0a                                   oper.