Fossil SCM

Update the windows makefiles so that they expect in-tree OpenSSL in the directory "compat/openssl", not in "compat/openssl-$VERSION".

drh 2021-02-11 18:01 trunk
Commit 0703d4dc5aa143f4369df89df251b4f6e165fc71183a3bfc45584a750b7cf6dc
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -713,15 +713,12 @@
713713
ifndef FOSSIL_ENABLE_MINIZ
714714
SSLCONFIG += --with-zlib-lib=$(PWD)/$(ZLIBDIR) --with-zlib-include=$(PWD)/$(ZLIBDIR) zlib
715715
endif
716716
717717
#### The directories where the OpenSSL include and library files are located.
718
-# The recommended usage here is to use the Sysinternals junction tool
719
-# to create a hard link between an "openssl-1.x" sub-directory of the
720
-# Fossil source code directory and the target OpenSSL source directory.
721718
#
722
-OPENSSLDIR = $(SRCDIR)/../compat/openssl-1.1.1g
719
+OPENSSLDIR = $(SRCDIR)/../compat/openssl
723720
OPENSSLINCDIR = $(OPENSSLDIR)/include
724721
OPENSSLLIBDIR = $(OPENSSLDIR)
725722
726723
#### Either the directory where the Tcl library is installed or the Tcl
727724
# source code directory resides (depending on the value of the macro
@@ -1563,11 +1560,11 @@
15631560
!ifndef USE_SEE
15641561
USE_SEE = 0
15651562
!endif
15661563
15671564
!if $(FOSSIL_ENABLE_SSL)!=0
1568
-SSLDIR = $(B)\compat\openssl-1.1.1g
1565
+SSLDIR = $(B)\compat\openssl
15691566
SSLINCDIR = $(SSLDIR)\include
15701567
!if $(FOSSIL_DYNAMIC_BUILD)!=0
15711568
SSLLIBDIR = $(SSLDIR)
15721569
!else
15731570
SSLLIBDIR = $(SSLDIR)
15741571
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -713,15 +713,12 @@
713 ifndef FOSSIL_ENABLE_MINIZ
714 SSLCONFIG += --with-zlib-lib=$(PWD)/$(ZLIBDIR) --with-zlib-include=$(PWD)/$(ZLIBDIR) zlib
715 endif
716
717 #### The directories where the OpenSSL include and library files are located.
718 # The recommended usage here is to use the Sysinternals junction tool
719 # to create a hard link between an "openssl-1.x" sub-directory of the
720 # Fossil source code directory and the target OpenSSL source directory.
721 #
722 OPENSSLDIR = $(SRCDIR)/../compat/openssl-1.1.1g
723 OPENSSLINCDIR = $(OPENSSLDIR)/include
724 OPENSSLLIBDIR = $(OPENSSLDIR)
725
726 #### Either the directory where the Tcl library is installed or the Tcl
727 # source code directory resides (depending on the value of the macro
@@ -1563,11 +1560,11 @@
1563 !ifndef USE_SEE
1564 USE_SEE = 0
1565 !endif
1566
1567 !if $(FOSSIL_ENABLE_SSL)!=0
1568 SSLDIR = $(B)\compat\openssl-1.1.1g
1569 SSLINCDIR = $(SSLDIR)\include
1570 !if $(FOSSIL_DYNAMIC_BUILD)!=0
1571 SSLLIBDIR = $(SSLDIR)
1572 !else
1573 SSLLIBDIR = $(SSLDIR)
1574
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -713,15 +713,12 @@
713 ifndef FOSSIL_ENABLE_MINIZ
714 SSLCONFIG += --with-zlib-lib=$(PWD)/$(ZLIBDIR) --with-zlib-include=$(PWD)/$(ZLIBDIR) zlib
715 endif
716
717 #### The directories where the OpenSSL include and library files are located.
 
 
 
