Artifact
321d35e5f7e0c05c61578f9dba611807581228134c0c33700a9bbe93806eebb4:
Ticket change
[321d35e5f7]
- Ticket
[604bb68b5c25a5c6|604bb68b5c] <i>How to build Tcl tls on Windows 64 bit (VisualStudio 12) from scratch?</i> status still Open with 4 other changes
by
oehhar on
2020-10-20 16:11:58.
0000: 44 20 32 30 32 30 2d 31 30 2d 32 30 54 31 36 3a D 2020-10-20T16:
0010: 31 31 3a 35 38 2e 39 35 39 0a 4a 20 69 63 6f 6d 11:58.959.J icom
0020: 6d 65 6e 74 20 48 65 72 65 5c 73 69 73 5c 73 74 ment Here\sis\st
0030: 68 65 5c 73 70 61 74 63 68 5c 73 73 74 61 72 74 he\spatch\sstart
0040: 69 6e 67 5c 73 66 72 6f 6d 5c 73 63 68 65 63 6b ing\sfrom\scheck
0050: 69 6e 5c 73 5b 39 63 33 32 61 35 32 36 65 64 5d in\s[9c32a526ed]
0060: 5c 73 66 6f 72 5c 73 79 6f 75 72 5c 73 63 6f 6e \sfor\syour\scon
0070: 76 65 6e 69 65 6e 63 65 2e 5c 72 5c 6e 5c 72 5c venience.\r\n\r\
0080: 6e 45 6e 6a 6f 79 2c 5c 72 5c 6e 48 61 72 61 6c nEnjoy,\r\nHaral
0090: 64 5c 72 5c 6e 5c 72 5c 6e 3c 76 65 72 62 61 74 d\r\n\r\n<verbat
00a0: 69 6d 3e 5c 72 5c 6e 49 6e 64 65 78 3a 5c 73 74 im>\r\nIndex:\st
00b0: 6c 73 2e 63 5c 72 5c 6e 3d 3d 3d 3d 3d 3d 3d 3d ls.c\r\n========
00c0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
00d0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
00e0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
00f0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 5c 72 5c 6e 2d 2d ==========\r\n--
0100: 2d 5c 73 74 6c 73 2e 63 5c 72 5c 6e 2b 2b 2b 5c -\stls.c\r\n+++\
0110: 73 74 6c 73 2e 63 5c 72 5c 6e 40 40 5c 73 2d 31 stls.c\r\n@@\s-1
0120: 37 37 34 2c 31 31 5c 73 2b 31 37 37 34 2c 31 31 774,11\s+1774,11
0130: 5c 73 40 40 5c 72 5c 6e 5c 73 5c 73 2a 5c 74 5c \s@@\r\n\s\s*\t\
0140: 73 63 72 65 61 74 65 5c 73 74 68 65 5c 73 73 73 screate\sthe\sss
0150: 6c 5c 73 63 6f 6d 6d 61 6e 64 2c 5c 73 69 6e 69 l\scommand,\sini
0160: 74 69 61 6c 69 73 65 5c 73 73 73 6c 5c 73 63 6f tialise\sssl\sco
0170: 6e 74 65 78 74 5c 72 5c 6e 5c 73 5c 73 2a 5c 72 ntext\r\n\s\s*\r
0180: 5c 6e 5c 73 5c 73 2a 2d 2d 2d 2d 2d 2d 2d 2d 2d \n\s\s*---------
0190: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
01a0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
01b0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
01c0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 5c 72 5c 6e 5c 73 ----------\r\n\s
01d0: 5c 73 2a 2f 5c 72 5c 6e 5c 73 5c 72 5c 6e 2d 69 \s*/\r\n\s\r\n-i
01e0: 6e 74 5c 73 54 6c 73 5f 49 6e 69 74 28 54 63 6c nt\sTls_Init(Tcl
01f0: 5f 49 6e 74 65 72 70 5c 73 2a 69 6e 74 65 72 70 _Interp\s*interp
0200: 29 5c 73 7b 5c 72 5c 6e 2b 44 4c 4c 45 58 50 4f )\s{\r\n+DLLEXPO
0210: 52 54 5c 73 69 6e 74 5c 73 54 6c 73 5f 49 6e 69 RT\sint\sTls_Ini
0220: 74 28 54 63 6c 5f 49 6e 74 65 72 70 5c 73 2a 69 t(Tcl_Interp\s*i
0230: 6e 74 65 72 70 29 5c 73 7b 5c 72 5c 6e 5c 73 5c nterp)\s{\r\n\s\
0240: 74 63 6f 6e 73 74 5c 73 63 68 61 72 5c 73 74 6c tconst\schar\stl
0250: 73 54 63 6c 49 6e 69 74 53 63 72 69 70 74 5b 5d sTclInitScript[]
0260: 5c 73 3d 5c 73 7b 5c 72 5c 6e 5c 73 23 69 6e 63 \s=\s{\r\n\s#inc
0270: 6c 75 64 65 5c 73 22 74 6c 73 2e 74 63 6c 2e 68 lude\s"tls.tcl.h
0280: 22 5c 72 5c 6e 5c 73 5c 73 5c 73 5c 73 5c 73 5c "\r\n\s\s\s\s\s\
0290: 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 30 s\s\s\s\s\s\s\s0
02a0: 78 30 30 5c 72 5c 6e 5c 73 5c 74 7d 3b 5c 72 5c x00\r\n\s\t};\r\
02b0: 6e 5c 73 5c 72 5c 6e 40 40 5c 73 2d 31 38 33 34 n\s\r\n@@\s-1834
02c0: 2c 31 31 5c 73 2b 31 38 33 34 2c 31 31 5c 73 40 ,11\s+1834,11\s@
02d0: 40 5c 72 5c 6e 5c 73 5c 73 2a 5c 74 5c 74 41 5c @\r\n\s\s*\t\tA\
02e0: 73 73 74 61 6e 64 61 72 64 5c 73 54 63 6c 5c 73 sstandard\sTcl\s
02f0: 65 72 72 6f 72 5c 73 63 6f 64 65 2e 5c 72 5c 6e error\scode.\r\n
0300: 5c 73 5c 73 2a 5c 72 5c 6e 5c 73 5c 73 2a 2d 2d \s\s*\r\n\s\s*--
0310: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
0320: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
0330: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
0340: 2d 2d 2d 2d 2a 5c 72 5c 6e 5c 73 5c 73 2a 2f 5c ----*\r\n\s\s*/\
0350: 72 5c 6e 5c 73 5c 72 5c 6e 2d 69 6e 74 5c 73 54 r\n\s\r\n-int\sT
0360: 6c 73 5f 53 61 66 65 49 6e 69 74 28 54 63 6c 5f ls_SafeInit(Tcl_
0370: 49 6e 74 65 72 70 5c 73 2a 69 6e 74 65 72 70 29 Interp\s*interp)
0380: 5c 73 7b 5c 72 5c 6e 2b 44 4c 4c 45 58 50 4f 52 \s{\r\n+DLLEXPOR
0390: 54 5c 73 69 6e 74 5c 73 54 6c 73 5f 53 61 66 65 T\sint\sTls_Safe
03a0: 49 6e 69 74 28 54 63 6c 5f 49 6e 74 65 72 70 5c Init(Tcl_Interp\
03b0: 73 2a 69 6e 74 65 72 70 29 5c 73 7b 5c 72 5c 6e s*interp)\s{\r\n
03c0: 5c 73 5c 74 64 70 72 69 6e 74 66 28 22 43 61 6c \s\tdprintf("Cal
03d0: 6c 65 64 22 29 3b 5c 72 5c 6e 5c 73 5c 74 72 65 led");\r\n\s\tre
03e0: 74 75 72 6e 28 54 6c 73 5f 49 6e 69 74 28 69 6e turn(Tls_Init(in
03f0: 74 65 72 70 29 29 3b 5c 72 5c 6e 5c 73 7d 5c 72 terp));\r\n\s}\r
0400: 5c 6e 5c 73 5c 72 5c 6e 5c 73 2f 2a 5c 72 5c 6e \n\s\r\n\s/*\r\n
0410: 5c 72 5c 6e 49 6e 64 65 78 3a 5c 73 74 6c 73 2e \r\nIndex:\stls.
0420: 68 5c 72 5c 6e 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d h\r\n===========
0430: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
0440: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
0450: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
0460: 3d 3d 3d 3d 3d 3d 3d 5c 72 5c 6e 2d 2d 2d 5c 73 =======\r\n---\s
0470: 74 6c 73 2e 68 5c 72 5c 6e 2b 2b 2b 5c 73 74 6c tls.h\r\n+++\stl
0480: 73 2e 68 5c 72 5c 6e 40 40 5c 73 2d 32 31 2c 39 s.h\r\n@@\s-21,9
0490: 5c 73 2b 32 31 2c 39 5c 73 40 40 5c 72 5c 6e 5c \s+21,9\s@@\r\n\
04a0: 73 23 69 6e 63 6c 75 64 65 5c 73 3c 74 63 6c 2e s#include\s<tcl.
04b0: 68 3e 5c 72 5c 6e 5c 73 5c 72 5c 6e 5c 73 2f 2a h>\r\n\s\r\n\s/*
04c0: 5c 72 5c 6e 5c 73 5c 73 2a 5c 73 49 6e 69 74 69 \r\n\s\s*\sIniti
04d0: 61 6c 69 7a 61 74 69 6f 6e 5c 73 72 6f 75 74 69 alization\srouti
04e0: 6e 65 73 5c 73 2d 2d 5c 73 6f 75 72 5c 73 65 6e nes\s--\sour\sen
04f0: 74 69 72 65 5c 73 70 75 62 6c 69 63 5c 73 43 5c tire\spublic\sC\
0500: 73 41 50 49 2e 5c 72 5c 6e 5c 73 5c 73 2a 2f 5c sAPI.\r\n\s\s*/\
0510: 72 5c 6e 2d 69 6e 74 5c 73 54 6c 73 5f 49 6e 69 r\n-int\sTls_Ini
0520: 74 28 54 63 6c 5f 49 6e 74 65 72 70 5c 73 2a 69 t(Tcl_Interp\s*i
0530: 6e 74 65 72 70 29 3b 5c 72 5c 6e 2d 69 6e 74 5c nterp);\r\n-int\
0540: 73 54 6c 73 5f 53 61 66 65 49 6e 69 74 28 54 63 sTls_SafeInit(Tc
0550: 6c 5f 49 6e 74 65 72 70 5c 73 2a 69 6e 74 65 72 l_Interp\s*inter
0560: 70 29 3b 5c 72 5c 6e 2b 44 4c 4c 45 58 50 4f 52 p);\r\n+DLLEXPOR
0570: 54 5c 73 69 6e 74 5c 73 54 6c 73 5f 49 6e 69 74 T\sint\sTls_Init
0580: 28 54 63 6c 5f 49 6e 74 65 72 70 5c 73 2a 69 6e (Tcl_Interp\s*in
0590: 74 65 72 70 29 3b 5c 72 5c 6e 2b 44 4c 4c 45 58 terp);\r\n+DLLEX
05a0: 50 4f 52 54 5c 73 69 6e 74 5c 73 54 6c 73 5f 53 PORT\sint\sTls_S
05b0: 61 66 65 49 6e 69 74 28 54 63 6c 5f 49 6e 74 65 afeInit(Tcl_Inte
05c0: 72 70 5c 73 2a 69 6e 74 65 72 70 29 3b 5c 72 5c rp\s*interp);\r\
05d0: 6e 5c 73 5c 72 5c 6e 5c 73 23 65 6e 64 69 66 5c n\s\r\n\s#endif\
05e0: 73 2f 2a 5c 73 5f 54 4c 53 5f 48 5c 73 2a 2f 5c s/*\s_TLS_H\s*/\
05f0: 72 5c 6e 5c 72 5c 6e 41 44 44 45 44 5c 73 5c 73 r\n\r\nADDED\s\s
0600: 5c 73 77 69 6e 2f 52 45 41 44 4d 45 2e 74 78 74 \swin/README.txt
0610: 5c 72 5c 6e 49 6e 64 65 78 3a 5c 73 77 69 6e 2f \r\nIndex:\swin/
0620: 52 45 41 44 4d 45 2e 74 78 74 5c 72 5c 6e 3d 3d README.txt\r\n==
0630: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
0640: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
0650: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
0660: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
0670: 5c 72 5c 6e 2d 2d 2d 5c 73 77 69 6e 2f 52 45 41 \r\n---\swin/REA
0680: 44 4d 45 2e 74 78 74 5c 72 5c 6e 2b 2b 2b 5c 73 DME.txt\r\n+++\s
0690: 77 69 6e 2f 52 45 41 44 4d 45 2e 74 78 74 5c 72 win/README.txt\r
06a0: 5c 6e 40 40 5c 73 2d 30 2c 30 5c 73 2b 31 2c 36 \n@@\s-0,0\s+1,6
06b0: 36 5c 73 40 40 5c 72 5c 6e 2b 5c 74 57 69 6e 64 6\s@@\r\n+\tWind
06c0: 6f 77 73 5c 73 44 4c 4c 5c 73 42 75 69 6c 64 5c ows\sDLL\sBuild\
06d0: 73 69 6e 73 74 72 75 63 74 69 6f 6e 73 5c 73 75 sinstructions\su
06e0: 73 69 6e 67 5c 73 6e 6d 61 6b 65 5c 73 62 75 69 sing\snmake\sbui
06f0: 6c 64 5c 73 73 79 73 74 65 6d 5c 72 5c 6e 2b 5c ld\ssystem\r\n+\
0700: 74 32 30 32 30 2d 31 30 2d 31 35 5c 73 48 61 72 t2020-10-15\sHar
0710: 61 6c 64 2e 4f 65 68 6c 6d 61 6e 6e 40 65 6c 6d ald.Oehlmann@elm
0720: 69 63 72 6f 6e 2e 64 65 5c 72 5c 6e 2b 5c 72 5c icron.de\r\n+\r\
0730: 6e 2b 50 72 6f 70 65 72 74 69 65 73 3a 5c 72 5c n+Properties:\r\
0740: 6e 2b 2d 5c 73 33 32 5c 73 62 69 74 5c 73 44 4c n+-\s32\sbit\sDL
0750: 4c 5c 72 5c 6e 2b 2d 5c 73 56 69 73 75 61 6c 53 L\r\n+-\sVisualS
0760: 74 75 64 69 6f 5c 73 32 30 31 35 5c 72 5c 6e 2b tudio\s2015\r\n+
0770: 4e 6f 74 65 3a 5c 73 56 75 69 73 75 61 6c 5c 73 Note:\sVuisual\s
0780: 43 2b 2b 5c 73 36 5c 73 64 6f 65 73 5c 73 6e 6f C++\s6\sdoes\sno
0790: 74 5c 73 62 75 69 6c 64 5c 73 4f 70 65 6e 53 53 t\sbuild\sOpenSS
07a0: 4c 5c 73 28 6c 6f 6e 67 5c 73 6c 6f 6e 67 5c 73 L\s(long\slong\s
07b0: 73 79 6e 74 61 78 5c 73 65 72 72 6f 72 29 5c 72 syntax\serror)\r
07c0: 5c 6e 2b 2d 5c 73 43 79 67 77 69 6e 33 32 5c 73 \n+-\sCygwin32\s
07d0: 28 74 65 6d 70 6f 72 61 72 79 5c 73 68 65 6c 70 (temporary\shelp
07e0: 65 72 2c 5c 73 70 6c 65 61 73 65 5c 73 68 65 6c er,\splease\shel
07f0: 70 5c 73 74 6f 5c 73 72 65 70 6c 61 63 65 5c 73 p\sto\sreplace\s
0800: 62 79 5c 73 74 63 6c 73 68 29 5c 72 5c 6e 2b 2d by\stclsh)\r\n+-
0810: 5c 73 4f 70 65 6e 53 53 4c 5c 73 73 74 61 74 69 \sOpenSSL\sstati
0820: 63 61 6c 6c 79 5c 73 6c 69 6e 6b 65 64 5c 73 74 cally\slinked\st
0830: 6f 5c 73 54 43 4c 54 4c 53 5c 73 44 4c 4c 2e 5c o\sTCLTLS\sDLL.\
0840: 72 5c 6e 2b 4e 6f 74 65 3a 5c 73 44 79 6e 61 6d r\n+Note:\sDynam
0850: 69 63 5c 73 6c 69 6e 6b 69 6e 67 5c 73 61 6c 73 ic\slinking\sals
0860: 6f 5c 73 77 6f 72 6b 73 5c 73 62 75 74 5c 73 72 o\sworks\sbut\sr
0870: 65 73 75 6c 74 73 5c 73 69 6e 5c 73 61 5c 73 44 esults\sin\sa\sD
0880: 4c 4c 5c 73 64 65 70 65 6e 64 65 6e 79 5c 73 6f LL\sdependeny\so
0890: 6e 5c 73 4f 50 45 4e 53 53 4c 5c 73 44 4c 4c 27 n\sOPENSSL\sDLL'
08a0: 73 5c 72 5c 6e 2b 5c 72 5c 6e 2b 31 29 5c 73 42 s\r\n+\r\n+1)\sB
08b0: 75 69 6c 64 5c 73 4f 70 65 6e 53 53 4c 5c 73 73 uild\sOpenSSL\ss
08c0: 74 61 74 69 63 5c 73 6c 69 62 72 61 72 69 65 73 tatic\slibraries
08d0: 3a 5c 72 5c 6e 2b 5c 72 5c 6e 2b 4f 70 65 6e 53 :\r\n+\r\n+OpenS
08e0: 53 4c 5c 73 73 6f 75 72 63 65 5c 73 64 69 73 74 SL\ssource\sdist
08f0: 72 69 62 74 75 74 69 6f 6e 5c 73 75 6e 70 61 63 ribtution\sunpac
0900: 6b 65 64 5c 73 69 6e 3a 5c 72 5c 6e 2b 63 3a 5c ked\sin:\r\n+c:\
0910: 5c 74 65 73 74 5c 5c 74 63 6c 74 6c 73 5c 5c 4f \test\\tcltls\\O
0920: 70 65 6e 73 73 6c 5f 31 5f 31 5f 31 68 5c 72 5c penssl_1_1_1h\r\
0930: 6e 2b 5c 72 5c 6e 2b 2d 5c 73 49 6e 73 74 61 6c n+\r\n+-\sInstal
0940: 6c 5c 73 50 65 72 6c 5c 73 66 72 6f 6d 5c 73 68 l\sPerl\sfrom\sh
0950: 74 74 70 3a 2f 2f 73 74 72 61 77 62 65 72 72 79 ttp://strawberry
0960: 70 65 72 6c 2e 63 6f 6d 2f 64 6f 77 6e 6c 6f 61 perl.com/downloa
0970: 64 2f 35 2e 33 32 2e 30 2e 31 2f 73 74 72 61 77 d/5.32.0.1/straw
0980: 62 65 72 72 79 2d 70 65 72 6c 2d 35 2e 33 32 2e berry-perl-5.32.
0990: 30 2e 31 2d 33 32 62 69 74 2e 6d 73 69 5c 72 5c 0.1-32bit.msi\r\
09a0: 6e 2b 5c 73 5c 73 74 6f 5c 73 43 3a 5c 5c 70 65 n+\s\sto\sC:\\pe
09b0: 72 6c 5c 72 5c 6e 2b 5c 73 5c 73 28 41 63 74 69 rl\r\n+\s\s(Acti
09c0: 76 65 50 65 72 6c 5c 73 66 61 69 6c 65 64 5c 73 vePerl\sfailed\s
09d0: 64 75 65 5c 73 74 6f 5c 73 6d 69 73 73 69 6e 67 due\sto\smissing
09e0: 5c 73 33 32 5c 73 62 69 74 5c 73 63 6f 6e 73 6f \s32\sbit\sconso
09f0: 6c 65 5c 73 6d 6f 64 75 6c 65 29 5c 72 5c 6e 2b le\smodule)\r\n+
0a00: 2d 5c 73 49 6e 73 74 61 6c 6c 5c 73 4e 41 53 4d -\sInstall\sNASM
0a10: 5c 73 41 73 73 65 6d 62 6c 65 72 3a 5c 72 5c 6e \sAssembler:\r\n
0a20: 2b 5c 72 5c 6e 2b 68 74 74 70 73 3a 2f 2f 77 77 +\r\n+https://ww
0a30: 77 2e 6e 61 73 6d 2e 75 73 2f 70 75 62 2f 6e 61 w.nasm.us/pub/na
0a40: 73 6d 2f 72 65 6c 65 61 73 65 62 75 69 6c 64 73 sm/releasebuilds
0a50: 2f 32 2e 31 35 2e 30 35 2f 77 69 6e 33 32 2f 6e /2.15.05/win32/n
0a60: 61 73 6d 2d 32 2e 31 35 2e 30 35 2d 69 6e 73 74 asm-2.15.05-inst
0a70: 61 6c 6c 65 72 2d 78 38 36 2e 65 78 65 5c 72 5c aller-x86.exe\r\
0a80: 6e 2b 5c 73 5c 73 74 6f 5c 73 43 3a 5c 5c 50 72 n+\s\sto\sC:\\Pr
0a90: 6f 67 72 61 6d 5c 73 46 69 6c 65 73 5c 73 28 78 ogram\sFiles\s(x
0aa0: 38 36 29 5c 5c 4e 41 53 4d 5c 72 5c 6e 2b 5c 73 86)\\NASM\r\n+\s
0ab0: 5c 73 5c 72 5c 6e 2b 2d 3e 5c 73 56 69 73 75 61 \s\r\n+->\sVisua
0ac0: 6c 5c 73 53 74 75 64 69 6f 5c 73 78 38 36 5c 73 l\sStudio\sx86\s
0ad0: 6e 61 74 69 76 65 5c 73 70 72 6f 6d 70 74 2e 5c native\sprompt.\
0ae0: 72 5c 6e 2b 5c 72 5c 6e 2b 73 65 74 5c 73 50 61 r\n+\r\n+set\sPa
0af0: 74 68 3d 25 50 41 54 48 25 3b 43 3a 5c 5c 50 72 th=%PATH%;C:\\Pr
0b00: 6f 67 72 61 6d 5c 73 46 69 6c 65 73 5c 73 28 78 ogram\sFiles\s(x
0b10: 38 36 29 5c 5c 4e 41 53 4d 3b 43 3a 5c 5c 50 65 86)\\NASM;C:\\Pe
0b20: 72 6c 5c 5c 70 65 72 6c 5c 5c 62 69 6e 5c 72 5c rl\\perl\\bin\r\
0b30: 6e 2b 5c 72 5c 6e 2b 70 65 72 6c 5c 73 43 6f 6e n+\r\n+perl\sCon
0b40: 66 69 67 75 72 65 5c 73 56 43 2d 57 49 4e 33 32 figure\sVC-WIN32
0b50: 5c 73 2d 2d 70 72 65 66 69 78 3d 63 3a 5c 5c 74 \s--prefix=c:\\t
0b60: 65 73 74 5c 5c 74 63 6c 74 6c 73 5c 5c 6f 70 65 est\\tcltls\\ope
0b70: 6e 73 73 6c 5c 73 2d 2d 6f 70 65 6e 73 73 6c 64 nssl\s--openssld
0b80: 69 72 3d 63 3a 5c 5c 74 65 73 74 5c 5c 74 63 6c ir=c:\\test\\tcl
0b90: 74 6c 73 5c 5c 6f 70 65 6e 73 73 6c 64 69 72 5c tls\\openssldir\
0ba0: 73 6e 6f 2d 73 68 61 72 65 64 5c 73 6e 6f 2d 66 sno-shared\sno-f
0bb0: 69 6c 65 6e 61 6d 65 73 5c 73 74 68 72 65 61 64 ilenames\sthread
0bc0: 73 5c 72 5c 6e 2b 5c 72 5c 6e 2b 6e 6d 61 6b 65 s\r\n+\r\n+nmake
0bd0: 5c 72 5c 6e 2b 6e 6d 61 6b 65 5c 73 74 65 73 74 \r\n+nmake\stest
0be0: 5c 72 5c 6e 2b 6e 61 6d 6b 65 5c 73 69 6e 73 74 \r\n+namke\sinst
0bf0: 61 6c 6c 5c 72 5c 6e 2b 5c 72 5c 6e 2b 32 29 5c all\r\n+\r\n+2)\
0c00: 73 42 75 69 6c 64 5c 73 54 43 4c 54 4c 53 5c 72 sBuild\sTCLTLS\r
0c10: 5c 6e 2b 5c 72 5c 6e 2b 55 6e 7a 69 70 5c 73 64 \n+\r\n+Unzip\sd
0c20: 69 73 74 72 69 62 75 74 69 6f 6e 5c 73 69 6e 3a istribution\sin:
0c30: 5c 72 5c 6e 2b 63 3a 5c 5c 74 65 73 74 5c 5c 74 \r\n+c:\\test\\t
0c40: 63 6c 74 6c 73 5c 5c 74 63 6c 74 6c 73 2d 31 2e cltls\\tcltls-1.
0c50: 37 2e 32 32 5c 72 5c 6e 2b 5c 72 5c 6e 2b 2d 3e 7.22\r\n+\r\n+->
0c60: 5c 73 73 74 61 72 74 5c 73 63 79 67 77 69 6e 5c \sstart\scygwin\
0c70: 73 62 61 73 68 5c 73 70 72 6f 6d 70 74 5c 72 5c sbash\sprompt\r\
0c80: 6e 2b 5c 72 5c 6e 2b 63 64 5c 73 2f 63 79 67 64 n+\r\n+cd\s/cygd
0c90: 72 69 76 65 2f 63 2f 74 65 73 74 2f 74 63 6c 74 rive/c/test/tclt
0ca0: 6c 73 2f 74 63 6c 74 6c 73 2d 31 2e 37 2e 32 32 ls/tcltls-1.7.22
0cb0: 5c 72 5c 6e 2b 2e 2f 67 65 6e 5f 64 68 5f 70 61 \r\n+./gen_dh_pa
0cc0: 72 61 6d 73 5c 73 3e 5c 73 64 68 5f 70 61 72 61 rams\s>\sdh_para
0cd0: 6d 73 2e 68 5c 72 5c 6e 2b 5c 72 5c 6e 2b 6f 64 ms.h\r\n+\r\n+od
0ce0: 5c 73 2d 41 5c 73 6e 5c 73 2d 76 5c 73 2d 74 5c \s-A\sn\s-v\s-t\
0cf0: 73 78 43 5c 73 3c 5c 73 27 74 6c 73 2e 74 63 6c sxC\s<\s'tls.tcl
0d00: 27 5c 73 3e 5c 73 74 6c 73 2e 74 63 6c 2e 68 2e '\s>\stls.tcl.h.
0d10: 6e 65 77 2e 31 5c 72 5c 6e 2b 73 65 64 5c 73 27 new.1\r\n+sed\s'
0d20: 73 40 5b 5e 30 2d 39 41 2d 46 61 2d 66 5d 40 40 s@[^0-9A-Fa-f]@@
0d30: 67 3b 73 40 2e 2e 40 30 78 26 2c 5c 73 40 67 27 g;s@..@0x&,\s@g'
0d40: 5c 73 3c 5c 73 74 6c 73 2e 74 63 6c 2e 68 2e 6e \s<\stls.tcl.h.n
0d50: 65 77 2e 31 5c 73 3e 5c 73 74 6c 73 2e 74 63 6c ew.1\s>\stls.tcl
0d60: 2e 68 5c 72 5c 6e 2b 72 6d 5c 73 2d 66 5c 73 74 .h\r\n+rm\s-f\st
0d70: 6c 73 2e 74 63 6c 2e 68 2e 6e 65 77 2e 31 5c 72 ls.tcl.h.new.1\r
0d80: 5c 6e 2b 5c 72 5c 6e 2b 2d 3e 5c 73 56 69 73 75 \n+\r\n+->\sVisu
0d90: 61 6c 5c 73 53 74 75 64 69 6f 5c 73 78 38 36 5c al\sStudio\sx86\
0da0: 73 6e 61 74 69 76 65 5c 73 70 72 6f 6d 70 74 2e snative\sprompt.
0db0: 5c 72 5c 6e 2b 5c 72 5c 6e 2b 63 64 5c 73 43 3a \r\n+\r\n+cd\sC:
0dc0: 5c 5c 74 65 73 74 5c 5c 74 63 6c 74 6c 73 5c 5c \\test\\tcltls\\
0dd0: 74 63 6c 74 6c 73 2d 31 2e 37 2e 32 32 5c 5c 77 tcltls-1.7.22\\w
0de0: 69 6e 5c 72 5c 6e 2b 5c 72 5c 6e 2b 6e 6d 61 6b in\r\n+\r\n+nmak
0df0: 65 5c 73 2d 66 5c 73 6d 61 6b 65 66 69 6c 65 2e e\s-f\smakefile.
0e00: 76 63 5c 73 54 43 4c 44 49 52 3d 63 3a 5c 5c 74 vc\sTCLDIR=c:\\t
0e10: 65 73 74 5c 5c 74 63 6c 38 36 31 30 5c 73 53 53 est\\tcl8610\sSS
0e20: 4c 5f 49 4e 53 54 41 4c 4c 5f 46 4f 4c 44 45 52 L_INSTALL_FOLDER
0e30: 3d 43 3a 5c 5c 74 65 73 74 5c 5c 74 63 6c 74 6c =C:\\test\\tcltl
0e40: 73 5c 5c 6f 70 65 6e 73 73 6c 5c 72 5c 6e 2b 5c s\\openssl\r\n+\
0e50: 72 5c 6e 2b 6e 6d 61 6b 65 5c 73 2d 66 5c 73 6d r\n+nmake\s-f\sm
0e60: 61 6b 65 66 69 6c 65 2e 76 63 5c 73 69 6e 73 74 akefile.vc\sinst
0e70: 61 6c 6c 5c 73 54 43 4c 44 49 52 3d 63 3a 5c 5c all\sTCLDIR=c:\\
0e80: 74 65 73 74 5c 5c 74 63 6c 38 36 31 30 5c 73 49 test\\tcl8610\sI
0e90: 4e 53 54 41 4c 4c 44 49 52 3d 63 3a 5c 5c 74 65 NSTALLDIR=c:\\te
0ea0: 73 74 5c 5c 74 63 6c 74 6c 73 5c 73 53 53 4c 5f st\\tcltls\sSSL_
0eb0: 49 4e 53 54 41 4c 4c 5f 46 4f 4c 44 45 52 3d 43 INSTALL_FOLDER=C
0ec0: 3a 5c 5c 74 65 73 74 5c 5c 74 63 6c 74 6c 73 5c :\\test\\tcltls\
0ed0: 5c 6f 70 65 6e 73 73 6c 5c 72 5c 6e 2b 5c 72 5c \openssl\r\n+\r\
0ee0: 6e 2b 74 6c 73 2e 63 3a 5c 73 5c 72 5c 6e 2b 4c n+tls.c:\s\r\n+L
0ef0: 69 6e 65 73 5c 73 31 37 37 39 2c 5c 73 31 38 33 ines\s1779,\s183
0f00: 39 3a 5c 73 72 65 70 6c 61 63 65 5c 72 5c 6e 2b 9:\sreplace\r\n+
0f10: 69 6e 74 5c 73 54 6c 73 5f 49 6e 69 74 5c 73 62 int\sTls_Init\sb
0f20: 79 5c 72 5c 6e 2b 44 4c 4c 45 58 50 4f 52 54 5c y\r\n+DLLEXPORT\
0f30: 73 69 6e 74 5c 73 5c 73 54 6c 73 5f 49 6e 69 74 sint\s\sTls_Init
0f40: 5c 72 5c 6e 2b 5c 72 5c 6e 2b 74 6c 73 2e 68 3a \r\n+\r\n+tls.h:
0f50: 5c 73 73 61 6d 65 5c 73 63 68 61 6e 67 65 5c 72 \ssame\schange\r
0f60: 5c 6e 2b 5c 72 5c 6e 2b 6c 61 70 70 65 6e 64 5c \n+\r\n+lappend\
0f70: 73 61 75 74 6f 5f 70 61 74 68 5c 73 7b 43 3a 5c sauto_path\s{C:\
0f80: 5c 74 65 73 74 5c 5c 74 63 6c 74 6c 73 5c 5c 74 \test\\tcltls\\t
0f90: 6c 73 31 2e 37 2e 32 32 7d 5c 72 5c 6e 2b 70 61 ls1.7.22}\r\n+pa
0fa0: 63 6b 61 67 65 5c 73 72 65 71 75 69 72 65 5c 73 ckage\srequire\s
0fb0: 74 6c 73 5c 72 5c 6e 2b 5c 72 5c 6e 5c 72 5c 6e tls\r\n+\r\n\r\n
0fc0: 41 44 44 45 44 5c 73 5c 73 5c 73 77 69 6e 2f 6d ADDED\s\s\swin/m
0fd0: 61 6b 65 66 69 6c 65 2e 76 63 5c 72 5c 6e 49 6e akefile.vc\r\nIn
0fe0: 64 65 78 3a 5c 73 77 69 6e 2f 6d 61 6b 65 66 69 dex:\swin/makefi
0ff0: 6c 65 2e 76 63 5c 72 5c 6e 3d 3d 3d 3d 3d 3d 3d le.vc\r\n=======
1000: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
1010: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
1020: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
1030: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 5c 72 5c 6e 2d ===========\r\n-
1040: 2d 2d 5c 73 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 --\swin/makefile
1050: 2e 76 63 5c 72 5c 6e 2b 2b 2b 5c 73 77 69 6e 2f .vc\r\n+++\swin/
1060: 6d 61 6b 65 66 69 6c 65 2e 76 63 5c 72 5c 6e 40 makefile.vc\r\n@
1070: 40 5c 73 2d 30 2c 30 5c 73 2b 31 2c 32 34 5c 73 @\s-0,0\s+1,24\s
1080: 40 40 5c 72 5c 6e 2b 23 5c 73 63 61 6c 6c 5c 73 @@\r\n+#\scall\s
1090: 6e 6d 61 6b 65 5c 73 77 69 74 68 5c 73 61 64 64 nmake\swith\sadd
10a0: 69 74 69 6f 6e 61 6c 5c 73 70 61 72 61 6d 65 74 itional\sparamet
10b0: 65 72 5c 73 53 53 4c 5f 49 4e 53 54 41 4c 4c 5f er\sSSL_INSTALL_
10c0: 46 4f 4c 44 45 52 3d 5c 73 77 69 74 68 5c 73 74 FOLDER=\swith\st
10d0: 68 65 5c 72 5c 6e 2b 23 5c 73 4f 70 65 6e 53 53 he\r\n+#\sOpenSS
10e0: 4c 5c 73 69 6e 73 74 61 6c 61 74 69 6f 6e 5c 73 L\sinstalation\s
10f0: 66 6f 6c 64 65 72 5c 73 66 6f 6c 6c 6f 77 69 6e folder\sfollowin
1100: 67 2e 5c 72 5c 6e 2b 5c 72 5c 6e 2b 50 52 4f 4a g.\r\n+\r\n+PROJ
1110: 45 43 54 3d 74 6c 73 5c 72 5c 6e 2b 44 4f 54 56 ECT=tls\r\n+DOTV
1120: 45 52 53 49 4f 4e 5c 73 3d 5c 73 31 2e 37 2e 32 ERSION\s=\s1.7.2
1130: 32 5c 72 5c 6e 2b 5c 72 5c 6e 2b 50 52 4a 5f 49 2\r\n+\r\n+PRJ_I
1140: 4e 43 4c 55 44 45 53 5c 74 3d 5c 73 2d 49 22 24 NCLUDES\t=\s-I"$
1150: 28 53 53 4c 5f 49 4e 53 54 41 4c 4c 5f 46 4f 4c (SSL_INSTALL_FOL
1160: 44 45 52 29 5c 5c 69 6e 63 6c 75 64 65 22 5c 72 DER)\\include"\r
1170: 5c 6e 2b 50 52 4a 5f 44 45 46 49 4e 45 53 5c 73 \n+PRJ_DEFINES\s
1180: 3d 5c 73 5c 73 2d 44 5c 73 4e 4f 5f 53 53 4c 32 =\s\s-D\sNO_SSL2
1190: 5c 73 2d 44 5c 73 4e 4f 5f 53 53 4c 33 5c 73 2d \s-D\sNO_SSL3\s-
11a0: 44 5c 73 5f 43 52 54 5f 53 45 43 55 52 45 5f 4e D\s_CRT_SECURE_N
11b0: 4f 5f 57 41 52 4e 49 4e 47 53 5c 72 5c 6e 2b 5c O_WARNINGS\r\n+\
11c0: 72 5c 6e 2b 50 52 4a 5f 4c 49 42 53 5c 73 3d 5c r\n+PRJ_LIBS\s=\
11d0: 73 5c 5c 5c 72 5c 6e 2b 5c 74 22 24 28 53 53 4c s\\\r\n+\t"$(SSL
11e0: 5f 49 4e 53 54 41 4c 4c 5f 46 4f 4c 44 45 52 29 _INSTALL_FOLDER)
11f0: 5c 5c 6c 69 62 5c 5c 6c 69 62 73 73 6c 2e 6c 69 \\lib\\libssl.li
1200: 62 22 5c 73 5c 5c 5c 72 5c 6e 2b 5c 74 22 24 28 b"\s\\\r\n+\t"$(
1210: 53 53 4c 5f 49 4e 53 54 41 4c 4c 5f 46 4f 4c 44 SSL_INSTALL_FOLD
1220: 45 52 29 5c 5c 6c 69 62 5c 5c 6c 69 62 63 72 79 ER)\\lib\\libcry
1230: 70 74 6f 2e 6c 69 62 22 5c 73 5c 5c 5c 72 5c 6e pto.lib"\s\\\r\n
1240: 2b 5c 74 57 53 32 5f 33 32 2e 4c 49 42 5c 73 47 +\tWS2_32.LIB\sG
1250: 44 49 33 32 2e 4c 49 42 5c 73 41 44 56 41 50 49 DI32.LIB\sADVAPI
1260: 33 32 2e 4c 49 42 5c 73 43 52 59 50 54 33 32 2e 32.LIB\sCRYPT32.
1270: 4c 49 42 5c 73 55 53 45 52 33 32 2e 4c 49 42 5c LIB\sUSER32.LIB\
1280: 72 5c 6e 2b 5c 72 5c 6e 2b 50 52 4a 5f 4f 42 4a r\n+\r\n+PRJ_OBJ
1290: 53 5c 73 3d 5c 73 24 28 54 4d 50 5f 44 49 52 29 S\s=\s$(TMP_DIR)
12a0: 5c 5c 74 6c 73 2e 6f 62 6a 5c 73 5c 5c 5c 72 5c \\tls.obj\s\\\r\
12b0: 6e 2b 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 n+\s\s\s\s\s\s\s
12c0: 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 \s\s\s\s\s\s\s\s
12d0: 24 28 54 4d 50 5f 44 49 52 29 5c 5c 74 6c 73 42 $(TMP_DIR)\\tlsB
12e0: 49 4f 2e 6f 62 6a 5c 73 5c 5c 5c 72 5c 6e 2b 5c IO.obj\s\\\r\n+\
12f0: 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c s\s\s\s\s\s\s\s\
1300: 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 24 28 54 s\s\s\s\s\s\s$(T
1310: 4d 50 5f 44 49 52 29 5c 5c 74 6c 73 49 4f 2e 6f MP_DIR)\\tlsIO.o
1320: 62 6a 5c 73 5c 5c 5c 72 5c 6e 2b 5c 73 5c 73 5c bj\s\\\r\n+\s\s\
1330: 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c s\s\s\s\s\s\s\s\
1340: 73 5c 73 5c 73 5c 73 5c 73 24 28 54 4d 50 5f 44 s\s\s\s\s$(TMP_D
1350: 49 52 29 5c 5c 74 6c 73 58 35 30 39 2e 6f 62 6a IR)\\tlsX509.obj
1360: 5c 72 5c 6e 2b 5c 72 5c 6e 2b 21 69 6e 63 6c 75 \r\n+\r\n+!inclu
1370: 64 65 5c 73 22 72 75 6c 65 73 2d 65 78 74 2e 76 de\s"rules-ext.v
1380: 63 22 5c 72 5c 6e 2b 21 69 6e 63 6c 75 64 65 5c c"\r\n+!include\
1390: 73 22 74 61 72 67 65 74 73 2e 76 63 22 5c 72 5c s"targets.vc"\r\
13a0: 6e 2b 5c 72 5c 6e 2b 70 6b 67 69 6e 64 65 78 3a n+\r\n+pkgindex:
13b0: 5c 73 64 65 66 61 75 6c 74 2d 70 6b 67 69 6e 64 \sdefault-pkgind
13c0: 65 78 5c 72 5c 6e 2b 5c 72 5c 6e 5c 72 5c 6e 41 ex\r\n+\r\n\r\nA
13d0: 44 44 45 44 5c 73 5c 73 5c 73 77 69 6e 2f 74 61 DDED\s\s\swin/ta
13e0: 72 67 65 74 73 2e 76 63 5c 72 5c 6e 49 6e 64 65 rgets.vc\r\nInde
13f0: 78 3a 5c 73 77 69 6e 2f 74 61 72 67 65 74 73 2e x:\swin/targets.
1400: 76 63 5c 72 5c 6e 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d vc\r\n==========
1410: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
1420: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
1430: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
1440: 3d 3d 3d 3d 3d 3d 3d 3d 5c 72 5c 6e 2d 2d 2d 5c ========\r\n---\
1450: 73 77 69 6e 2f 74 61 72 67 65 74 73 2e 76 63 5c swin/targets.vc\
1460: 72 5c 6e 2b 2b 2b 5c 73 77 69 6e 2f 74 61 72 67 r\n+++\swin/targ
1470: 65 74 73 2e 76 63 5c 72 5c 6e 40 40 5c 73 2d 30 ets.vc\r\n@@\s-0
1480: 2c 30 5c 73 2b 31 2c 39 38 5c 73 40 40 5c 72 5c ,0\s+1,98\s@@\r\
1490: 6e 2b 23 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d n+#-------------
14a0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
14b0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
14c0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
14d0: 5c 73 2d 2a 2d 5c 73 6d 61 6b 65 66 69 6c 65 5c \s-*-\smakefile\
14e0: 73 2d 2a 2d 5c 72 5c 6e 2b 23 5c 73 74 61 72 67 s-*-\r\n+#\starg
14f0: 65 74 73 2e 76 63 5c 73 2d 2d 5c 72 5c 6e 2b 23 ets.vc\s--\r\n+#
1500: 5c 72 5c 6e 2b 23 5c 73 50 61 72 74 5c 73 6f 66 \r\n+#\sPart\sof
1510: 5c 73 74 68 65 5c 73 6e 6d 61 6b 65 5c 73 62 61 \sthe\snmake\sba
1520: 73 65 64 5c 73 62 75 69 6c 64 5c 73 73 79 73 74 sed\sbuild\ssyst
1530: 65 6d 5c 73 66 6f 72 5c 73 54 63 6c 5c 73 61 6e em\sfor\sTcl\san
1540: 64 5c 73 69 74 73 5c 73 65 78 74 65 6e 73 69 6f d\sits\sextensio
1550: 6e 73 2e 5c 72 5c 6e 2b 23 5c 73 54 68 69 73 5c ns.\r\n+#\sThis\
1560: 73 66 69 6c 65 5c 73 64 65 66 69 6e 65 73 5c 73 sfile\sdefines\s
1570: 73 6f 6d 65 5c 73 73 74 61 6e 64 61 72 64 5c 73 some\sstandard\s
1580: 74 61 72 67 65 74 73 5c 73 66 6f 72 5c 73 74 68 targets\sfor\sth
1590: 65 5c 73 63 6f 6e 76 65 6e 69 65 6e 63 65 5c 73 e\sconvenience\s
15a0: 6f 66 5c 73 65 78 74 65 6e 73 69 6f 6e 73 5c 72 of\sextensions\r
15b0: 5c 6e 2b 23 5c 73 61 6e 64 5c 73 63 61 6e 5c 73 \n+#\sand\scan\s
15c0: 62 65 5c 73 6f 70 74 69 6f 6e 61 6c 6c 79 5c 73 be\soptionally\s
15d0: 69 6e 63 6c 75 64 65 64 5c 73 62 79 5c 73 74 68 included\sby\sth
15e0: 65 5c 73 65 78 74 65 6e 73 69 6f 6e 5c 73 6d 61 e\sextension\sma
15f0: 6b 65 66 69 6c 65 2e 5c 72 5c 6e 2b 23 5c 73 53 kefile.\r\n+#\sS
1600: 65 65 5c 73 54 49 50 5c 73 34 37 37 5c 73 28 68 ee\sTIP\s477\s(h
1610: 74 74 70 73 3a 2f 2f 63 6f 72 65 2e 74 63 6c 2d ttps://core.tcl-
1620: 6c 61 6e 67 2e 6f 72 67 2f 74 69 70 73 2f 64 6f lang.org/tips/do
1630: 63 2f 74 72 75 6e 6b 2f 74 69 70 2f 34 37 37 2e c/trunk/tip/477.
1640: 6d 64 29 5c 73 66 6f 72 5c 73 64 6f 63 73 2e 5c md)\sfor\sdocs.\
1650: 72 5c 6e 2b 5c 72 5c 6e 2b 24 28 50 52 4f 4a 45 r\n+\r\n+$(PROJE
1660: 43 54 29 3a 5c 73 73 65 74 75 70 5c 73 70 6b 67 CT):\ssetup\spkg
1670: 69 6e 64 65 78 5c 73 24 28 50 52 4a 4c 49 42 29 index\s$(PRJLIB)
1680: 5c 72 5c 6e 2b 5c 72 5c 6e 2b 21 69 66 64 65 66 \r\n+\r\n+!ifdef
1690: 5c 73 50 52 4a 5f 53 54 55 42 4f 42 4a 53 5c 72 \sPRJ_STUBOBJS\r
16a0: 5c 6e 2b 24 28 50 52 4f 4a 45 43 54 29 3a 5c 73 \n+$(PROJECT):\s
16b0: 24 28 50 52 4a 53 54 55 42 4c 49 42 29 5c 72 5c $(PRJSTUBLIB)\r\
16c0: 6e 2b 24 28 50 52 4a 53 54 55 42 4c 49 42 29 3a n+$(PRJSTUBLIB):
16d0: 5c 73 24 28 50 52 4a 5f 53 54 55 42 4f 42 4a 53 \s$(PRJ_STUBOBJS
16e0: 29 5c 72 5c 6e 2b 5c 74 24 28 4c 49 42 43 4d 44 )\r\n+\t$(LIBCMD
16f0: 29 5c 73 24 2a 2a 5c 72 5c 6e 2b 5c 72 5c 6e 2b )\s$**\r\n+\r\n+
1700: 24 28 50 52 4a 5f 53 54 55 42 4f 42 4a 53 29 3a $(PRJ_STUBOBJS):
1710: 5c 72 5c 6e 2b 5c 74 24 28 43 43 53 54 55 42 53 \r\n+\t$(CCSTUBS
1720: 43 4d 44 29 5c 73 25 73 5c 72 5c 6e 2b 21 65 6e CMD)\s%s\r\n+!en
1730: 64 69 66 5c 73 23 5c 73 50 52 4a 5f 53 54 55 42 dif\s#\sPRJ_STUB
1740: 4f 42 4a 53 5c 72 5c 6e 2b 5c 72 5c 6e 2b 21 69 OBJS\r\n+\r\n+!i
1750: 66 64 65 66 5c 73 50 52 4a 5f 4d 41 4e 49 46 45 fdef\sPRJ_MANIFE
1760: 53 54 5c 72 5c 6e 2b 24 28 50 52 4f 4a 45 43 54 ST\r\n+$(PROJECT
1770: 29 3a 5c 73 24 28 50 52 4a 4c 49 42 29 2e 6d 61 ):\s$(PRJLIB).ma
1780: 6e 69 66 65 73 74 5c 72 5c 6e 2b 24 28 50 52 4a nifest\r\n+$(PRJ
1790: 4c 49 42 29 2e 6d 61 6e 69 66 65 73 74 3a 5c 73 LIB).manifest:\s
17a0: 24 28 50 52 4a 5f 4d 41 4e 49 46 45 53 54 29 5c $(PRJ_MANIFEST)\
17b0: 72 5c 6e 2b 5c 74 40 6e 6d 61 6b 65 68 6c 70 5c r\n+\t@nmakehlp\
17c0: 73 2d 73 5c 73 3c 3c 5c 73 24 2a 2a 5c 73 3e 24 s-s\s<<\s$**\s>$
17d0: 40 5c 72 5c 6e 2b 40 4d 41 43 48 49 4e 45 40 5c @\r\n+@MACHINE@\
17e0: 74 5c 73 5c 73 24 28 4d 41 43 48 49 4e 45 3a 49 t\s\s$(MACHINE:I
17f0: 58 38 36 3d 58 38 36 29 5c 72 5c 6e 2b 3c 3c 5c X86=X86)\r\n+<<\
1800: 72 5c 6e 2b 21 65 6e 64 69 66 5c 72 5c 6e 2b 5c r\n+!endif\r\n+\
1810: 72 5c 6e 2b 21 69 66 5c 73 22 24 28 50 52 4f 4a r\n+!if\s"$(PROJ
1820: 45 43 54 29 22 5c 73 21 3d 5c 73 22 74 63 6c 22 ECT)"\s!=\s"tcl"
1830: 5c 73 26 26 5c 73 22 24 28 50 52 4f 4a 45 43 54 \s&&\s"$(PROJECT
1840: 29 22 5c 73 21 3d 5c 73 22 74 6b 22 5c 72 5c 6e )"\s!=\s"tk"\r\n
1850: 2b 24 28 50 52 4a 4c 49 42 29 3a 5c 73 24 28 50 +$(PRJLIB):\s$(P
1860: 52 4a 5f 4f 42 4a 53 29 5c 73 24 28 52 45 53 46 RJ_OBJS)\s$(RESF
1870: 49 4c 45 29 5c 72 5c 6e 2b 21 69 66 5c 73 24 28 ILE)\r\n+!if\s$(
1880: 53 54 41 54 49 43 5f 42 55 49 4c 44 29 5c 72 5c STATIC_BUILD)\r\
1890: 6e 2b 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 n+\s\s\s\s\s\s\s
18a0: 24 28 4c 49 42 43 4d 44 29 5c 73 24 2a 2a 5c 72 $(LIBCMD)\s$**\r
18b0: 5c 6e 2b 21 65 6c 73 65 5c 72 5c 6e 2b 5c 73 5c \n+!else\r\n+\s\
18c0: 73 5c 73 5c 73 5c 73 5c 73 5c 73 24 28 44 4c 4c s\s\s\s\s\s$(DLL
18d0: 43 4d 44 29 5c 73 24 2a 2a 5c 72 5c 6e 2b 5c 73 CMD)\s$**\r\n+\s
18e0: 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 24 28 5f 56 \s\s\s\s\s\s$(_V
18f0: 43 5f 4d 41 4e 49 46 45 53 54 5f 45 4d 42 45 44 C_MANIFEST_EMBED
1900: 5f 44 4c 4c 29 5c 72 5c 6e 2b 21 65 6e 64 69 66 _DLL)\r\n+!endif
1910: 5c 72 5c 6e 2b 5c 73 5c 73 5c 73 5c 73 5c 73 5c \r\n+\s\s\s\s\s\
1920: 73 5c 73 2d 40 64 65 6c 5c 73 24 2a 2e 65 78 70 s\s-@del\s$*.exp
1930: 5c 72 5c 6e 2b 21 65 6e 64 69 66 5c 72 5c 6e 2b \r\n+!endif\r\n+
1940: 5c 72 5c 6e 2b 21 69 66 5c 73 22 24 28 50 52 4a \r\n+!if\s"$(PRJ
1950: 5f 48 45 41 44 45 52 53 29 22 5c 73 21 3d 5c 73 _HEADERS)"\s!=\s
1960: 22 22 5c 73 26 26 5c 73 22 24 28 50 52 4a 5f 4f ""\s&&\s"$(PRJ_O
1970: 42 4a 53 29 22 5c 73 21 3d 5c 73 22 22 5c 72 5c BJS)"\s!=\s""\r\
1980: 6e 2b 24 28 50 52 4a 5f 4f 42 4a 53 29 3a 5c 73 n+$(PRJ_OBJS):\s
1990: 24 28 50 52 4a 5f 48 45 41 44 45 52 53 29 5c 72 $(PRJ_HEADERS)\r
19a0: 5c 6e 2b 21 65 6e 64 69 66 5c 72 5c 6e 2b 5c 72 \n+!endif\r\n+\r
19b0: 5c 6e 2b 23 5c 73 49 66 5c 73 70 61 72 65 6e 74 \n+#\sIf\sparent
19c0: 5c 73 6d 61 6b 65 66 69 6c 65 5c 73 68 61 73 5c \smakefile\shas\
19d0: 73 64 65 66 69 6e 65 64 5c 73 73 74 75 62 5c 73 sdefined\sstub\s
19e0: 6f 62 6a 65 63 74 73 2c 5c 73 61 64 64 5c 73 74 objects,\sadd\st
19f0: 68 65 69 72 5c 73 69 6e 73 74 61 6c 6c 61 74 69 heir\sinstallati
1a00: 6f 6e 5c 72 5c 6e 2b 23 5c 73 74 6f 5c 73 74 68 on\r\n+#\sto\sth
1a10: 65 5c 73 64 65 66 61 75 6c 74 5c 73 69 6e 73 74 e\sdefault\sinst
1a20: 61 6c 6c 5c 72 5c 6e 2b 21 69 66 5c 73 22 24 28 all\r\n+!if\s"$(
1a30: 50 52 4a 5f 53 54 55 42 4f 42 4a 53 29 22 5c 73 PRJ_STUBOBJS)"\s
1a40: 21 3d 5c 73 22 22 5c 72 5c 6e 2b 64 65 66 61 75 !=\s""\r\n+defau
1a50: 6c 74 2d 69 6e 73 74 61 6c 6c 3a 5c 73 64 65 66 lt-install:\sdef
1a60: 61 75 6c 74 2d 69 6e 73 74 61 6c 6c 2d 73 74 75 ault-install-stu
1a70: 62 73 5c 72 5c 6e 2b 21 65 6e 64 69 66 5c 72 5c bs\r\n+!endif\r\
1a80: 6e 2b 5c 72 5c 6e 2b 23 5c 73 55 6e 6c 69 6b 65 n+\r\n+#\sUnlike
1a90: 5c 73 74 68 65 5c 73 6f 74 68 65 72 5c 73 64 65 \sthe\sother\sde
1aa0: 66 61 75 6c 74 5c 73 74 61 72 67 65 74 73 2c 5c fault\stargets,\
1ab0: 73 74 68 65 73 65 5c 73 63 61 6e 6e 6f 74 5c 73 sthese\scannot\s
1ac0: 62 65 5c 73 69 6e 5c 73 72 75 6c 65 73 2e 76 63 be\sin\srules.vc
1ad0: 5c 73 62 65 63 61 75 73 65 5c 72 5c 6e 2b 23 5c \sbecause\r\n+#\
1ae0: 73 74 68 65 5c 73 65 78 65 63 75 74 65 64 5c 73 sthe\sexecuted\s
1af0: 63 6f 6d 6d 61 6e 64 5c 73 64 65 70 65 6e 64 73 command\sdepends
1b00: 5c 73 6f 6e 5c 73 65 78 69 73 74 65 6e 63 65 5c \son\sexistence\
1b10: 73 6f 66 5c 73 6d 61 63 72 6f 5c 73 50 52 4a 5f sof\smacro\sPRJ_
1b20: 48 45 41 44 45 52 53 5f 50 55 42 4c 49 43 5c 72 HEADERS_PUBLIC\r
1b30: 5c 6e 2b 23 5c 73 74 68 61 74 5c 73 74 68 65 5c \n+#\sthat\sthe\
1b40: 73 70 61 72 65 6e 74 5c 73 6d 61 6b 65 66 69 6c sparent\smakefil
1b50: 65 5c 73 77 69 6c 6c 5c 73 6e 6f 74 5c 73 64 65 e\swill\snot\sde
1b60: 66 69 6e 65 5c 73 75 6e 74 69 6c 5c 73 61 66 74 fine\suntil\saft
1b70: 65 72 5c 73 69 6e 63 6c 75 64 69 6e 67 5c 73 72 er\sincluding\sr
1b80: 75 6c 65 73 2d 65 78 74 2e 76 63 5c 72 5c 6e 2b ules-ext.vc\r\n+
1b90: 21 69 66 5c 73 22 24 28 50 52 4a 5f 48 45 41 44 !if\s"$(PRJ_HEAD
1ba0: 45 52 53 5f 50 55 42 4c 49 43 29 22 5c 73 21 3d ERS_PUBLIC)"\s!=
1bb0: 5c 73 22 22 5c 72 5c 6e 2b 64 65 66 61 75 6c 74 \s""\r\n+default
1bc0: 2d 69 6e 73 74 61 6c 6c 3a 5c 73 64 65 66 61 75 -install:\sdefau
1bd0: 6c 74 2d 69 6e 73 74 61 6c 6c 2d 68 65 61 64 65 lt-install-heade
1be0: 72 73 5c 72 5c 6e 2b 64 65 66 61 75 6c 74 2d 69 rs\r\n+default-i
1bf0: 6e 73 74 61 6c 6c 2d 68 65 61 64 65 72 73 3a 5c nstall-headers:\
1c00: 72 5c 6e 2b 5c 74 40 65 63 68 6f 5c 73 49 6e 73 r\n+\t@echo\sIns
1c10: 74 61 6c 6c 69 6e 67 5c 73 68 65 61 64 65 72 73 talling\sheaders
1c20: 5c 73 74 6f 5c 73 27 24 28 49 4e 43 4c 55 44 45 \sto\s'$(INCLUDE
1c30: 5f 49 4e 53 54 41 4c 4c 5f 44 49 52 29 27 5c 72 _INSTALL_DIR)'\r
1c40: 5c 6e 2b 5c 74 40 66 6f 72 5c 73 25 66 5c 73 69 \n+\t@for\s%f\si
1c50: 6e 5c 73 28 24 28 50 52 4a 5f 48 45 41 44 45 52 n\s($(PRJ_HEADER
1c60: 53 5f 50 55 42 4c 49 43 29 29 5c 73 64 6f 5c 73 S_PUBLIC))\sdo\s
1c70: 40 24 28 43 4f 50 59 29 5c 73 25 66 5c 73 22 24 @$(COPY)\s%f\s"$
1c80: 28 49 4e 43 4c 55 44 45 5f 49 4e 53 54 41 4c 4c (INCLUDE_INSTALL
1c90: 5f 44 49 52 29 22 5c 72 5c 6e 2b 21 65 6e 64 69 _DIR)"\r\n+!endi
1ca0: 66 5c 72 5c 6e 2b 5c 72 5c 6e 2b 21 69 66 5c 73 f\r\n+\r\n+!if\s
1cb0: 22 24 28 44 49 53 41 42 4c 45 5f 53 54 41 4e 44 "$(DISABLE_STAND
1cc0: 41 52 44 5f 54 41 52 47 45 54 53 29 22 5c 73 3d ARD_TARGETS)"\s=
1cd0: 3d 5c 73 22 22 5c 72 5c 6e 2b 44 49 53 41 42 4c =\s""\r\n+DISABL
1ce0: 45 5f 53 54 41 4e 44 41 52 44 5f 54 41 52 47 45 E_STANDARD_TARGE
1cf0: 54 53 5c 73 3d 5c 73 30 5c 72 5c 6e 2b 21 65 6e TS\s=\s0\r\n+!en
1d00: 64 69 66 5c 72 5c 6e 2b 5c 72 5c 6e 2b 21 69 66 dif\r\n+\r\n+!if
1d10: 5c 73 22 24 28 44 49 53 41 42 4c 45 5f 54 41 52 \s"$(DISABLE_TAR
1d20: 47 45 54 5f 73 65 74 75 70 29 22 5c 73 3d 3d 5c GET_setup)"\s==\
1d30: 73 22 22 5c 72 5c 6e 2b 44 49 53 41 42 4c 45 5f s""\r\n+DISABLE_
1d40: 54 41 52 47 45 54 5f 73 65 74 75 70 5c 73 3d 5c TARGET_setup\s=\
1d50: 73 30 5c 72 5c 6e 2b 21 65 6e 64 69 66 5c 72 5c s0\r\n+!endif\r\
1d60: 6e 2b 21 69 66 5c 73 22 24 28 44 49 53 41 42 4c n+!if\s"$(DISABL
1d70: 45 5f 54 41 52 47 45 54 5f 69 6e 73 74 61 6c 6c E_TARGET_install
1d80: 29 22 5c 73 3d 3d 5c 73 22 22 5c 72 5c 6e 2b 44 )"\s==\s""\r\n+D
1d90: 49 53 41 42 4c 45 5f 54 41 52 47 45 54 5f 69 6e ISABLE_TARGET_in
1da0: 73 74 61 6c 6c 5c 73 3d 5c 73 30 5c 72 5c 6e 2b stall\s=\s0\r\n+
1db0: 21 65 6e 64 69 66 5c 72 5c 6e 2b 21 69 66 5c 73 !endif\r\n+!if\s
1dc0: 22 24 28 44 49 53 41 42 4c 45 5f 54 41 52 47 45 "$(DISABLE_TARGE
1dd0: 54 5f 63 6c 65 61 6e 29 22 5c 73 3d 3d 5c 73 22 T_clean)"\s==\s"
1de0: 22 5c 72 5c 6e 2b 44 49 53 41 42 4c 45 5f 54 41 "\r\n+DISABLE_TA
1df0: 52 47 45 54 5f 63 6c 65 61 6e 5c 73 3d 5c 73 30 RGET_clean\s=\s0
1e00: 5c 72 5c 6e 2b 21 65 6e 64 69 66 5c 72 5c 6e 2b \r\n+!endif\r\n+
1e10: 21 69 66 5c 73 22 24 28 44 49 53 41 42 4c 45 5f !if\s"$(DISABLE_
1e20: 54 41 52 47 45 54 5f 74 65 73 74 29 22 5c 73 3d TARGET_test)"\s=
1e30: 3d 5c 73 22 22 5c 72 5c 6e 2b 44 49 53 41 42 4c =\s""\r\n+DISABL
1e40: 45 5f 54 41 52 47 45 54 5f 74 65 73 74 5c 73 3d E_TARGET_test\s=
1e50: 5c 73 30 5c 72 5c 6e 2b 21 65 6e 64 69 66 5c 72 \s0\r\n+!endif\r
1e60: 5c 6e 2b 21 69 66 5c 73 22 24 28 44 49 53 41 42 \n+!if\s"$(DISAB
1e70: 4c 45 5f 54 41 52 47 45 54 5f 73 68 65 6c 6c 29 LE_TARGET_shell)
1e80: 22 5c 73 3d 3d 5c 73 22 22 5c 72 5c 6e 2b 44 49 "\s==\s""\r\n+DI
1e90: 53 41 42 4c 45 5f 54 41 52 47 45 54 5f 73 68 65 SABLE_TARGET_she
1ea0: 6c 6c 5c 73 3d 5c 73 30 5c 72 5c 6e 2b 21 65 6e ll\s=\s0\r\n+!en
1eb0: 64 69 66 5c 72 5c 6e 2b 5c 72 5c 6e 2b 21 69 66 dif\r\n+\r\n+!if
1ec0: 5c 73 21 24 28 44 49 53 41 42 4c 45 5f 53 54 41 \s!$(DISABLE_STA
1ed0: 4e 44 41 52 44 5f 54 41 52 47 45 54 53 29 5c 72 NDARD_TARGETS)\r
1ee0: 5c 6e 2b 21 69 66 5c 73 21 24 28 44 49 53 41 42 \n+!if\s!$(DISAB
1ef0: 4c 45 5f 54 41 52 47 45 54 5f 73 65 74 75 70 29 LE_TARGET_setup)
1f00: 5c 72 5c 6e 2b 73 65 74 75 70 3a 5c 73 64 65 66 \r\n+setup:\sdef
1f10: 61 75 6c 74 2d 73 65 74 75 70 5c 72 5c 6e 2b 21 ault-setup\r\n+!
1f20: 65 6e 64 69 66 5c 72 5c 6e 2b 21 69 66 5c 73 21 endif\r\n+!if\s!
1f30: 24 28 44 49 53 41 42 4c 45 5f 54 41 52 47 45 54 $(DISABLE_TARGET
1f40: 5f 69 6e 73 74 61 6c 6c 29 5c 72 5c 6e 2b 69 6e _install)\r\n+in
1f50: 73 74 61 6c 6c 3a 5c 73 64 65 66 61 75 6c 74 2d stall:\sdefault-
1f60: 69 6e 73 74 61 6c 6c 5c 72 5c 6e 2b 21 65 6e 64 install\r\n+!end
1f70: 69 66 5c 72 5c 6e 2b 21 69 66 5c 73 21 24 28 44 if\r\n+!if\s!$(D
1f80: 49 53 41 42 4c 45 5f 54 41 52 47 45 54 5f 63 6c ISABLE_TARGET_cl
1f90: 65 61 6e 29 5c 72 5c 6e 2b 63 6c 65 61 6e 3a 5c ean)\r\n+clean:\
1fa0: 73 64 65 66 61 75 6c 74 2d 63 6c 65 61 6e 5c 72 sdefault-clean\r
1fb0: 5c 6e 2b 72 65 61 6c 63 6c 65 61 6e 3a 5c 73 68 \n+realclean:\sh
1fc0: 6f 73 65 5c 72 5c 6e 2b 68 6f 73 65 3a 5c 73 64 ose\r\n+hose:\sd
1fd0: 65 66 61 75 6c 74 2d 68 6f 73 65 5c 72 5c 6e 2b efault-hose\r\n+
1fe0: 64 69 73 74 63 6c 65 61 6e 3a 5c 73 72 65 61 6c distclean:\sreal
1ff0: 63 6c 65 61 6e 5c 73 64 65 66 61 75 6c 74 2d 64 clean\sdefault-d
2000: 69 73 74 63 6c 65 61 6e 5c 72 5c 6e 2b 21 65 6e istclean\r\n+!en
2010: 64 69 66 5c 72 5c 6e 2b 21 69 66 5c 73 21 24 28 dif\r\n+!if\s!$(
2020: 44 49 53 41 42 4c 45 5f 54 41 52 47 45 54 5f 74 DISABLE_TARGET_t
2030: 65 73 74 29 5c 72 5c 6e 2b 74 65 73 74 3a 5c 73 est)\r\n+test:\s
2040: 64 65 66 61 75 6c 74 2d 74 65 73 74 5c 72 5c 6e default-test\r\n
2050: 2b 21 65 6e 64 69 66 5c 72 5c 6e 2b 21 69 66 5c +!endif\r\n+!if\
2060: 73 21 24 28 44 49 53 41 42 4c 45 5f 54 41 52 47 s!$(DISABLE_TARG
2070: 45 54 5f 73 68 65 6c 6c 29 5c 72 5c 6e 2b 73 68 ET_shell)\r\n+sh
2080: 65 6c 6c 3a 5c 73 64 65 66 61 75 6c 74 2d 73 68 ell:\sdefault-sh
2090: 65 6c 6c 5c 72 5c 6e 2b 21 65 6e 64 69 66 5c 72 ell\r\n+!endif\r
20a0: 5c 6e 2b 21 65 6e 64 69 66 5c 73 23 5c 73 44 49 \n+!endif\s#\sDI
20b0: 53 41 42 4c 45 5f 53 54 41 4e 44 41 52 44 5f 54 SABLE_STANDARD_T
20c0: 41 52 47 45 54 53 5c 72 5c 6e 5c 72 5c 6e 3c 2f ARGETS\r\n\r\n</
20d0: 76 65 72 62 61 74 69 6d 3e 0a 4a 20 6c 6f 67 69 verbatim>.J logi
20e0: 6e 20 6f 65 68 68 61 72 0a 4a 20 6d 69 6d 65 74 n oehhar.J mimet
20f0: 79 70 65 20 74 65 78 74 2f 78 2d 66 6f 73 73 69 ype text/x-fossi
2100: 6c 2d 77 69 6b 69 0a 4a 20 75 73 65 72 6e 61 6d l-wiki.J usernam
2110: 65 20 6f 65 68 68 61 72 0a 4b 20 36 30 34 62 62 e oehhar.K 604bb
2120: 36 38 62 35 63 32 35 61 35 63 36 37 30 62 32 66 68b5c25a5c670b2f
2130: 38 39 64 62 61 36 38 62 39 32 66 37 63 35 37 63 89dba68b92f7c57c
2140: 62 36 32 0a 55 20 6f 65 68 68 61 72 0a 5a 20 61 b62.U oehhar.Z a
2150: 66 39 33 65 66 61 63 63 37 30 33 62 30 31 64 38 f93efacc703b01d8
2160: 37 39 66 62 39 34 65 39 66 36 61 30 65 30 61 0a 79fb94e9f6a0e0a.