summaryrefslogtreecommitdiff
path: root/lib/Makefile.m32
Commit message (Collapse)AuthorAgeFilesLines
* Makefile.m32: Improve windres parameter compatibilityJay Satiro2020-03-141-1/+1
| | | | | | | | | | | | - s/COFF/coff/ Some versions of windres do not recognize uppercase COFF as a valid way to specify the COFF output format. Reported-by: Steven Penny Fixes https://github.com/curl/curl/issues/5099 Closes https://github.com/curl/curl/pull/5101
* build: remove all HAVE_OPENSSL_ENGINE_H definesDaniel Stenberg2020-03-011-2/+2
| | | | | | | ... as there's nothing in the code that actually uses the define! The last reference was removed in 38203f158. Closes #5007
* define: remove HAVE_ENGINE_LOAD_BUILTIN_ENGINES, not used anymoreDaniel Stenberg2019-12-171-2/+2
| | | | | | | | | It is covered by USE_OPENSSL_ENGINE now. Reported-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/87b9337c8f76c21c57b204e88b68c6ecf3bd1ac0#commitcomment-36447951 Closes #4725
* whitespace fixesViktor Szakats2018-09-231-32/+32
| | | | | | | | | | | - replace tabs with spaces where possible - remove line ending spaces - remove double/triple newlines at EOF - fix a non-UTF-8 character - cleanup a few indentations/line continuations in manual examples Closes https://github.com/curl/curl/pull/3037
* Makefile.m32: allow to customize brotli libsViktor Szakats2017-11-051-2/+7
| | | | | | It adds the ability to link against static brotli libs. Also fix brotli include path.
* Makefile.m32: add brotli supportViktor Szakats2017-11-051-1/+14
|
* makefile.m32: allow to override gcc, ar and ranlibViktor Szakats2017-10-151-4/+14
| | | | | | | | | | | | | Allow to ovverride certain build tools, making it possible to use LLVM/Clang to build curl. The default behavior is unchanged. To build with clang (as offered by MSYS2), these settings can be used: CURL_CC=clang CURL_AR=llvm-ar CURL_RANLIB=llvm-ranlib Closes https://github.com/curl/curl/pull/1993
* lib/Makefile.m32: allow customizing dll suffixesViktor Szakats2017-10-041-2/+6
| | | | | | | | | | | | | | - New `CURL_DLL_SUFFIX` envvar will add a suffix to the generated libcurl dll name. Useful to add `-x64` to 64-bit builds so that it can live in the same directory as the 32-bit one. By default this is empty. - New `CURL_DLL_A_SUFFIX` envvar to customize the suffix of the generated import library (implib) for libcurl .dll. It defaults to `dll`, and it's useful to modify that to `.dll` to have the standard naming scheme for mingw-built .dlls, i.e. `libcurl.dll.a`. Closes https://github.com/curl/curl/pull/1942
* makefile.m32: add multissl supportViktor Szakats2017-08-301-7/+7
| | | | Closes https://github.com/curl/curl/pull/1840
* makefile.m32: add support for libidn2Viktor Szakats2017-08-221-9/+9
| | | | | | | | libidn was replaced with libidn2 last year in configure. Caveat: libidn2 may depend on a list of further libs. These can be manually specified via CURL_LDFLAG_EXTRAS. Closes https://github.com/curl/curl/pull/1815
* Makefile.m32: enable -W for MinGW32 buildMarcel Raad2017-06-161-1/+1
| | | | | | The configure-based build also has this in addition to -Wall. Closes https://github.com/curl/curl/pull/1578
* lib/curl_setup.h: remove CURL_WANTS_CA_BUNDLE_ENVDaniel Stenberg2017-06-151-2/+1
| | | | | | | | | | | | | When this define was set, libcurl would check the environment variable named CURL_CA_BUNDLE at run-time and use that CA cert bundle. This feature was only defined by the watcom and m32 makefiles and caused inconsistent behaviours among libcurls built on different platforms. The curl tool does already feature its own similar logic and the library does not really need it, and it isn't documented libcurl behavior. So this change removes it. Ref: #1538
* includes: remove curl/curlbuild.h and curl/curlrules.hDaniel Stenberg2017-06-141-9/+2
| | | | | | | | Rely entirely on curl/system.h now. Introduced in Aug 2008 with commit 14240e9e109f. Now gone. Fixes #1456
* makefile.m32: add crypt32 for winssl buildsViktor Szakats2016-06-011-0/+4
| | | | | | Dependency added by 6cabd78 Closes #849
* makefile.m32: add missing libs for static -winssl-ssh2 buildsViktor Szakats2016-03-051-0/+5
| | | | Bug: https://github.com/curl/curl/pull/693
* makefile.m32: fix to allow -ssh2-winssl combinationViktor Szakats2016-03-051-0/+2
| | | | | | | In makefile.m32, option -ssh2 (libssh2) automatically implied -ssl (OpenSSL) option, with no way to override it with -winssl. Since both libssh2 and curl support using Windows's built-in SSL backend, modify the logic to allow that combination.
* makefile.m32: allow to pass .dll/.exe-specific LDFLAGSViktor Szakats2016-03-011-1/+1
| | | | | | | | | | | | using envvars `CURL_LDFLAG_EXTRAS_DLL` and `CURL_LDFLAG_EXTRAS_EXE` respectively. This is useful f.e. to pass ASLR-related extra options, that are required to make this feature work when using the mingw toolchain. Ref: https://github.com/curl/curl/pull/670#issuecomment-190863985 Closes https://github.com/curl/curl/pull/689
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* makefiles: Added our standard copyright headerSteve Holme2015-08-301-0/+22
| | | | | But kept the original author, when they were specified in a comment, as the initial copyright holder.
* build: refer to fixed libidn versionsViktor Szakats2015-08-101-1/+1
| | | | closes #371
* Makefile.m32: add support for CURL_LDFLAG_EXTRASViktor Szakats2015-06-181-1/+1
| | | | | It is similar to existing CURL_CFLAG_EXTRAS, but for extra linker option.
* build: bump version in default nghttp2 pathsViktor Szakats2015-05-191-1/+1
|
* build: update depedency versions, urls, example makefilesViktor Szakats2015-04-301-7/+7
| | | | | | | - update default versions of dependencies (except for rare/old platforms) - update urls - sync examples makefiles with main ones - remove line ending space
* lib/makefile.m32: add arch -m32/-m64 to LDFLAGSViktor Szakats2015-04-291-0/+2
| | | | | | This fixes using a multi-target mingw distro to build curl .dll for the non-default target. (mirroring the same patch present in src/makefile.m32)
* lib/makefile.m32: add missing libs to build libcurl.dllViktor Szakats2015-04-091-0/+3
| | | | | | | Add 'gdi32' and 'crypt32' Windows implibs to avoid failure while building libcurl.dll using the mingw compiler. The same logic is used in 'src/makefile.m32' when building curl.exe.
* 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.
* Merge pull request #134 from vszakats/mingw-m64Guenter Knauf2015-01-091-1/+1
|\ | | | | add -m64 CFLAGS when targeting mingw64, add -m32/-m64 to LDFLAGS
| * add -m64 clags when targeting mingw64, add -m32/-m64 to LDFLAGSViktor Szakats2015-01-081-3/+1
| |
* | mingw build: allow to pass custom CFLAGSViktor Szakats2015-01-091-3/+1
|/
* build: updated dependencies in makefiles.Guenter Knauf2014-12-051-2/+2
|
* build: in Makefile.m32 simplified autodetection.Guenter Knauf2014-12-011-2/+1
|
* build: in Makefile.m32 moved target autodetection.Guenter Knauf2014-11-191-10/+10
| | | | Moved target autodetection block after defining CC macro.
* build: in Makefile.m32 simplify platform flags.Guenter Knauf2014-11-191-8/+6
|
* build: in Makefile.m32 try to detect 64bit target.Guenter Knauf2014-11-191-2/+7
|
* build: in Makefile.m32 add -m32 flag for 32bit.Guenter Knauf2014-11-181-0/+2
|
* build: in Makefile.m32 pass -F flag to windres.Guenter Knauf2014-11-181-2/+7
|
* Added MinGW support to build with nghttp2.Guenter Knauf2014-10-241-0/+12
|
* Remove all traces of FBOpenSSL SPNEGO supportDavid Woodhouse2014-07-161-3/+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.
* Fix compilation with make mingw32Thomas Braun2014-02-121-1/+1
| | | | | | The source files from lib/vtls where generated in lib instead of lib/vtls. Verified-by: Thomas Braun <thomas.braun@virtuell-zuhause.de>
* Updated zlib version in build files.Guenter Knauf2013-05-111-2/+2
|
* Enabled MinGW sync resolver builds.Guenter Knauf2013-04-111-5/+12
|
* Fixed ares-enabled builds with static makefiles.Guenter Knauf2013-04-091-1/+1
|
* Updated dependency libs.Guenter Knauf2013-02-091-1/+1
|
* Updated dependency libs.Guenter Knauf2013-01-281-1/+1
|
* Added .def file to output.Guenter Knauf2012-11-081-3/+4
| | | | Requested by Johnny Luong on the libcurl list.
* Added support for tls-srp to MinGW builds.Guenter Knauf2012-07-251-0/+8
|
* Minor fixes to MinGW makefiles.Guenter Knauf2012-07-121-1/+1
|
* Changed MinGW makefiles to use WINSSL now.Guenter Knauf2012-07-111-2/+2
|
* MinGW makefile tweaks for running from sh.Guenter Knauf2012-07-031-24/+50
| | | | | Added function macros to make path converting easier. Added CROSSPREFIX to all compile tools.
* schannel: remove version number and identify its use with 'schannel' literalYang Tse2012-06-131-1/+0
| | | | | | | | | | 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.