summaryrefslogtreecommitdiff
path: root/winbuild/MakefileBuild.vc
Commit message (Collapse)AuthorAgeFilesLines
* winbuild: fix the nghttp2 buildAnatol Belski2017-05-241-12/+11
| | | | Closes #1321
* winbuild: add basic support for OpenSSL 1.1.xAnatol Belski2017-03-131-0/+8
| | | | | | - Auto-detect OpenSSL 1.1 libs Closes https://github.com/curl/curl/pull/1322
* winbuild: add config option ENABLE_NGHTTP2Jan-E2016-11-251-0/+15
| | | | Closes #1141
* winbuild: remove strcase.obj from curl buildDaniel Stenberg2016-11-021-3/+0
| | | | | | Reported-by: Bruce Stephens Fixes #1098
* msvc builds: s/rawstr/strcaseDaniel Stenberg2016-10-311-3/+3
| | | | Follow-up to 811a693b
* winbuild: Allow changing C compiler via environment variable CC (#952)Simon Warta2016-08-091-4/+10
| | | | | | | This makes it possible to use specific compilers or a cache. Sample use for clcache: set CC=clcache.bat nmake /f Makefile.vc DEBUG=no MODE=static VC=14 GEN_PDB=no
* winbuild: Free name $(CC) in Makefile (#950)Simon Warta2016-08-091-11/+7
| | | | | | | | In the old line number 290, CC and CURL_CC had the same value. After that, /DCURL_STATICLIB was added to CC but not CURL_CC (intended?). This gets rid of the CC variable entirely. It is a first step to make it possible to manualyl set a CC variable in order to be able to change the compiler.
* winbuild: Avoid setting redundant CFLAGS to compile commands (#949)Simon Warta2016-08-081-2/+0
| | | | $(CURL_CC) is always used with $(CURL_CFLAGS) appended, so before this, all arguments in CURL_CFLAGS have been added twice.
* winbuild: fix embedded manifest optionJay Satiro2016-07-211-1/+1
| | | | | | Embedded manifest option didn't work due to typo. Reported-by: Stefan Kanthak
* schannel: add CURLOPT_CERTINFO supportAndrew Kurushin2016-06-011-0/+1
| | | | Closes #822
* winbuild: add mbedtls supportHenrik Gaßmann2016-04-211-1/+14
| | | | | | | Add WITH_MBEDTLS option. Make WITH_SSL, WITH_MBEDTLS and ENABLE_WINSSL options mutual exclusive. Closes #606
* build: Updated all makefiles and project files for the new vauth directorySteve Holme2016-03-251-0/+4
| | | | | | Updated the makefiles and Visual Studio project files to support moving the authentication code to the new lib/vauth directory that was started in commit 0d04e859e1.
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* makefile: Added support for VC14Steve Holme2015-07-211-1/+1
|
* openssl: remove all uses of USE_SSLEAYDaniel Stenberg2015-03-051-2/+2
| | | | | | | SSLeay was the name of the library that was subsequently turned into OpenSSL many moons ago (1999). curl does not work with the old SSLeay library since years. This is now reflected by only using USE_OPENSSL in code that depends on OpenSSL.
* winbuild: Added option to build with c-aresSam Schanken2015-01-081-0/+27
| | | | | | | | Added support for a WITH_CARES option to be used when invoking nmake via Makefile.vc. This option enables linking against both the DLL and static versions of the c-ares libraries, as well as the debug and release varients, depending on the value of DEBUG. The USE_ARES preprocessor symbol is also defined.
* Remove all traces of FBOpenSSL SPNEGO supportDavid Woodhouse2014-07-161-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is just fundamentally broken. SPNEGO (RFC4178) is a protocol which allows client and server to negotiate the underlying mechanism which will actually be used to authenticate. This is *often* Kerberos, and can also be NTLM and other things. And to complicate matters, there are various different OIDs which can be used to specify the Kerberos mechanism too. A SPNEGO exchange will identify *which* GSSAPI mechanism is being used, and will exchange GSSAPI tokens which are appropriate for that mechanism. But this SPNEGO implementation just strips the incoming SPNEGO packet and extracts the token, if any. And completely discards the information about *which* mechanism is being used. Then we *assume* it was Kerberos, and feed the token into gss_init_sec_context() with the default mechanism (GSS_S_NO_OID for the mech_type argument). Furthermore... broken as this code is, it was never even *used* for input tokens anyway, because higher layers of curl would just bail out if the server actually said anything *back* to us in the negotiation. We assume that we send a single token to the server, and it accepts it. If the server wants to continue the exchange (as is required for NTLM and for SPNEGO to do anything useful), then curl was broken anyway. So the only bit which actually did anything was the bit in Curl_output_negotiate(), which always generates an *initial* SPNEGO token saying "Hey, I support only the Kerberos mechanism and this is its token". You could have done that by manually just prefixing the Kerberos token with the appropriate bytes, if you weren't going to do any proper SPNEGO handling. There's no need for the FBOpenSSL library at all. The sane way to do SPNEGO is just to *ask* the GSSAPI library to do SPNEGO. That's what the 'mech_type' argument to gss_init_sec_context() is for. And then it should all Just Work™. That 'sane way' will be added in a subsequent patch, as will bug fixes for our failure to handle any exchange other than a single outbound token to the server which results in immediate success.
* winbuild: Fixed static OpenSSL builds following commit c50ce85918Steve Holme2014-06-051-1/+1
|
* winbuild: added warnless.c to fix buildCody Mack2014-03-281-1/+4
|
* makefile: Added support for VC12Steve Holme2014-01-081-1/+1
|
* makefile: Added support for VC11Steve Holme2014-01-081-1/+1
|
* winbuild: Follow up fix for a47c142a88c0, 11e8066ef956 and 92b9ae5c5d59Steve Holme2014-01-081-3/+7
|
* winbuild: include version info for .dll .exeAndrei Kurushin2013-02-051-2/+7
| | | | Bug: http://curl.haxx.se/bug/view.cgi?id=1186
* Revert changes relative to lib/*.[ch] recent renamingYang Tse2013-01-061-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de0... build: make use of 76 lib/*.h renamed files ffd8e12... build: rename 76 lib/*.h files This also reverts removal of redundant include guard (redundant thanks to changes in above commits) done 2-12-2013, reverting 1 commit: c087374... curl_setup.h: remove redundant include guard This also reverts renaming and usage of lib/*.c source files done 3-12-2013, reverting 3 commits: 13606bb... build: make use of 93 lib/*.c renamed files 5b6e792... build: rename 93 lib/*.c files 7d83dff... build: commit 13606bbfde follow-up 1 Start of related discussion thread: http://curl.haxx.se/mail/lib-2013-01/0012.html Asking for confirmation on pushing this revertion commit: http://curl.haxx.se/mail/lib-2013-01/0048.html Confirmation summary: http://curl.haxx.se/mail/lib-2013-01/0079.html NOTICE: The list of 2 files that have been modified by other intermixed commits, while renamed, and also by at least one of the 6 commits this one reverts follows below. These 2 files will exhibit a hole in history unless git's '--follow' option is used when viewing logs. lib/curl_imap.h lib/curl_smtp.h
* build: make use of 93 lib/*.c renamed filesYang Tse2013-01-031-9/+9
| | | | | | 93 *.c source files renamed to use our standard naming scheme. This change affects 77 files in libcurl's source tree.
* curl tool: renaming hugehelp files to tool_hugehelpYang Tse2012-12-261-3/+3
|
* winbuild: Fix PDB file outputMark Snelling2012-11-141-19/+34
| | | | | | And fix some newlines to be proper CRLF Bug: http://curl.haxx.se/bug/view.cgi?id=3586741
* winbuild: Additional clean upMarc Hoersken2012-11-011-4/+0
|
* Even more winbuild refactoringSapien22012-11-011-4/+8
|
* Minor winbuild refactoringSapien22012-11-011-2/+0
|
* Architecture selection for winbuild and minor makefiles refactoringSapien22012-11-011-15/+3
|
* Fixed MSVC libssh2 static build.Guenter Knauf2012-11-011-1/+1
| | | | | Since libssh2 supports now agent stuff it also depends on user32.lib. Posted to the list by Jan Ehrhardt.
* winbuild/MakefileBuild.vc: Follow up on 0c8ccf7Marc Hoersken2012-10-031-2/+2
|
* winbuild: Added support for building with SPNEGO enabledMarc Hoersken2012-09-101-0/+17
| | | | | | Since Simple and Protected GSSAPI Negotiation Mechanism is already implemented in curl and supported by the MinGW builds, this change adds build support to winbuild makefiles.
* winbuild: Adjusted order of options to generated config nameMarc Hoersken2012-09-101-15/+15
| | | | | | Cleaned up order of handled build options by ordering them nearly alphabetically by using the order of the generated config name. Preparation for future/more build options.
* Added DWANT_IDN_PROTOTYPES define for MSVC too.Guenter Knauf2012-07-291-1/+1
| | | | Discussion on the list: http://curl.haxx.se/mail/lib-2012-07/0271.html
* winbuild: Make USE_WINSSL depend on USE_SSPIMarc Hoersken2012-07-071-16/+18
| | | | | | | | Since WinSSL cannot be build without SSPI being enabled, USE_WINSSL now defaults to the value of USE_SSPI. The makefile does now raise an error if WinSSL is enabled while SSPI is disabled.
* winbuild: Aligned USE_SSPI with other USE_x definesMarc Hoersken2012-07-071-5/+5
| | | | | | | | | | Renamed external parameter USE_SSPI = yes/no to ENABLE_SSPI = yes/no. Backwards compatible change: USE_SSPI can still be passed as external parameter with yes/no value as long as ENABLE_SSPI is not given. USE_x defines are passed around with true/false values internally, USE_SSPI is now aligned to this approach, but still accepts external values yes/no being passed, just like the other defines.
* winbuild: Clean up formatting and variable namingMarc Hoersken2012-07-071-13/+13
| | | | | | | | - Changed space usage to line up with the whole file - Renamed CFLAGS_SSPI/IPV6 to SSPI/IPV6_CFLAGS to be consistent with the other CFLAGS_x variables - Make use of existing CFLAGS_IPV6 (previously IPV6_CFLAGS) instead of appending directly to CFLAGS
* winbuild/MakefileBuild.vc: convert line endings to DOS styleYang Tse2012-06-141-460/+460
| | | | As per request on mailing list: http://curl.haxx.se/mail/lib-2012-06/0222.html
* winbuild: Allow SSPI build with or without SchannelMarc Hoersken2012-06-141-4/+16
| | | | | | | | | | | | | | | | | The changes introduced in commit 2bfa57bc32 are not enough to make it actually possible to use the USE_WINSSL option. Makefile.vc was not updated and the configuration name which is used in the build path did not match between both build files. This patch fixes those issues and introduces the following changes: - Replaced the -schannel name with -winssl in order to be consistent with the other options - Added ENABLE_WINSSL option to winbuild/Makefile.vc (default yes) - Changed winbuild/MakefileBuild.vc to set USE_WINSSL to true if USE_SSL is false and USE_WINSSL was not specified as a parameter - Separated WINSSL handling from SSPI handling to be consistent with the other options and their corresponding code path
* MakefileBuild.vc: Allow building without SSLYang Tse2012-06-131-1/+1
| | | | In order to use Windows native SSL support define 'USE_WINSSL'
* schannel: remove version number and identify its use with 'schannel' literalYang Tse2012-06-131-6/+11
| | | | | | | | | | Version number is removed in order to make this info consistent with how we do it with other MS and Linux system libraries for which we don't provide this info. Identifier changed from 'WinSSPI' to 'schannel' given that this is the actual provider of the SSL/TLS support. libcurl can still be built with SSPI and without SCHANNEL support.
* winbuild: Removed WITH_SSL=schannel and tie schannel to SSPIMarc Hoersken2012-06-111-7/+7
| | | | | | Removed specific WITH_SSL=schannel paramter that did not fit the general schema and complicated the parameters. For now Schannel will be enabled if SSPI is enabled and OpenSSL is disabled.
* winbuild: Updated winbuild scripts to add schannelMarc Hoersken2012-06-111-4/+7
|
* curl_sspi: Added Curl_sspi_version functionMarc Hoersken2012-06-111-0/+2
| | | | | | Added new function to get SSPI version as string. Added required library version.lib to makefiles. Changed curl_schannel.c to use Curl_sspi_version.
* winbuild: Fixed environment variables being lostMarc Hoersken2012-06-101-20/+32
| | | | | | | Fixed USE_IPV6 and USE_IDN not being passed from Makefile.vc to MakefileBuild.vc Fixed whitespace and formatting issues Fixed typo and format in help message
* winbuild: fix IPv6 enabled buildJan Ehrhardt2012-05-221-1/+1
| | | | The existing check was wrong so IPv6 support would never be enabled
* MakefileBuild.vc: use the correct IDN variableDaniel Stenberg2012-05-141-2/+2
| | | | | The variable that control IDN enablement is called USE_IDN within these Makefiles
* Revert "sspi: Added version information"Yang Tse2012-04-231-2/+0
| | | | This reverts commit 2976de480808119dae08fc6f52c8d75ba1aedb1a.