WITH_CARES=<dll or static> - Enable c-ares support, DLL or static\r
WITH_ZLIB=<dll or static> - Enable zlib support, DLL or static\r
WITH_SSH2=<dll or static> - Enable libSSH2 support, DLL or static\r
+ WITH_PREFIX=<dir> - Where to install the build\r
ENABLE_SSPI=<yes or no> - Enable SSPI support, defaults to yes\r
ENABLE_IPV6=<yes or no> - Enable IPv6, defaults to yes\r
ENABLE_IDN=<yes or no> - Enable use of Windows IDN APIs, defaults to yes\r
!MESSAGE where <options> is one or many of:
!MESSAGE VC=<6,7,8,9,10,11,12,14,15> - VC versions
!MESSAGE WITH_DEVEL=<path> - Paths for the development files (SSL, zlib, etc.)
-!MESSAGE Defaults to sibbling directory deps: ../deps
+!MESSAGE Defaults to curl's sibling directory deps: ../deps
!MESSAGE Libraries can be fetched at https://windows.php.net/downloads/php-sdk/deps/
!MESSAGE Uncompress them into the deps folder.
+!MESSAGE WITH_PREFIX=<path> - Installation directory path
+!MESSAGE Defaults to a configuration dependent (SSL, zlib, etc.)\r
+!MESSAGE directory inside curl's subdirectory builds: ./builds\r
+!MESSAGE Use backslashes as path separator
!MESSAGE WITH_SSL=<dll or static> - Enable OpenSSL support, DLL or static
!MESSAGE WITH_NGHTTP2=<dll or static> - Enable HTTP/2 support, DLL or static
!MESSAGE WITH_CARES=<dll or static> - Enable c-ares support, DLL or static
!ENDIF\r
\r
LIB_DIROBJ = ..\builds\$(CONFIG_NAME_LIB)-obj-lib\r
-CURL_DIROBJ = ..\builds\$(CONFIG_NAME_LIB)-obj-curl\r
-DIRDIST = ..\builds\$(CONFIG_NAME_LIB)\\r
+CURL_DIROBJ = ..\builds\$(CONFIG_NAME_LIB)-obj-curl
+
+!IFDEF WITH_PREFIX
+DIRDIST = $(WITH_PREFIX)
+!ELSE
+DIRDIST = ..\builds\$(CONFIG_NAME_LIB)\
+!ENDIF
\r
#\r
# curl.exe\r