Fossil SCM
Add FOSSIL_BUILD_SSL macro to the MSVC makefile to control whether OpenSSL is built during the build process. By default, building OpenSSL during the Fossil build is off.
Commit
80b4adddec55f6b39ba641283b1f0326b4fb9083
Parent
20af0a8e5c5cbb4…
3 files changed
+5
+5
+2
-2
+5
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -1171,10 +1171,13 @@ | ||
| 1171 | 1171 | # Uncomment to enable miniz usage |
| 1172 | 1172 | # FOSSIL_ENABLE_MINIZ = 1 |
| 1173 | 1173 | |
| 1174 | 1174 | # Uncomment to enable SSL support |
| 1175 | 1175 | # FOSSIL_ENABLE_SSL = 1 |
| 1176 | + | |
| 1177 | +# Uncomment to build SSL libraries | |
| 1178 | +# FOSSIL_BUILD_SSL = 1 | |
| 1176 | 1179 | |
| 1177 | 1180 | # Uncomment to enable TH1 scripts in embedded documentation files |
| 1178 | 1181 | # FOSSIL_ENABLE_TH1_DOCS = 1 |
| 1179 | 1182 | |
| 1180 | 1183 | # Uncomment to enable TH1 hooks |
| @@ -1355,11 +1358,13 @@ | ||
| 1355 | 1358 | !ifndef FOSSIL_ENABLE_MINIZ |
| 1356 | 1359 | APPTARGETS = $(APPTARGETS) zlib |
| 1357 | 1360 | !endif |
| 1358 | 1361 | |
| 1359 | 1362 | !ifdef FOSSIL_ENABLE_SSL |
| 1363 | +!ifdef FOSSIL_BUILD_SSL | |
| 1360 | 1364 | APPTARGETS = $(APPTARGETS) openssl |
| 1365 | +!endif | |
| 1361 | 1366 | !endif |
| 1362 | 1367 | |
| 1363 | 1368 | $(APPNAME) : $(APPTARGETS) translate$E mkindex$E headers $(OBJ) $(OX)\linkopts |
| 1364 | 1369 | cd $(OX) |
| 1365 | 1370 | link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts |
| 1366 | 1371 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -1171,10 +1171,13 @@ | |
| 1171 | # Uncomment to enable miniz usage |
| 1172 | # FOSSIL_ENABLE_MINIZ = 1 |
| 1173 | |
| 1174 | # Uncomment to enable SSL support |
| 1175 | # FOSSIL_ENABLE_SSL = 1 |
| 1176 | |
| 1177 | # Uncomment to enable TH1 scripts in embedded documentation files |
| 1178 | # FOSSIL_ENABLE_TH1_DOCS = 1 |
| 1179 | |
| 1180 | # Uncomment to enable TH1 hooks |
| @@ -1355,11 +1358,13 @@ | |
| 1355 | !ifndef FOSSIL_ENABLE_MINIZ |
| 1356 | APPTARGETS = $(APPTARGETS) zlib |
| 1357 | !endif |
| 1358 | |
| 1359 | !ifdef FOSSIL_ENABLE_SSL |
| 1360 | APPTARGETS = $(APPTARGETS) openssl |
| 1361 | !endif |
| 1362 | |
| 1363 | $(APPNAME) : $(APPTARGETS) translate$E mkindex$E headers $(OBJ) $(OX)\linkopts |
| 1364 | cd $(OX) |
| 1365 | link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts |
| 1366 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -1171,10 +1171,13 @@ | |
| 1171 | # Uncomment to enable miniz usage |
| 1172 | # FOSSIL_ENABLE_MINIZ = 1 |
| 1173 | |
| 1174 | # Uncomment to enable SSL support |
| 1175 | # FOSSIL_ENABLE_SSL = 1 |
| 1176 | |
| 1177 | # Uncomment to build SSL libraries |
| 1178 | # FOSSIL_BUILD_SSL = 1 |
| 1179 | |
| 1180 | # Uncomment to enable TH1 scripts in embedded documentation files |
| 1181 | # FOSSIL_ENABLE_TH1_DOCS = 1 |
| 1182 | |
| 1183 | # Uncomment to enable TH1 hooks |
| @@ -1355,11 +1358,13 @@ | |
| 1358 | !ifndef FOSSIL_ENABLE_MINIZ |
| 1359 | APPTARGETS = $(APPTARGETS) zlib |
| 1360 | !endif |
| 1361 | |
| 1362 | !ifdef FOSSIL_ENABLE_SSL |
| 1363 | !ifdef FOSSIL_BUILD_SSL |
| 1364 | APPTARGETS = $(APPTARGETS) openssl |
| 1365 | !endif |
| 1366 | !endif |
| 1367 | |
| 1368 | $(APPNAME) : $(APPTARGETS) translate$E mkindex$E headers $(OBJ) $(OX)\linkopts |
| 1369 | cd $(OX) |
| 1370 | link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts |
| 1371 |
+5
| --- win/Makefile.msc | ||
| +++ win/Makefile.msc | ||
| @@ -30,10 +30,13 @@ | ||
| 30 | 30 | # Uncomment to enable miniz usage |
| 31 | 31 | # FOSSIL_ENABLE_MINIZ = 1 |
| 32 | 32 | |
| 33 | 33 | # Uncomment to enable SSL support |
| 34 | 34 | # FOSSIL_ENABLE_SSL = 1 |
| 35 | + | |
| 36 | +# Uncomment to build SSL libraries | |
| 37 | +# FOSSIL_BUILD_SSL = 1 | |
| 35 | 38 | |
| 36 | 39 | # Uncomment to enable TH1 scripts in embedded documentation files |
| 37 | 40 | # FOSSIL_ENABLE_TH1_DOCS = 1 |
| 38 | 41 | |
| 39 | 42 | # Uncomment to enable TH1 hooks |
| @@ -430,11 +433,13 @@ | ||
| 430 | 433 | !ifndef FOSSIL_ENABLE_MINIZ |
| 431 | 434 | APPTARGETS = $(APPTARGETS) zlib |
| 432 | 435 | !endif |
| 433 | 436 | |
| 434 | 437 | !ifdef FOSSIL_ENABLE_SSL |
| 438 | +!ifdef FOSSIL_BUILD_SSL | |
| 435 | 439 | APPTARGETS = $(APPTARGETS) openssl |
| 440 | +!endif | |
| 436 | 441 | !endif |
| 437 | 442 | |
| 438 | 443 | $(APPNAME) : $(APPTARGETS) translate$E mkindex$E headers $(OBJ) $(OX)\linkopts |
| 439 | 444 | cd $(OX) |
| 440 | 445 | link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts |
| 441 | 446 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -30,10 +30,13 @@ | |
| 30 | # Uncomment to enable miniz usage |
| 31 | # FOSSIL_ENABLE_MINIZ = 1 |
| 32 | |
| 33 | # Uncomment to enable SSL support |
| 34 | # FOSSIL_ENABLE_SSL = 1 |
| 35 | |
| 36 | # Uncomment to enable TH1 scripts in embedded documentation files |
| 37 | # FOSSIL_ENABLE_TH1_DOCS = 1 |
| 38 | |
| 39 | # Uncomment to enable TH1 hooks |
| @@ -430,11 +433,13 @@ | |
| 430 | !ifndef FOSSIL_ENABLE_MINIZ |
| 431 | APPTARGETS = $(APPTARGETS) zlib |
| 432 | !endif |
| 433 | |
| 434 | !ifdef FOSSIL_ENABLE_SSL |
| 435 | APPTARGETS = $(APPTARGETS) openssl |
| 436 | !endif |
| 437 | |
| 438 | $(APPNAME) : $(APPTARGETS) translate$E mkindex$E headers $(OBJ) $(OX)\linkopts |
| 439 | cd $(OX) |
| 440 | link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts |
| 441 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -30,10 +30,13 @@ | |
| 30 | # Uncomment to enable miniz usage |
| 31 | # FOSSIL_ENABLE_MINIZ = 1 |
| 32 | |
| 33 | # Uncomment to enable SSL support |
| 34 | # FOSSIL_ENABLE_SSL = 1 |
| 35 | |
| 36 | # Uncomment to build SSL libraries |
| 37 | # FOSSIL_BUILD_SSL = 1 |
| 38 | |
| 39 | # Uncomment to enable TH1 scripts in embedded documentation files |
| 40 | # FOSSIL_ENABLE_TH1_DOCS = 1 |
| 41 | |
| 42 | # Uncomment to enable TH1 hooks |
| @@ -430,11 +433,13 @@ | |
| 433 | !ifndef FOSSIL_ENABLE_MINIZ |
| 434 | APPTARGETS = $(APPTARGETS) zlib |
| 435 | !endif |
| 436 | |
| 437 | !ifdef FOSSIL_ENABLE_SSL |
| 438 | !ifdef FOSSIL_BUILD_SSL |
| 439 | APPTARGETS = $(APPTARGETS) openssl |
| 440 | !endif |
| 441 | !endif |
| 442 | |
| 443 | $(APPNAME) : $(APPTARGETS) translate$E mkindex$E headers $(OBJ) $(OX)\linkopts |
| 444 | cd $(OX) |
| 445 | link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts |
| 446 |
+2
-2
| --- www/build.wiki | ||
| +++ www/build.wiki | ||
| @@ -126,14 +126,14 @@ | ||
| 126 | 126 | [/tree?ci=trunk&name=compat | compat] directory (e.g. |
| 127 | 127 | "<b>compat/openssl-1.0.1i</b>"), then make sure that some recent |
| 128 | 128 | <a href="http://www.perl.org/">Perl</a> binaries are installed locally, |
| 129 | 129 | and finally run one of the following commands: |
| 130 | 130 | <blockquote><pre> |
| 131 | -nmake /f Makefile.msc FOSSIL_ENABLE_SSL=1 PERLDIR=C:\full\path\to\Perl\bin | |
| 131 | +nmake /f Makefile.msc FOSSIL_ENABLE_SSL=1 FOSSIL_BUILD_SSL=1 PERLDIR=C:\full\path\to\Perl\bin | |
| 132 | 132 | </pre></blockquote> |
| 133 | 133 | <blockquote><pre> |
| 134 | -buildmsvc.bat FOSSIL_ENABLE_SSL=1 PERLDIR=C:\full\path\to\Perl\bin | |
| 134 | +buildmsvc.bat FOSSIL_ENABLE_SSL=1 FOSSIL_BUILD_SSL=1 PERLDIR=C:\full\path\to\Perl\bin | |
| 135 | 135 | </pre></blockquote> |
| 136 | 136 | |
| 137 | 137 | <li><p><i>Cygwin</i> → The same as other unix-like systems. It is |
| 138 | 138 | recommended to configure using: "<b>configure --disable-internal-sqlite</b>", |
| 139 | 139 | making sure you have the "libsqlite3-devel" , "zlib-devel" and |
| 140 | 140 |
| --- www/build.wiki | |
| +++ www/build.wiki | |
| @@ -126,14 +126,14 @@ | |
| 126 | [/tree?ci=trunk&name=compat | compat] directory (e.g. |
| 127 | "<b>compat/openssl-1.0.1i</b>"), then make sure that some recent |
| 128 | <a href="http://www.perl.org/">Perl</a> binaries are installed locally, |
| 129 | and finally run one of the following commands: |
| 130 | <blockquote><pre> |
| 131 | nmake /f Makefile.msc FOSSIL_ENABLE_SSL=1 PERLDIR=C:\full\path\to\Perl\bin |
| 132 | </pre></blockquote> |
| 133 | <blockquote><pre> |
| 134 | buildmsvc.bat FOSSIL_ENABLE_SSL=1 PERLDIR=C:\full\path\to\Perl\bin |
| 135 | </pre></blockquote> |
| 136 | |
| 137 | <li><p><i>Cygwin</i> → The same as other unix-like systems. It is |
| 138 | recommended to configure using: "<b>configure --disable-internal-sqlite</b>", |
| 139 | making sure you have the "libsqlite3-devel" , "zlib-devel" and |
| 140 |
| --- www/build.wiki | |
| +++ www/build.wiki | |
| @@ -126,14 +126,14 @@ | |
| 126 | [/tree?ci=trunk&name=compat | compat] directory (e.g. |
| 127 | "<b>compat/openssl-1.0.1i</b>"), then make sure that some recent |
| 128 | <a href="http://www.perl.org/">Perl</a> binaries are installed locally, |
| 129 | and finally run one of the following commands: |
| 130 | <blockquote><pre> |
| 131 | nmake /f Makefile.msc FOSSIL_ENABLE_SSL=1 FOSSIL_BUILD_SSL=1 PERLDIR=C:\full\path\to\Perl\bin |
| 132 | </pre></blockquote> |
| 133 | <blockquote><pre> |
| 134 | buildmsvc.bat FOSSIL_ENABLE_SSL=1 FOSSIL_BUILD_SSL=1 PERLDIR=C:\full\path\to\Perl\bin |
| 135 | </pre></blockquote> |
| 136 | |
| 137 | <li><p><i>Cygwin</i> → The same as other unix-like systems. It is |
| 138 | recommended to configure using: "<b>configure --disable-internal-sqlite</b>", |
| 139 | making sure you have the "libsqlite3-devel" , "zlib-devel" and |
| 140 |