718 #
719 OPENSSLDIR = $(SRCDIR)/../compat/openssl
720 OPENSSLINCDIR = $(OPENSSLDIR)/include
721 OPENSSLLIBDIR = $(OPENSSLDIR)
722
723 #### Either the directory where the Tcl library is installed or the Tcl
724 # source code directory resides (depending on the value of the macro
@@ -1563,11 +1560,11 @@
1560 !ifndef USE_SEE
1561 USE_SEE = 0
1562 !endif
1563
1564 !if $(FOSSIL_ENABLE_SSL)!=0
1565 SSLDIR = $(B)\compat\openssl
1566 SSLINCDIR = $(SSLDIR)\include
1567 !if $(FOSSIL_DYNAMIC_BUILD)!=0
1568 SSLLIBDIR = $(SSLDIR)
1569 !else
1570 SSLLIBDIR = $(SSLDIR)
1571
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -166,15 +166,12 @@
166166
ifndef FOSSIL_ENABLE_MINIZ
167167
SSLCONFIG += --with-zlib-lib=$(PWD)/$(ZLIBDIR) --with-zlib-include=$(PWD)/$(ZLIBDIR) zlib
168168
endif
169169
170170
#### The directories where the OpenSSL include and library files are located.
171
-# The recommended usage here is to use the Sysinternals junction tool
172
-# to create a hard link between an "openssl-1.x" sub-directory of the
173
-# Fossil source code directory and the target OpenSSL source directory.
174171
#
175
-OPENSSLDIR = $(SRCDIR)/../compat/openssl-1.1.1g
172
+OPENSSLDIR = $(SRCDIR)/../compat/openssl
176173
OPENSSLINCDIR = $(OPENSSLDIR)/include
177174
OPENSSLLIBDIR = $(OPENSSLDIR)
178175
179176
#### Either the directory where the Tcl library is installed or the Tcl
180177
# source code directory resides (depending on the value of the macro
181178
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -166,15 +166,12 @@
166 ifndef FOSSIL_ENABLE_MINIZ
167 SSLCONFIG += --with-zlib-lib=$(PWD)/$(ZLIBDIR) --with-zlib-include=$(PWD)/$(ZLIBDIR) zlib
168 endif
169
170 #### The directories where the OpenSSL include and library files are located.
171 # The recommended usage here is to use the Sysinternals junction tool
172 # to create a hard link between an "openssl-1.x" sub-directory of the
173 # Fossil source code directory and the target OpenSSL source directory.
174 #
175 OPENSSLDIR = $(SRCDIR)/../compat/openssl-1.1.1g
176 OPENSSLINCDIR = $(OPENSSLDIR)/include
177 OPENSSLLIBDIR = $(OPENSSLDIR)
178
179 #### Either the directory where the Tcl library is installed or the Tcl
180 # source code directory resides (depending on the value of the macro
181
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -166,15 +166,12 @@
166 ifndef FOSSIL_ENABLE_MINIZ
167 SSLCONFIG += --with-zlib-lib=$(PWD)/$(ZLIBDIR) --with-zlib-include=$(PWD)/$(ZLIBDIR) zlib
168 endif
169
170 #### The directories where the OpenSSL include and library files are located.
 
 
 
171 #
172 OPENSSLDIR = $(SRCDIR)/../compat/openssl
173 OPENSSLINCDIR = $(OPENSSLDIR)/include
174 OPENSSLLIBDIR = $(OPENSSLDIR)
175
176 #### Either the directory where the Tcl library is installed or the Tcl
177 # source code directory resides (depending on the value of the macro
178
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -106,11 +106,11 @@
106106
!ifndef USE_SEE
107107
USE_SEE = 0
108108
!endif
109109
110110
!if $(FOSSIL_ENABLE_SSL)!=0
111
-SSLDIR = $(B)\compat\openssl-1.1.1g
111
+SSLDIR = $(B)\compat\openssl
112112
SSLINCDIR = $(SSLDIR)\include
113113
!if $(FOSSIL_DYNAMIC_BUILD)!=0
114114
SSLLIBDIR = $(SSLDIR)
115115
!else
116116
SSLLIBDIR = $(SSLDIR)
117117
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -106,11 +106,11 @@
106 !ifndef USE_SEE
107 USE_SEE = 0
108 !endif
109
110 !if $(FOSSIL_ENABLE_SSL)!=0
111 SSLDIR = $(B)\compat\openssl-1.1.1g
112 SSLINCDIR = $(SSLDIR)\include
113 !if $(FOSSIL_DYNAMIC_BUILD)!=0
114 SSLLIBDIR = $(SSLDIR)
115 !else
116 SSLLIBDIR = $(SSLDIR)
117
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -106,11 +106,11 @@
106 !ifndef USE_SEE
107 USE_SEE = 0
108 !endif
109
110 !if $(FOSSIL_ENABLE_SSL)!=0
111 SSLDIR = $(B)\compat\openssl
112 SSLINCDIR = $(SSLDIR)\include
113 !if $(FOSSIL_DYNAMIC_BUILD)!=0
114 SSLLIBDIR = $(SSLDIR)
115 !else
116 SSLLIBDIR = $(SSLDIR)
117

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button