Hex Artifact Content

Artifact 5bdcefa2e5f8e1ab7f5e1fb9647e4eb82807fad591d0bcc17f2307e6a755705b:


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 50 41 43  IBS = @LIBS@.PAC
00b0: 4b 41 47 45 5f 56 45 52 53 49 4f 4e 20 3d 20 40  KAGE_VERSION = @
00c0: 50 41 43 4b 41 47 45 5f 56 45 52 53 49 4f 4e 40  PACKAGE_VERSION@
00d0: 0a 70 72 65 66 69 78 20 3d 20 40 70 72 65 66 69  .prefix = @prefi
00e0: 78 40 0a 65 78 65 63 5f 70 72 65 66 69 78 20 3d  x@.exec_prefix =
00f0: 20 40 65 78 65 63 5f 70 72 65 66 69 78 40 0a 6c   @exec_prefix@.l
0100: 69 62 64 69 72 20 3d 20 40 6c 69 62 64 69 72 40  ibdir = @libdir@
0110: 0a 67 65 6e 65 72 69 63 64 69 72 20 3d 20 40 73  .genericdir = @s
0120: 72 63 64 69 72 40 2f 67 65 6e 65 72 69 63 0a 54  rcdir@/generic.T
0130: 43 4c 5f 50 41 43 4b 41 47 45 5f 50 41 54 48 20  CL_PACKAGE_PATH 
0140: 3d 20 40 54 43 4c 5f 50 41 43 4b 41 47 45 5f 50  = @TCL_PACKAGE_P
0150: 41 54 48 40 0a 50 41 43 4b 41 47 45 5f 49 4e 53  ATH@.PACKAGE_INS
0160: 54 41 4c 4c 5f 44 49 52 20 3d 20 24 28 54 43 4c  TALL_DIR = $(TCL
0170: 5f 50 41 43 4b 41 47 45 5f 50 41 54 48 29 2f 74  _PACKAGE_PATH)/t
0180: 63 6c 74 6c 73 24 28 50 41 43 4b 41 47 45 5f 56  cltls$(PACKAGE_V
0190: 45 52 53 49 4f 4e 29 0a 49 4e 53 54 41 4c 4c 20  ERSION).INSTALL 
01a0: 3d 20 40 49 4e 53 54 41 4c 4c 40 0a 49 4e 53 54  = @INSTALL@.INST
01b0: 41 4c 4c 5f 50 52 4f 47 52 41 4d 20 3d 20 40 49  ALL_PROGRAM = @I
01c0: 4e 53 54 41 4c 4c 5f 50 52 4f 47 52 41 4d 40 0a  NSTALL_PROGRAM@.
01d0: 49 4e 53 54 41 4c 4c 5f 44 41 54 41 20 3d 20 40  INSTALL_DATA = @
01e0: 49 4e 53 54 41 4c 4c 5f 44 41 54 41 40 0a 56 50  INSTALL_DATA@.VP
01f0: 41 54 48 20 3d 20 40 73 72 63 64 69 72 40 0a 0a  ATH = @srcdir@..
0200: 61 6c 6c 3a 20 40 45 58 54 45 4e 53 49 4f 4e 5f  all: @EXTENSION_
0210: 54 41 52 47 45 54 40 0a 0a 40 45 58 54 45 4e 53  TARGET@..@EXTENS
0220: 49 4f 4e 5f 54 41 52 47 45 54 40 3a 20 40 54 43  ION_TARGET@: @TC
0230: 4c 45 58 54 5f 42 55 49 4c 44 40 2d 40 45 58 54  LEXT_BUILD@-@EXT
0240: 45 4e 53 49 4f 4e 5f 54 41 52 47 45 54 40 0a 09  ENSION_TARGET@..
0250: 6d 76 20 40 54 43 4c 45 58 54 5f 42 55 49 4c 44  mv @TCLEXT_BUILD
0260: 40 2d 40 45 58 54 45 4e 53 49 4f 4e 5f 54 41 52  @-@EXTENSION_TAR
0270: 47 45 54 40 20 40 45 58 54 45 4e 53 49 4f 4e 5f  GET@ @EXTENSION_
0280: 54 41 52 47 45 54 40 0a 0a 23 20 54 68 65 20 73  TARGET@..# The s
0290: 68 61 72 65 64 20 6f 62 6a 65 63 74 20 74 61 72  hared object tar
02a0: 67 65 74 0a 73 68 61 72 65 64 2d 40 45 58 54 45  get.shared-@EXTE
02b0: 4e 53 49 4f 4e 5f 54 41 52 47 45 54 40 3a 20 74  NSION_TARGET@: t
02c0: 6c 73 2e 6f 20 74 6c 73 42 49 4f 2e 6f 20 74 6c  ls.o tlsBIO.o tl
02d0: 73 49 4f 2e 6f 20 74 6c 73 58 35 30 39 2e 6f 20  sIO.o tlsX509.o 
02e0: 4d 61 6b 65 66 69 6c 65 0a 09 24 28 43 43 29 20  Makefile..$(CC) 
02f0: 24 28 43 50 50 46 4c 41 47 53 29 20 24 28 43 46  $(CPPFLAGS) $(CF
0300: 4c 41 47 53 29 20 24 28 4c 44 46 4c 41 47 53 29  LAGS) $(LDFLAGS)
0310: 20 2d 6f 20 73 68 61 72 65 64 2d 40 45 58 54 45   -o shared-@EXTE
0320: 4e 53 49 4f 4e 5f 54 41 52 47 45 54 40 20 74 6c  NSION_TARGET@ tl
0330: 73 2e 6f 20 74 6c 73 42 49 4f 2e 6f 20 74 6c 73  s.o tlsBIO.o tls
0340: 49 4f 2e 6f 20 74 6c 73 58 35 30 39 2e 6f 20 24  IO.o tlsX509.o $
0350: 28 4c 49 42 53 29 0a 09 2d 40 57 45 41 4b 45 4e  (LIBS)..-@WEAKEN
0360: 53 59 4d 53 40 20 73 68 61 72 65 64 2d 40 45 58  SYMS@ shared-@EX
0370: 54 45 4e 53 49 4f 4e 5f 54 41 52 47 45 54 40 0a  TENSION_TARGET@.
0380: 09 2d 40 52 45 4d 4f 56 45 53 59 4d 53 40 20 73  .-@REMOVESYMS@ s
0390: 68 61 72 65 64 2d 40 45 58 54 45 4e 53 49 4f 4e  hared-@EXTENSION
03a0: 5f 54 41 52 47 45 54 40 0a 0a 23 20 54 68 65 20  _TARGET@..# The 
03b0: 73 74 61 74 69 63 20 74 61 72 67 65 74 0a 73 74  static target.st
03c0: 61 74 69 63 2d 40 45 58 54 45 4e 53 49 4f 4e 5f  atic-@EXTENSION_
03d0: 54 41 52 47 45 54 40 3a 20 74 6c 73 2e 6f 20 74  TARGET@: tls.o t
03e0: 6c 73 42 49 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20  lsBIO.o tlsIO.o 
03f0: 74 6c 73 58 35 30 39 2e 6f 20 4d 61 6b 65 66 69  tlsX509.o Makefi
0400: 6c 65 0a 09 24 28 41 52 29 20 72 63 75 20 73 74  le..$(AR) rcu st
0410: 61 74 69 63 2d 40 45 58 54 45 4e 53 49 4f 4e 5f  atic-@EXTENSION_
0420: 54 41 52 47 45 54 40 20 74 6c 73 2e 6f 20 74 6c  TARGET@ tls.o tl
0430: 73 42 49 4f 2e 6f 20 74 6c 73 49 4f 2e 6f 20 74  sBIO.o tlsIO.o t
0440: 6c 73 58 35 30 39 2e 6f 0a 09 2d 24 28 52 41 4e  lsX509.o..-$(RAN
0450: 4c 49 42 29 20 73 74 61 74 69 63 2d 40 45 58 54  LIB) static-@EXT
0460: 45 4e 53 49 4f 4e 5f 54 41 52 47 45 54 40 0a 0a  ENSION_TARGET@..
0470: 23 20 44 65 70 65 6e 64 65 6e 63 69 65 73 20 66  # Dependencies f
0480: 6f 72 20 61 6c 6c 20 6f 75 72 20 74 61 72 67 65  or all our targe
0490: 74 73 0a 74 6c 73 2e 6f 3a 20 24 28 67 65 6e 65  ts.tls.o: $(gene
04a0: 72 69 63 64 69 72 29 2f 74 6c 73 2e 63 20 24 28  ricdir)/tls.c $(
04b0: 67 65 6e 65 72 69 63 64 69 72 29 2f 74 6c 73 49  genericdir)/tlsI
04c0: 6e 74 2e 68 20 24 28 67 65 6e 65 72 69 63 64 69  nt.h $(genericdi
04d0: 72 29 2f 74 63 6c 4f 70 74 73 2e 68 20 74 6c 73  r)/tclOpts.h tls
04e0: 2e 74 63 6c 2e 68 20 64 68 5f 70 61 72 61 6d 73  .tcl.h dh_params
04f0: 2e 68 20 4d 61 6b 65 66 69 6c 65 0a 09 24 28 43  .h Makefile..$(C
0500: 43 29 20 24 28 43 50 50 46 4c 41 47 53 29 20 24  C) $(CPPFLAGS) $
0510: 28 43 46 4c 41 47 53 29 20 2d 6f 20 74 6c 73 2e  (CFLAGS) -o tls.
0520: 6f 20 2d 63 20 24 28 67 65 6e 65 72 69 63 64 69  o -c $(genericdi
0530: 72 29 2f 74 6c 73 2e 63 0a 0a 74 6c 73 42 49 4f  r)/tls.c..tlsBIO
0540: 2e 6f 3a 20 24 28 67 65 6e 65 72 69 63 64 69 72  .o: $(genericdir
0550: 29 2f 74 6c 73 42 49 4f 2e 63 20 24 28 67 65 6e  )/tlsBIO.c $(gen
0560: 65 72 69 63 64 69 72 29 2f 74 6c 73 49 6e 74 2e  ericdir)/tlsInt.
0570: 68 20 4d 61 6b 65 66 69 6c 65 0a 09 24 28 43 43  h Makefile..$(CC
0580: 29 20 24 28 43 50 50 46 4c 41 47 53 29 20 24 28  ) $(CPPFLAGS) $(
0590: 43 46 4c 41 47 53 29 20 2d 6f 20 74 6c 73 42 49  CFLAGS) -o tlsBI
05a0: 4f 2e 6f 20 2d 63 20 24 28 67 65 6e 65 72 69 63  O.o -c $(generic
05b0: 64 69 72 29 2f 74 6c 73 42 49 4f 2e 63 0a 0a 74  dir)/tlsBIO.c..t
05c0: 6c 73 49 4f 2e 6f 3a 20 24 28 67 65 6e 65 72 69  lsIO.o: $(generi
05d0: 63 64 69 72 29 2f 74 6c 73 49 4f 2e 63 20 24 28  cdir)/tlsIO.c $(
05e0: 67 65 6e 65 72 69 63 64 69 72 29 2f 74 6c 73 49  genericdir)/tlsI
05f0: 6e 74 2e 68 20 4d 61 6b 65 66 69 6c 65 0a 09 24  nt.h Makefile..$
0600: 28 43 43 29 20 24 28 43 50 50 46 4c 41 47 53 29  (CC) $(CPPFLAGS)
0610: 20 24 28 43 46 4c 41 47 53 29 20 2d 6f 20 74 6c   $(CFLAGS) -o tl
0620: 73 49 4f 2e 6f 20 2d 63 20 24 28 67 65 6e 65 72  sIO.o -c $(gener
0630: 69 63 64 69 72 29 2f 74 6c 73 49 4f 2e 63 0a 0a  icdir)/tlsIO.c..
0640: 74 6c 73 58 35 30 39 2e 6f 3a 20 24 28 67 65 6e  tlsX509.o: $(gen
0650: 65 72 69 63 64 69 72 29 2f 74 6c 73 58 35 30 39  ericdir)/tlsX509
0660: 2e 63 20 24 28 67 65 6e 65 72 69 63 64 69 72 29  .c $(genericdir)
0670: 2f 74 6c 73 49 6e 74 2e 68 20 4d 61 6b 65 66 69  /tlsInt.h Makefi
0680: 6c 65 0a 09 24 28 43 43 29 20 24 28 43 50 50 46  le..$(CC) $(CPPF
0690: 4c 41 47 53 29 20 24 28 43 46 4c 41 47 53 29 20  LAGS) $(CFLAGS) 
06a0: 2d 6f 20 74 6c 73 58 35 30 39 2e 6f 20 2d 63 20  -o tlsX509.o -c 
06b0: 24 28 67 65 6e 65 72 69 63 64 69 72 29 2f 74 6c  $(genericdir)/tl
06c0: 73 58 35 30 39 2e 63 0a 0a 23 20 43 72 65 61 74  sX509.c..# Creat
06d0: 65 20 61 20 43 2d 73 6f 75 72 63 65 2d 69 66 69  e a C-source-ifi
06e0: 65 64 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68  ed version of th
06f0: 65 20 73 63 72 69 70 74 20 72 65 73 6f 75 72 63  e script resourc
0700: 65 73 0a 23 20 66 6f 72 20 54 63 6c 54 4c 53 20  es.# for TclTLS 
0710: 73 6f 20 74 68 61 74 20 77 65 20 6f 6e 6c 79 20  so that we only 
0720: 6e 65 65 64 20 61 20 73 69 6e 67 6c 65 20 66 69  need a single fi
0730: 6c 65 20 74 6f 20 65 6e 61 62 6c 65 0a 23 20 74  le to enable.# t
0740: 68 69 73 20 65 78 74 65 6e 73 69 6f 6e 0a 74 6c  his extension.tl
0750: 73 2e 74 63 6c 2e 68 3a 20 40 73 72 63 64 69 72  s.tcl.h: @srcdir
0760: 40 2f 74 6c 73 2e 74 63 6c 20 4d 61 6b 65 66 69  @/tls.tcl Makefi
0770: 6c 65 0a 09 6f 64 20 2d 41 20 6e 20 2d 76 20 2d  le..od -A n -v -
0780: 74 20 78 43 20 3c 20 27 40 73 72 63 64 69 72 40  t xC < '@srcdir@
0790: 2f 74 6c 73 2e 74 63 6c 27 20 3e 20 74 6c 73 2e  /tls.tcl' > tls.
07a0: 74 63 6c 2e 68 2e 6e 65 77 2e 31 0a 09 73 65 64  tcl.h.new.1..sed
07b0: 20 27 73 40 5b 5e 30 2d 39 41 2d 46 61 2d 66 5d   's@[^0-9A-Fa-f]
07c0: 40 40 67 3b 73 40 2e 2e 40 30 78 26 2c 20 40 67  @@g;s@..@0x&, @g
07d0: 27 20 3c 20 74 6c 73 2e 74 63 6c 2e 68 2e 6e 65  ' < tls.tcl.h.ne
07e0: 77 2e 31 20 3e 20 74 6c 73 2e 74 63 6c 2e 68 2e  w.1 > tls.tcl.h.
07f0: 6e 65 77 2e 32 0a 09 72 6d 20 2d 66 20 74 6c 73  new.2..rm -f tls
0800: 2e 74 63 6c 2e 68 2e 6e 65 77 2e 31 0a 09 6d 76  .tcl.h.new.1..mv
0810: 20 74 6c 73 2e 74 63 6c 2e 68 2e 6e 65 77 2e 32   tls.tcl.h.new.2
0820: 20 74 6c 73 2e 74 63 6c 2e 68 0a 0a 23 20 43 72   tls.tcl.h..# Cr
0830: 65 61 74 65 20 64 65 66 61 75 6c 74 20 44 48 20  eate default DH 
0840: 70 61 72 61 6d 65 74 65 72 73 0a 64 68 5f 70 61  parameters.dh_pa
0850: 72 61 6d 73 2e 68 3a 20 40 73 72 63 64 69 72 40  rams.h: @srcdir@
0860: 2f 67 65 6e 5f 64 68 5f 70 61 72 61 6d 73 20 4d  /gen_dh_params M
0870: 61 6b 65 66 69 6c 65 0a 09 73 68 20 40 73 72 63  akefile..sh @src
0880: 64 69 72 40 2f 67 65 6e 5f 64 68 5f 70 61 72 61  dir@/gen_dh_para
0890: 6d 73 20 40 47 45 4e 5f 44 48 5f 50 41 52 41 4d  ms @GEN_DH_PARAM
08a0: 53 5f 41 52 47 53 40 20 3e 20 64 68 5f 70 61 72  S_ARGS@ > dh_par
08b0: 61 6d 73 2e 68 2e 6e 65 77 0a 09 6d 76 20 64 68  ams.h.new..mv dh
08c0: 5f 70 61 72 61 6d 73 2e 68 2e 6e 65 77 20 64 68  _params.h.new dh
08d0: 5f 70 61 72 61 6d 73 2e 68 0a 0a 23 20 49 6e 73  _params.h..# Ins
08e0: 74 61 6c 6c 20 74 68 65 20 65 78 74 65 6e 73 69  tall the extensi
08f0: 6f 6e 0a 69 6e 73 74 61 6c 6c 3a 20 40 45 58 54  on.install: @EXT
0900: 45 4e 53 49 4f 4e 5f 54 41 52 47 45 54 40 20 70  ENSION_TARGET@ p
0910: 6b 67 49 6e 64 65 78 2e 74 63 6c 0a 09 24 28 49  kgIndex.tcl..$(I
0920: 4e 53 54 41 4c 4c 29 20 2d 64 20 27 24 28 44 45  NSTALL) -d '$(DE
0930: 53 54 44 49 52 29 24 28 50 41 43 4b 41 47 45 5f  STDIR)$(PACKAGE_
0940: 49 4e 53 54 41 4c 4c 5f 44 49 52 29 27 0a 09 24  INSTALL_DIR)'..$
0950: 28 49 4e 53 54 41 4c 4c 5f 50 52 4f 47 52 41 4d  (INSTALL_PROGRAM
0960: 29 20 40 45 58 54 45 4e 53 49 4f 4e 5f 54 41 52  ) @EXTENSION_TAR
0970: 47 45 54 40 20 27 24 28 44 45 53 54 44 49 52 29  GET@ '$(DESTDIR)
0980: 24 28 50 41 43 4b 41 47 45 5f 49 4e 53 54 41 4c  $(PACKAGE_INSTAL
0990: 4c 5f 44 49 52 29 27 0a 09 24 28 49 4e 53 54 41  L_DIR)'..$(INSTA
09a0: 4c 4c 5f 44 41 54 41 29 20 20 20 20 70 6b 67 49  LL_DATA)    pkgI
09b0: 6e 64 65 78 2e 74 63 6c 20 27 24 28 44 45 53 54  ndex.tcl '$(DEST
09c0: 44 49 52 29 24 28 50 41 43 4b 41 47 45 5f 49 4e  DIR)$(PACKAGE_IN
09d0: 53 54 41 4c 4c 5f 44 49 52 29 27 0a 0a 23 20 41  STALL_DIR)'..# A
09e0: 20 63 6f 6e 76 69 65 6e 65 6e 74 20 68 65 6c 70   convienent help
09f0: 65 72 20 74 6f 20 75 6e 64 6f 20 74 68 65 20 69  er to undo the i
0a00: 6e 73 74 61 6c 6c 61 74 69 6f 6e 20 6a 75 73 74  nstallation just
0a10: 20 64 6f 6e 65 0a 75 6e 69 6e 73 74 61 6c 6c 3a   done.uninstall:
0a20: 0a 09 72 6d 20 2d 66 20 27 24 28 44 45 53 54 44  ..rm -f '$(DESTD
0a30: 49 52 29 24 28 50 41 43 4b 41 47 45 5f 49 4e 53  IR)$(PACKAGE_INS
0a40: 54 41 4c 4c 5f 44 49 52 29 2f 40 45 58 54 45 4e  TALL_DIR)/@EXTEN
0a50: 53 49 4f 4e 5f 54 41 52 47 45 54 40 27 0a 09 72  SION_TARGET@'..r
0a60: 6d 20 2d 66 20 27 24 28 44 45 53 54 44 49 52 29  m -f '$(DESTDIR)
0a70: 24 28 50 41 43 4b 41 47 45 5f 49 4e 53 54 41 4c  $(PACKAGE_INSTAL
0a80: 4c 5f 44 49 52 29 2f 70 6b 67 49 6e 64 65 78 2e  L_DIR)/pkgIndex.
0a90: 74 63 6c 27 0a 09 2d 72 6d 64 69 72 20 27 24 28  tcl'..-rmdir '$(
0aa0: 44 45 53 54 44 49 52 29 24 28 50 41 43 4b 41 47  DESTDIR)$(PACKAG
0ab0: 45 5f 49 4e 53 54 41 4c 4c 5f 44 49 52 29 27 0a  E_INSTALL_DIR)'.
0ac0: 0a 23 20 54 65 73 74 20 74 61 72 67 65 74 2c 20  .# Test target, 
0ad0: 72 75 6e 20 74 68 65 20 61 75 74 6f 6d 61 74 65  run the automate
0ae0: 64 20 74 65 73 74 20 73 75 69 74 65 0a 74 65 73  d test suite.tes
0af0: 74 3a 20 40 45 58 54 45 4e 53 49 4f 4e 5f 54 41  t: @EXTENSION_TA
0b00: 52 47 45 54 40 0a 09 40 54 43 4c 53 48 5f 50 52  RGET@..@TCLSH_PR
0b10: 4f 47 40 20 40 73 72 63 64 69 72 40 2f 74 65 73  OG@ @srcdir@/tes
0b20: 74 73 2f 61 6c 6c 2e 74 63 6c 20 24 28 54 45 53  ts/all.tcl $(TES
0b30: 54 46 4c 41 47 53 29 20 2d 6c 6f 61 64 20 22 6c  TFLAGS) -load "l
0b40: 61 70 70 65 6e 64 20 61 75 74 6f 5f 70 61 74 68  append auto_path
0b50: 20 24 28 73 68 65 6c 6c 20 70 77 64 29 22 0a 0a   $(shell pwd)"..
0b60: 23 20 43 6c 65 61 6e 20 74 68 65 20 6c 6f 63 61  # Clean the loca
0b70: 6c 20 62 75 69 6c 64 20 64 69 72 65 63 74 6f 72  l build director
0b80: 79 20 66 6f 72 20 72 65 62 75 69 6c 64 20 61 67  y for rebuild ag
0b90: 61 69 6e 73 74 20 74 68 65 20 73 61 6d 65 20 63  ainst the same c
0ba0: 6f 6e 66 69 67 75 72 61 74 69 6f 6e 0a 63 6c 65  onfiguration.cle
0bb0: 61 6e 3a 0a 09 72 6d 20 2d 66 20 74 6c 73 2e 6f  an:..rm -f tls.o
0bc0: 20 74 6c 73 42 49 4f 2e 6f 20 74 6c 73 49 4f 2e   tlsBIO.o tlsIO.
0bd0: 6f 20 74 6c 73 58 35 30 39 2e 6f 0a 09 72 6d 20  o tlsX509.o..rm 
0be0: 2d 66 20 40 45 58 54 45 4e 53 49 4f 4e 5f 54 41  -f @EXTENSION_TA
0bf0: 52 47 45 54 40 20 73 68 61 72 65 64 2d 40 45 58  RGET@ shared-@EX
0c00: 54 45 4e 53 49 4f 4e 5f 54 41 52 47 45 54 40 20  TENSION_TARGET@ 
0c10: 73 74 61 74 69 63 2d 40 45 58 54 45 4e 53 49 4f  static-@EXTENSIO
0c20: 4e 5f 54 41 52 47 45 54 40 0a 09 72 6d 20 2d 66  N_TARGET@..rm -f
0c30: 20 73 68 61 72 65 64 2d 40 45 58 54 45 4e 53 49   shared-@EXTENSI
0c40: 4f 4e 5f 54 41 52 47 45 54 40 2e 64 65 66 20 73  ON_TARGET@.def s
0c50: 68 61 72 65 64 2d 40 45 58 54 45 4e 53 49 4f 4e  hared-@EXTENSION
0c60: 5f 54 41 52 47 45 54 40 2e 6c 69 62 0a 09 72 6d  _TARGET@.lib..rm
0c70: 20 2d 66 20 74 6c 73 2e 74 63 6c 2e 68 20 74 6c   -f tls.tcl.h tl
0c80: 73 2e 74 63 6c 2e 68 2e 6e 65 77 2e 31 20 74 6c  s.tcl.h.new.1 tl
0c90: 73 2e 74 63 6c 2e 68 2e 6e 65 77 2e 32 0a 0a 23  s.tcl.h.new.2..#
0ca0: 20 43 6c 65 61 6e 20 74 68 65 20 6c 6f 63 61 6c   Clean the local
0cb0: 20 62 75 69 6c 64 20 64 69 72 65 63 74 6f 72 79   build directory
0cc0: 20 62 61 63 6b 20 74 6f 20 77 68 61 74 20 69 74   back to what it
0cd0: 20 77 61 73 20 61 66 74 65 72 20 75 6e 70 61 63   was after unpac
0ce0: 6b 69 6e 67 20 74 68 65 0a 23 20 64 69 73 74 72  king the.# distr
0cf0: 69 62 75 74 69 6f 6e 20 74 61 72 62 61 6c 6c 0a  ibution tarball.
0d00: 64 69 73 74 63 6c 65 61 6e 3a 20 63 6c 65 61 6e  distclean: clean
0d10: 0a 09 72 6d 20 2d 66 20 63 6f 6e 66 69 67 2e 6c  ..rm -f config.l
0d20: 6f 67 20 63 6f 6e 66 69 67 2e 73 74 61 74 75 73  og config.status
0d30: 0a 09 72 6d 20 2d 66 20 64 68 5f 70 61 72 61 6d  ..rm -f dh_param
0d40: 73 2e 68 2e 6e 65 77 20 64 68 5f 70 61 72 61 6d  s.h.new dh_param
0d50: 73 2e 68 0a 09 72 6d 20 2d 66 20 4d 61 6b 65 66  s.h..rm -f Makef
0d60: 69 6c 65 20 70 6b 67 49 6e 64 65 78 2e 74 63 6c  ile pkgIndex.tcl
0d70: 0a 09 72 6d 20 2d 66 20 74 63 6c 74 6c 73 2e 61  ..rm -f tcltls.a
0d80: 2e 6c 69 6e 6b 61 64 64 0a 09 72 6d 20 2d 66 20  .linkadd..rm -f 
0d90: 74 63 6c 74 6c 73 2e 73 79 6d 73 0a 0a 23 20 43  tcltls.syms..# C
0da0: 6c 65 61 6e 20 74 68 65 20 6c 6f 63 61 6c 20 62  lean the local b
0db0: 75 69 6c 64 20 64 69 72 65 63 74 6f 72 79 20 62  uild directory b
0dc0: 61 63 6b 20 74 6f 20 6f 6e 6c 79 20 74 68 69 6e  ack to only thin
0dd0: 67 20 74 68 69 6e 67 73 20 74 68 61 74 20 65 78  g things that ex
0de0: 69 73 74 20 69 6e 0a 23 20 76 65 72 73 69 6f 6e  ist in.# version
0df0: 20 63 6f 6e 74 72 6f 6c 20 73 79 73 74 65 6d 0a   control system.
0e00: 6d 72 70 72 6f 70 65 72 3a 20 64 69 73 74 63 6c  mrproper: distcl
0e10: 65 61 6e 0a 09 72 6d 20 2d 66 20 40 73 72 63 64  ean..rm -f @srcd
0e20: 69 72 40 2f 63 6f 6e 66 69 67 75 72 65 20 40 73  ir@/configure @s
0e30: 72 63 64 69 72 40 2f 63 6f 6e 66 69 67 2e 73 75  rcdir@/config.su
0e40: 62 20 40 73 72 63 64 69 72 40 2f 63 6f 6e 66 69  b @srcdir@/confi
0e50: 67 2e 67 75 65 73 73 20 40 73 72 63 64 69 72 40  g.guess @srcdir@
0e60: 2f 69 6e 73 74 61 6c 6c 2d 73 68 0a 09 72 6d 20  /install-sh..rm 
0e70: 2d 66 20 40 73 72 63 64 69 72 40 2f 61 63 6c 6f  -f @srcdir@/aclo
0e80: 63 61 6c 2e 6d 34 0a 09 72 6d 20 2d 72 66 20 40  cal.m4..rm -rf @
0e90: 73 72 63 64 69 72 40 2f 61 75 74 6f 6d 34 74 65  srcdir@/autom4te
0ea0: 2e 63 61 63 68 65 0a 0a 2e 50 48 4f 4e 59 3a 20  .cache...PHONY: 
0eb0: 61 6c 6c 20 69 6e 73 74 61 6c 6c 20 75 6e 69 6e  all install unin
0ec0: 73 74 61 6c 6c 20 63 6c 65 61 6e 20 64 69 73 74  stall clean dist
0ed0: 63 6c 65 61 6e 20 6d 72 70 72 6f 70 65 72 20 74  clean mrproper t
0ee0: 65 73 74 0a                                      est.