summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-17 10:08:25 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-17 21:06:14 +0100
commit8c16829ebd8de96334818b2bc5a5e314b001d18c (patch)
treebef4c4002dc01d2388e108b186253fcbd213261d /INSTALL
parentReport TLS 1.0 as backwards-compatible TLSv1 (diff)
downloadopenssl-8c16829ebd8de96334818b2bc5a5e314b001d18c.tar.xz
openssl-8c16829ebd8de96334818b2bc5a5e314b001d18c.zip
Add install targets for Windows
On Windows, we set INSTALLTOP to default as follows: VC-WIN32: PREFIX: %ProgramFiles(x86)%\OpenSSL OPENSSLDIR: %CommonProgramFiles(x86)%\SSL VC-WIN64*: PREFIX: %ProgramW6432%\OpenSSL OPENSSLDIR: %CommonProgramW6432%\SSL Should those environment variables be missing, the following is used as fallback: PREFIX: %ProgramFiles%\OpenSSL OPENSSLDIR: %CommonProgramFiles%\SSL Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL9
1 files changed, 8 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index 36d93e7580..2377449dbb 100644
--- a/INSTALL
+++ b/INSTALL
@@ -49,6 +49,7 @@
$ perl Configure { VC-WIN32 | VC-WIN64A | VC-WIN64I | VC-CE }
$ nmake
$ nmake test
+ $ nmake install
[If any of these steps fails, see section Installation in Detail below.]
@@ -74,17 +75,23 @@
---------------------
There are several options to ./config (or ./Configure) to customize
- the build:
+ the build (note that for Windows, the defaults for --prefix and
+ --openssldir depend in what configuration is used and what Windows
+ implementation OpenSSL is built on. More notes on this in NOTES.WIN):
--prefix=DIR The top of the installation directory tree. Defaults are:
Unix: /usr/local
+ Windows: C:\Program Files\OpenSSL
+ or C:\Program Files (x86)\OpenSSL
OpenVMS: SYS$COMMON:[OPENSSL-'version']
--openssldir=DIR Directory for OpenSSL configuration files, and also the
default certificate and key store. Defaults are:
Unix: PREFIX/ssl (PREFIX is given by --prefix)
+ Windows: C:\Program Files\Common Files\SSL
+ or C:\Program Files (x86)\Common Files\SSL
OpenVMS: SYS$COMMON:[SSL]
--api=x.y.z Don't build with support for deprecated APIs below the