summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* cmake: speed up and extend picky clang/gcc optionsViktor Szakats2023-04-161-0/+1
| | | | | | | | | | | | | | | | | | | | Extend existing picky compiler options with ones missing compared to autotools builds. Also sync options between clang and gcc. Redesign the way we enable these options to avoid the slow option detection almost completely. This reduces the number of detections from 35 to zero for clang and 3 for gcc, even after adding a bunch of new options. clang 3.0 (2011-11-29) and gcc 2.95 (1999-07-31) now required. Also show enabled picky options. Ref: https://github.com/libssh2/libssh2/pull/952 Reviewed-by: Daniel Stenberg Closes #10973
* copyright: update all copyright lines and remove year rangesDaniel Stenberg2023-01-031-1/+1
| | | | | | | | | | | | - they are mostly pointless in all major jurisdictions - many big corporations and projects already don't use them - saves us from pointless churn - git keeps history for us - the year range is kept in COPYING checksrc is updated to allow non-year using copyright statements Closes #10205
* copyright: make repository REUSE compliantmax.mehl2022-06-131-0/+2
| | | | | | | | | | | Add licensing and copyright information for all files in this repository. This either happens in the file itself as a comment header or in the file `.reuse/dep5`. This commit also adds a Github workflow to check pull requests and adapts copyright.pl to the changes. Closes #8869
* Makefile.am: fix portability issuesChristian Weisgerber via curl-library2022-05-191-4/+4
| | | | | | | | | | | | | | Commit a04f0b961333e1a19848d073d8c7db9c20b2a371 made me notice that there is a portability issue in curl's top-level Makefile.am. $< can only be used in rules that deal with .SUFFIXES. Its use for general prerequisites is a GNU make extension. $< could be replaced by $?, but I think in an autotools context, something like this is better: Bug: https://curl.se/mail/lib-2022-05/0024.html Closes #8861
* cmake: add libpsl supportVincent Torri2022-05-191-0/+1
| | | | | Fixes #8865 Closes #8867
* Makefile: fix "make ca-firefox"Ryan Schmidt2022-05-051-2/+2
| | | | Closes #8804
* Makefile: fix ca-bundle due to mk-ca-bundle.pl being movedChristopher Degawa2022-04-211-1/+1
| | | | | | | | | The script was moved in 8e22fc68e7dda43e9f but the lines that called it was not changed to reflect it's new position Signed-off-by: Christopher Degawa <ccom@randomderp.com> Closes #8728
* msh3: add support for QUIC and HTTP/3 using msh3Nick Banks2022-04-101-0/+1
| | | | | | Considered experimental, as the other HTTP/3 backends. Closes #8517
* projects/README: converted to markdownDaniel Stenberg2022-03-301-1/+1
| | | | Closes #8652
* projects: Update VC version names for VS2017, VS2022Jay Satiro2022-03-291-62/+62
| | | | | | | | | | | | | | | | | | | | | - Rename VC15 -> VC14.10, VC17 -> VC14.30. The projects directory that holds the pre-generated Visual Studio project files uses VC<ver> to indicate the MSVC version. At some point support for Visual Studio 2017 (Visual Studio version 15 which uses MSVC 14.10) was added as VC15. Visual Studio 2022 (Visual Studio version 17 which uses MSVC 14.30) project files were recently added and followed that same format using VC17. There is no such MSVC version (yet) as VC15 or VC17. For VS 2017 for example, the name we use is correct as either VS17, VS2017, VC14.10. I opted for the latter since we use VC for earlier versions (eg VC10, VC12, etc). Ref: https://github.com/curl/curl/pull/8438#issuecomment-1037070192 Closes https://github.com/curl/curl/pull/8447
* scripts: move three scripts from lib/ to scripts/Daniel Stenberg2022-03-231-5/+3
| | | | | | | | | | Move checksrc.pl, firefox-db2pem.sh and mk-ca-bundle.pl since they don't particularly belong in lib/ Also created an EXTRA_DIST= in scripts/Makefile.am instead of specifying those files in the root Makefile.am Closes #8625
* Makefile.am: Generate VS 2022 projectsJay Satiro2022-02-131-3/+41
| | | | | | Follow-up to f13d4d0 which added VS 2022 project support. Ref: https://github.com/curl/curl/pull/8438
* projects: remove support for MSVC before VC10 (Visual Studio 2010)Daniel Stenberg2022-02-131-180/+5
| | | | | | | | - Remove Visual Studio project files for VC6, VC7, VC7.1, VC8 and VC9. Those versions are too old to be maintained any longer. Closes https://github.com/curl/curl/pull/8442
* misc: update copyright yearsDaniel Stenberg2021-10-151-1/+1
|
* CI/makefiles: introduce dedicated test targetMarc Hoersken2021-10-081-0/+3
| | | | | | | | | | Make it easy to use the same set of test flags throughout all current and future CI builds. Reviewed-by: Jay Satiro Follow up to #7690 Closes #7785
* Revert "libcurl.pc: make it relocatable"Daniel Stenberg2020-11-091-0/+1
| | | | | | | | | | This reverts commit 3862c37b6373a55ca704171d45ba5ee91dec2c9f. That fix should either be done differently or with an option. Reported-by: asavah on github Fixes #6157 Closes #6183
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* packages/OS400: make the source code-style compliantDaniel Stenberg2020-10-171-0/+1
| | | | | | | ... and make sure 'make checksrc' in the root dir also verifies the packages/OS400 sources. Closes https://github.com/curl/curl/pull/6085
* libcurl.pc: make it relocatableCristian Morales Vega2020-10-151-1/+0
| | | | | | | | It supposes when people specify the libdir/includedir they do it to change where under prefix/exec_prefix it should be, not to make it independent of prefix/exec_prefix. Closes #6061
* winbuild: convert the instruction text to README.mdDaniel Stenberg2020-08-261-1/+1
| | | | Closes #5861
* dist: add missing CMake Find modules to the distributionDon2020-08-211-0/+3
| | | | Closes #5836
* CMake: add HTTP/3 support (ngtcp2+nghttp3, quiche)Peter Wu2020-05-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | Add three new CMake Find modules (using the curl license, but I grant others the right to apply the CMake BSD license instead). This CMake config is simpler than the autotools one because it assumes ngtcp2 and nghttp3 to be used together. Another difference is that this CMake config checks whether QUIC is actually supported by the TLS library (patched OpenSSL or boringssl) since this can be a common configuration mistake that could result in build errors later. Unlike autotools, CMake does not warn you that the features are experimental. The user is supposed to already know that and read the documentation. It requires a very special build environment anyway. Tested with ngtcp2+OpenSSL+nghttp3 and quiche+boringssl, both built from current git master. Use `LD_DEBUG=files src/curl |& grep need` to figure out which features (libldap-2.4, libssh2) to disable due to conflicts with boringssl. Closes #5359
* copyright: fix out-of-date copyright ranges and missing headersDaniel Stenberg2020-03-241-1/+1
| | | | | | | | | Reported by the new script 'scripts/copyright.pl'. The script has a regex whitelist for the files that don't need copyright headers. Removed three (mostly usesless) README files from docs/ Closes #5141
* cmake: add support for building with wolfSSLbagder/cmake-wolfsslDaniel Stenberg2020-03-161-9/+19
| | | | | | | | | My working build cmdline: $ cmake -DCMAKE_PREFIX_PATH=$HOME/build-wolfssl -DCMAKE_USE_WOLFSSL=ON . Assisted-by: Brad King Closes #5095
* Makefile: run the cd commands in a subshellMuhammad Herdiansyah2020-03-111-11/+11
| | | | | | | | | In bmake, if the directory is changed (with cd or anything else), bmake won't return to the "root directory" on the next command (in the same Makefile rule). This commit runs the cd command in a subshell so it would work in bmake. Closes #5073
* TLS: add BearSSL vtls implementationMichael Forney2019-11-261-2/+2
| | | | Closes #4597
* projects: Fix Visual Studio projects SSH buildsJay Satiro2019-11-241-1/+70
| | | | | | | | | | | | - Generate VQUIC and VSSH filenames in Visual Studio project files. Prior to this change generated Visual Studio project configurations that enabled SSH did not build properly. Broken since SSH files were moved to lib/vssh 3 months ago in 5b2d703. Fixes https://github.com/curl/curl/issues/4492 Fixes https://github.com/curl/curl/issues/4630 Closes https://github.com/curl/curl/pull/4607
* plan9: add support for running on Plan 9lufia2019-07-311-1/+12
| | | | Closes #3701
* scripts/completion.pl: also generate fish completion fileSimon Legner2019-03-021-2/+2
| | | | | | This is the renamed script formerly known as zsh.pl Closes #3545
* Makefile: add 'tidy' target that runs clang-tidyDaniel Stenberg2018-10-271-1/+5
| | | | | | Available in the root, src and lib dirs. Closes #3163
* whitespace fixesViktor Szakats2018-09-231-14/+14
| | | | | | | | | | | - 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
* cmake: link curl to the OpenSSL targets instead of lib absolute pathsJohn Butterfield2018-08-081-1/+1
| | | | | | Reviewed-by: Jakub Zakrzewski Reviewed-by: Sergei Nikulov Closes #2753
* build: Fixed incorrect script termination from commit ad1dc10e61Steve Holme2017-12-221-1/+1
|
* build: Added Visual Studio 2017 project filesSteve Holme2017-12-221-3/+36
|
* make: fix "make distclean"Daniel Stenberg2017-11-241-9/+0
| | | | | Fixes #2097 Closes #2108
* cmake: Export libcurl and curl targets to use by other cmake projectsJakub Zakrzewski2017-10-281-1/+2
| | | | | | | | | The config files define curl and libcurl targets as imported targets CURL::curl and CURL::libcurl. For backward compatibility with CMake- provided find-module the CURL_INCLUDE_DIRS and CURL_LIBRARIES are also set. Closes #1879
* fuzzer: move to using external curl-fuzzerMax Dymond2017-10-041-3/+0
| | | | | | Use the external curl-fuzzer repository for fuzzing. Closes #1923
* ossfuzz: moving towards the ideal integrationMax Dymond2017-09-011-0/+3
| | | | | | | | | - Start with the basic code from the ossfuzz project. - Rewrite fuzz corpora to be binary files full of Type-Length-Value data, and write a glue layer in the fuzzing function to convert corpora into CURL options. - Have supporting functions to generate corpora from existing tests - Integrate with Makefile.am
* cmake: move cmake_uninstall.cmake to CMake/Daniel Stenberg2017-08-101-1/+1
| | | | Closes #1756
* dist: fix the cmake build by shipping cmake_uninstall.cmake.in tooDaniel Stenberg2017-08-101-1/+1
| | | | Fixes #1755
* build: fix 'make install' with configure, install docs/libcurl/* tooDaniel Stenberg2017-08-091-0/+2
| | | | | | Broken since d24838d4da9faa Reported-by: Bernard Spil
* make: build the docs subdir only from within srcDaniel Stenberg2017-06-301-2/+2
| | | | | | | | ... and don't build at all in include Prompted-by-work-by: Simon Warta Ref: #1590 Closes #1591
* dist: make the hugehelp.c not get regenerated unnecessarilyDaniel Stenberg2017-06-141-1/+1
| | | | | | | | | | The maketgz script now makes sure the generated hugehelp.c file in the tarball is newer than the generated curl.1 man page, so that it doesn't have to get unnecessarily rebuilt first thing in a typical build. It thus also removes the need for perl to build off a plain release tarball. Fixes #1565
* includes: remove curl/curlbuild.h and curl/curlrules.hDaniel Stenberg2017-06-141-1/+1
| | | | | | | | Rely entirely on curl/system.h now. Introduced in Aug 2008 with commit 14240e9e109f. Now gone. Fixes #1456
* coverage: run event tests tooDaniel Stenberg2017-06-021-0/+3
| | | | ... the torture ones are commented out only because they are slooooow.
* build: provide easy code coverage measuringDaniel Stenberg2017-06-021-1/+1
| | | | Closes #1528
* dist: add missing files to the tarballDaniel Stenberg2017-03-311-3/+6
|
* make: use the variable MAKE for recursive callsMaksim Stsepanenka2017-03-291-3/+3
| | | | Closes #1366
* spelling fixesklemens2017-03-261-1/+1
| | | | Closes #1356
* make: introduce 'test-nonflaky' targetDaniel Stenberg2017-03-221-0/+3
| | | | | Running this in the root build dir will invoke the test suite to only run tests not marked as 'flaky'.