Hex Artifact Content

Artifact b68ebeb4f7a8a3ae4b955d73392fbd90fd7eff6a1e162ab5b35e6ed6d253c5aa:


0000: 23 20 63 61 6c 6c 20 6e 6d 61 6b 65 20 77 69 74  # call nmake wit
0010: 68 20 61 64 64 69 74 69 6f 6e 61 6c 20 70 61 72  h additional par
0020: 61 6d 65 74 65 72 20 53 53 4c 5f 49 4e 53 54 41  ameter SSL_INSTA
0030: 4c 4c 5f 46 4f 4c 44 45 52 3d 20 77 69 74 68 20  LL_FOLDER= with 
0040: 74 68 65 0a 23 20 4f 70 65 6e 53 53 4c 20 69 6e  the.# OpenSSL in
0050: 73 74 61 6c 6c 61 74 69 6f 6e 20 66 6f 6c 64 65  stallation folde
0060: 72 20 66 6f 6c 6c 6f 77 69 6e 67 2e 0a 0a 50 52  r following...PR
0070: 4f 4a 45 43 54 3d 74 6c 73 0a 44 4f 54 56 45 52  OJECT=tls.DOTVER
0080: 53 49 4f 4e 20 3d 20 31 2e 37 2e 32 32 0a 0a 50  SION = 1.7.22..P
0090: 52 4a 5f 49 4e 43 4c 55 44 45 53 20 3d 20 2d 49  RJ_INCLUDES = -I
00a0: 22 24 28 53 53 4c 5f 49 4e 53 54 41 4c 4c 5f 46  "$(SSL_INSTALL_F
00b0: 4f 4c 44 45 52 29 5c 69 6e 63 6c 75 64 65 22 20  OLDER)\include" 
00c0: 2d 49 22 24 28 4f 50 45 4e 53 53 4c 5f 49 4e 53  -I"$(OPENSSL_INS
00d0: 54 41 4c 4c 5f 44 49 52 29 5c 69 6e 63 6c 75 64  TALL_DIR)\includ
00e0: 65 22 0a 0a 50 52 4a 5f 44 45 46 49 4e 45 53 20  e"..PRJ_DEFINES 
00f0: 3d 20 2d 44 20 4e 4f 5f 53 53 4c 32 20 2d 44 20  = -D NO_SSL2 -D 
0100: 4e 4f 5f 53 53 4c 33 20 2d 44 20 5f 43 52 54 5f  NO_SSL3 -D _CRT_
0110: 53 45 43 55 52 45 5f 4e 4f 5f 57 41 52 4e 49 4e  SECURE_NO_WARNIN
0120: 47 53 0a 20 0a 23 20 53 53 4c 20 4c 69 62 73 3a  GS. .# SSL Libs:
0130: 0a 23 20 20 20 20 31 2e 20 24 7b 4c 49 42 43 52  .#    1. ${LIBCR
0140: 59 50 54 4f 7d 2e 64 6c 6c 0a 23 20 20 20 20 32  YPTO}.dll.#    2
0150: 2e 20 24 7b 4c 49 42 53 53 4c 7d 2e 64 6c 6c 0a  . ${LIBSSL}.dll.
0160: 23 20 57 68 65 72 65 20 4c 49 42 43 52 59 50 54  # Where LIBCRYPT
0170: 4f 20 28 23 31 2e 29 20 61 6e 64 20 4c 49 42 53  O (#1.) and LIBS
0180: 53 4c 20 28 23 32 2e 29 20 61 72 65 20 64 65 66  SL (#2.) are def
0190: 69 6e 65 64 20 61 73 20 66 6f 6c 6c 6f 77 73 3a  ined as follows:
01a0: 0a 23 20 20 20 20 76 31 2e 31 3a 20 6c 69 62 63  .#    v1.1: libc
01b0: 72 79 70 74 6f 2d 31 2e 31 2d 78 36 34 2e 64 6c  rypto-1.1-x64.dl
01c0: 6c 20 61 6e 64 20 6c 69 62 73 73 6c 2d 31 2e 31  l and libssl-1.1
01d0: 2d 78 36 34 2e 64 6c 6c 0a 23 20 20 20 20 76 33  -x64.dll.#    v3
01e0: 3a 20 6c 69 62 63 72 79 70 74 6f 2d 33 2d 78 36  : libcrypto-3-x6
01f0: 34 2e 64 6c 6c 20 61 6e 64 20 6c 69 62 73 73 6c  4.dll and libssl
0200: 2d 33 2d 78 36 34 2e 64 6c 6c 0a 23 20 4f 6e 20  -3-x64.dll.# On 
0210: 2a 6e 69 78 20 6c 69 62 63 72 79 70 74 6f 2e 73  *nix libcrypto.s
0220: 6f 2e 2a 20 61 6e 64 20 6c 69 62 73 73 6c 2e 73  o.* and libssl.s
0230: 6f 2e 2a 20 28 77 68 65 72 65 20 73 75 66 66 69  o.* (where suffi
0240: 78 20 69 73 20 61 20 76 65 72 73 69 6f 6e 20 69  x is a version i
0250: 6e 64 69 63 61 74 6f 72 29 2e 0a 23 0a 0a 50 52  ndicator)..#..PR
0260: 4a 5f 4c 49 42 53 20 3d 20 5c 0a 09 22 24 28 53  J_LIBS = \.."$(S
0270: 53 4c 5f 49 4e 53 54 41 4c 4c 5f 46 4f 4c 44 45  SL_INSTALL_FOLDE
0280: 52 29 5c 6c 69 62 5c 6c 69 62 73 73 6c 2e 6c 69  R)\lib\libssl.li
0290: 62 22 20 5c 0a 09 22 24 28 53 53 4c 5f 49 4e 53  b" \.."$(SSL_INS
02a0: 54 41 4c 4c 5f 46 4f 4c 44 45 52 29 5c 6c 69 62  TALL_FOLDER)\lib
02b0: 5c 6c 69 62 63 72 79 70 74 6f 2e 6c 69 62 22 20  \libcrypto.lib" 
02c0: 5c 0a 09 57 53 32 5f 33 32 2e 4c 49 42 20 47 44  \..WS2_32.LIB GD
02d0: 49 33 32 2e 4c 49 42 20 41 44 56 41 50 49 33 32  I32.LIB ADVAPI32
02e0: 2e 4c 49 42 20 43 52 59 50 54 33 32 2e 4c 49 42  .LIB CRYPT32.LIB
02f0: 20 55 53 45 52 33 32 2e 4c 49 42 0a 0a 50 52 4a   USER32.LIB..PRJ
0300: 5f 4f 42 4a 53 20 3d 20 24 28 54 4d 50 5f 44 49  _OBJS = $(TMP_DI
0310: 52 29 5c 74 6c 73 2e 6f 62 6a 20 5c 0a 20 20 20  R)\tls.obj \.   
0320: 20 20 20 20 20 20 20 20 20 20 20 20 24 28 54 4d              $(TM
0330: 50 5f 44 49 52 29 5c 74 6c 73 42 49 4f 2e 6f 62  P_DIR)\tlsBIO.ob
0340: 6a 20 5c 0a 20 20 20 20 20 20 20 20 20 20 20 20  j \.            
0350: 20 20 20 24 28 54 4d 50 5f 44 49 52 29 5c 74 6c     $(TMP_DIR)\tl
0360: 73 49 4f 2e 6f 62 6a 20 5c 0a 20 20 20 20 20 20  sIO.obj \.      
0370: 20 20 20 20 20 20 20 20 20 24 28 54 4d 50 5f 44           $(TMP_D
0380: 49 52 29 5c 74 6c 73 58 35 30 39 2e 6f 62 6a 0a  IR)\tlsX509.obj.
0390: 0a 21 69 6e 63 6c 75 64 65 20 22 72 75 6c 65 73  .!include "rules
03a0: 2d 65 78 74 2e 76 63 22 0a 21 69 6e 63 6c 75 64  -ext.vc".!includ
03b0: 65 20 22 74 61 72 67 65 74 73 2e 76 63 22 0a 0a  e "targets.vc"..
03c0: 23 20 50 72 6f 6a 65 63 74 20 73 70 65 63 69 66  # Project specif
03d0: 69 63 20 74 61 72 67 65 74 73 0a 0a 70 6b 67 69  ic targets..pkgi
03e0: 6e 64 65 78 3a 20 64 65 66 61 75 6c 74 2d 70 6b  ndex: default-pk
03f0: 67 69 6e 64 65 78 0a 69 6e 73 74 61 6c 6c 3a 20  gindex.install: 
0400: 64 65 66 61 75 6c 74 2d 70 6b 67 69 6e 64 65 78  default-pkgindex
0410: 2d 74 65 61 20 64 65 66 61 75 6c 74 2d 69 6e 73  -tea default-ins
0420: 74 61 6c 6c 20 64 65 66 61 75 6c 74 2d 69 6e 73  tall default-ins
0430: 74 61 6c 6c 2d 64 6f 63 73 2d 68 74 6d 6c 0a 74  tall-docs-html.t
0440: 65 73 74 3a 20 64 65 66 61 75 6c 74 2d 74 65 73  est: default-tes
0450: 74 0a                                            t.