aboutsummaryrefslogtreecommitdiffstats
path: root/Configurations
Commit message (Collapse)AuthorAgeFilesLines
* Simplify the handling of shared library version numbersRichard Levitte2017-07-266-57/+61
| | | | | | | | | | | | | | | | | | | | | | | $(SHLIB_MAJOR).$(SHLIB_MINOR) is really a synonym for $(SHLIB_VERSION_NUMBER), and is therefore an added complexity, so better to use $(SHLIB_VERSION_NUMBER) directly. SHLIB_MAJOR and SHLIB_MINOR are now unused, but are kept around purely as information in case someone relies on their existence. At the same time, add support for custom shared library extensions with the three new Makefile variables SHLIB_EXT, SHLIB_EXT_SIMPLE and SHLIB_EXT_IMPORT. By default, they hold the variants of shared library extensions we support. On mingw and cygwin, SHLIB_EXT_IMPORT is defined; on all other Unix platforms, it's empty. An example to get shared libraries with a slightly different SOVER name: $ make SHLIB_EXT='.$(SHLIB_VERSION_NUMBER).so' Fixes #3902 Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3964)
* Simplify Makefile.sharedRichard Levitte2017-07-241-12/+11
| | | | | | | | | | | | | | | | | | | | | | | Makefile.shared was designed to figure out static library names, shared library names, library version compatibility, import library names and the like on its own. This was a design for pre-1.1.0 OpenSSL because the main Makefile didn't have all that knowledge. With 1.1.0, the situation isn't the same, a lot more knowledge is included in the main Makefile, and while Makefile.shared did things right most of the time (there are some corner cases, such as the choice of .sl or .so as DSO extension on some HPUX versions), there's still an inherent fragility when one has to keep an eye on Makefile.shared to make sure it produces what the main Makefile produces. This change simplifies Makefile.shared by removing all its "intelligence" and have it depend entirely on the input from the main Makefile instead. That way, all the naming is driven from configuration data. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3983)
* VMS: When running a sub-MMS, make sure to give it the main MMS' qualifiersRichard Levitte2017-07-071-1/+1
| | | | | Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3880)
* Cleanup some copyright stuffRich Salz2017-06-301-2/+1
| | | | | | | | | | | | | | Remove some incorrect copyright references. Move copyright to standard place Add OpenSSL copyright where missing. Remove copyrighted file that we don't use any more Remove Itanium assembler for RC4 and MD5 (assembler versions of old and weak algorithms for an old chip) Standardize apps/rehash copyright comment; approved by Timo Put dual-copyright notice on mkcert Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3691)
* Add ECHO to makefiles for real silenceRich Salz2017-06-301-42/+44
| | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3801)
* Add new /dev/crypto engineRichard Levitte2017-06-281-0/+1
| | | | | | | Based on cryptodev-linux Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3744)
* Configure: give config targets the possibility to enable or disable featuresRichard Levitte2017-06-222-0/+11
| | | | | Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3745)
* Fix the comment about default OPENSSLDIR in windows.Bernd Edlinger2017-06-161-1/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3650)
* Add the target 'build_all_generated'Richard Levitte2017-06-163-0/+12
| | | | | | | | | | This new target is used to build all generated files and only that. This can be used to prepare everything that requires things like perl for a system that lacks perl and then move everything to that system and do the rest of the build there. Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3695)
* Build apps/progs.h dynamicallyRichard Levitte2017-06-153-10/+9
| | | | | | | | | Because apps/progs.h isn't configuration agnostic, it's not at all suited for 'make update' or being versioned, so change it to be dynamically generated. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3688)
* Remove doc of non-existent functionsRich Salz2017-06-081-1/+1
| | | | | | | | | Fix test for "documenting private functions" And add -p flag to doc-nits recipe Mark when things were deprecated, if doc'd as such Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3624)
* Windows: rearrange programs cleanupRichard Levitte2017-06-081-2/+4
| | | | | | | | | The list of programs hit nmake's maximum line length, so we split up the line in smaller chunks. Fixes #3634 Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3636)
* make error tables const and separate header fileRich Salz2017-06-071-5/+7
| | | | | | | | | | | | | | | | | | | Run perltidy on util/mkerr Change some mkerr flags, write some doc comments Make generated tables "const" when genearting lib-internal ones. Add "state" file for mkerr Renerate error tables and headers Rationalize declaration of ERR_load_XXX_strings Fix out-of-tree build Add -static; sort flags/vars for options. Also tweak code output Moved engines/afalg to engines (from master) Use -static flag Standard engine #include's of errors Don't linewrap err string tables unless necessary Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3392)
* VMS: Make sure to include MAIN from static libraries if neededRichard Levitte2017-04-241-8/+27
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3243)
* Make it possible to build static-only librariesRichard Levitte2017-04-244-32/+69
| | | | | | The trick is to use the .a extension explicitely in the build.info files. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3243)
* Typo fix in Configurations/descrip.mms.tmplRichard Levitte2017-04-241-1/+1
| | | | | | ... on the theme "I could have sworn I saved that fix!" Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3285)
* Port Ben's parallell Makefile hack to VMSRichard Levitte2017-04-231-10/+14
| | | | | | | | As far as I know, there is no MMS / MMK with parallellism today. However, it might be added in the future (perhaps in MMK at least), so we may as well prepare for it now. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3282)
* Port Ben's parallell Makefile hack to WindowsRichard Levitte2017-04-231-8/+13
| | | | | | | | | | jom is an nmake clone that does parallell building, via the same -j argument as GNU make. To make it work, we need to apply the same dependeency build up as done in 27c40a93175d4dcb559325db9354910b3d16cd4e Fixes #3272 Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3277)
* VMS: Fix the passing of cflags for things not being installedRichard Levitte2017-04-183-10/+10
| | | | | | | | | | | When building object files for libraries, information whether the library would be installed or not wasn't passed down to the object file building rules. Also, make it so settings like |no_inst_lib_cflags| can be the empty string. Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3247)
* Configurations/README: reword bn_ops description.Andy Polyakov2017-04-041-24/+28
| | | | | | Fixes GH#3116. Reviewed-by: Richard Levitte <levitte@openssl.org>
* VMS: turning off CALL_DEBUG isn't possible on AlphaRichard Levitte2017-03-151-6/+15
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2962)
* VMS: don't use /DSF, turn off CALL_DEBUG insteadRichard Levitte2017-03-152-4/+7
| | | | | | | | | | | | | It turns out that /DSF didn't do any good for our purposes. Instead, remove the CALL_DEBUG flag from any image we link. This ensures that we can have debugging information in the image files, but don't automatically end up in a debugging session upon image activation. Unfortunately, this means the CALL_DEBUG must be turned on when there is a need to run with the debugger activated, and to turn it off when done. This has been documented in NOTES.VMS. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2957)
* VMS: Change debug linking method to generate a separate Debug Symbol FileRichard Levitte2017-03-142-8/+8
| | | | | | | | | That makes it possible to run images without automagically ending up in a debug session, while still being able to debug when required. All .DSF files must reside in the same directory to be useful. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2947)
* Handle find-doc-nits script renameRich Salz2017-03-111-1/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Fix many doc L<> errorsRich Salz2017-03-111-2/+2
| | | | | | | | | | | | | | | | | Add 2017 copyright year Add missing typedef to NAME Remove ec(7) and bn(7) doc links Remove .pod link errors, bogus links, make a few typo corrections Fix some typo's in links and some missing items. Don't link to C runtime functions (See OPENSSL_malloc for example/precedent) Document ASN1_tag2str(), add a few typedef's that were missing from NAME Update doc-nits target; addresses https://github.com/openssl/openssl/pull/1900#issuecomment-259943891, Merge check-doc-links into find-doc-nits; if run regularly, would have found https://github.com/openssl/openssl/pull/2825 Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2862)
* Unix Makefile: Have manual generation use the same perl script as Windows ↵Richard Levitte2017-03-061-89/+9
| | | | | | and VMS Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2863)
* Add documentation on platform specific checksRichard Levitte2017-03-061-0/+37
| | | | Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2851)
* Add a platform specific configuration checkerRichard Levitte2017-03-062-0/+44
| | | | | | | | | | | For each platform, we may need to perform some basic checks to see that available tools perform as we expect them. For the moment, the added checkers test that Perl gives the expected path format. This should help MingW users to see if they run an appropriate Perl implementation, for example. Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2851)
* Configurations/10-main.conf: omit redundant -lresolv from Solaris configs.Andy Polyakov2017-03-021-1/+1
| | | | | | | GH#2816 Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
* Configurations/50-masm.conf: add /nologo to ml64 command line.Andy Polyakov2017-03-021-1/+1
| | | | | Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2810)
* appveyor.yml: engage VC-WIN64A-masm.Andy Polyakov2017-02-211-1/+6
| | | | | | | | | | | One of the reasons for why masm/ml64 is not [fully] supported is that it's problematic to support multiple versions. But latest one usually works and/or it's lesser problem to make it work. So idea here is to have a "whistle" when it breaks, so that problems can be evaluated as they emerge. It's kind of "best effort" thing, as opposite to "full support". Reviewed-by: Richard Levitte <levitte@openssl.org>
* remove test/.rnd on make cleanBernd Edlinger2017-02-011-0/+1
| | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2344)
* Review comments; fail build if nits foundRich Salz2017-01-121-3/+4
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2202)
* Run find-doc-nits in travisRichard Levitte2017-01-121-0/+3
| | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2202)
* Add missing -zdelete for some linux archesKurt Roeckx2016-11-211-2/+2
| | | | | | | | b6d5ba1a9f004d637acac18ae3519fe063b6b5e1 forgot to update some linux arches. Reviewed-by: Richard Levitte <levitte@openssl.org> GH: #1977
* Add a modern linux-x86 config targetRichard Levitte2016-11-161-0/+17
| | | | | | 'linux-x86' is similar to 'linux-x86_64' but uses -m32 rather than -m64. Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1924)
* Configurations/10-main.conf: remove obsolete flag from solaris-x86-gcc.Andy Polyakov2016-11-151-9/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Configurations/10-main.conf: document GCC for Solaris config constraint.Andy Polyakov2016-11-151-0/+6
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Revert "Move algorithm specific ppccap code from crypto/ppccap.c"Richard Levitte2016-11-101-5/+5
| | | | | | | | | Now that we can link specifically with static libraries, the immediate need to split ppccap.c (and eventually other *cap.c files) is no more. This reverts commit e3fb4d3d52e188b83ccb8506aa2f16cb686f4d6c. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Document how to force linking with static librariesRichard Levitte2016-11-102-5/+29
| | | | | Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1889)
* Building: make it possible to force linking with static OpenSSL libsRichard Levitte2016-11-104-20/+40
| | | | | | | | | Very simply, support having the .a extension to denote depending on static libraries. Note that this is not supported on native Windows when building shared libraries, as there is not static library then, just an import library with the same name. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1889)
* descrip.mms.tmpl: Simplify fiddling of logical names record and statemRichard Levitte2016-11-101-6/+2
| | | | | | | Instead of enumerating exactly those files in test/ that include ../ssl/ssl_locl.h, assume they all do. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1891)
* Move algorithm specific ppccap code from crypto/ppccap.cRichard Levitte2016-11-091-5/+5
| | | | | | | Having that code in one central object file turned out to cause trouble when building test/modes_internal_test. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1883)
* Unix Makefile: Make sure to use $(PERL) when running ./ConfigureRichard Levitte2016-11-091-2/+2
| | | | | | | | | | | | | | For consistency, it's better to use the perl that was specified to Configure last time it was called. Use case: perl v5.8.8 was first along $PATH, perl v5.22.2 was available and specified as: PERL=/opt/local/bin/perl ./config. When make wanted to reconfigure and called './Configure reconf', configuration broke down, complaining about a perl that's too old. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1884)
* Windows: use default ZLIB1 unless --with-zlib-lib is setRichard Levitte2016-11-061-2/+3
| | | | Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1772)
* Fix the LIBZ macro on VC config targetsRichard Levitte2016-11-061-1/+3
| | | | | | | If zlib-dynamic was given but not --with-zlib-lib, LIBZ was defined to the empty string. Instead, give it the default "ZLIB1". Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1772)
* VMS: pretend to use -znodeleteRichard Levitte2016-11-061-0/+1
| | | | | | | VMS only unloads shared libraries at process rundown, so tell the OpenSSL code so by pretending we linked with -znodelete. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1862)
* VMS build file template: assign 'arch' to local symbol tableRichard Levitte2016-11-041-1/+1
| | | | | | | | | | Since the local symbol table is looked up before the global symbol table, 'arch' assigned in the local symbol table of the DCL where MMS is called would be seen before the 'arch' defined in descrip.mms. Assigning it to the local symbol table in descrip.mms removes that issue. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1853)
* VMS: update the list of files that need some extra treatmentRichard Levitte2016-11-041-11/+7
| | | | | | This is related to a lack in path merging involding includes of includes Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1846)
* VMS: correct the logic around linking executablesRichard Levitte2016-11-041-4/+7
| | | | | | | The logic around avoiding MULDEF warnings was flawed. Simplifying it makes it better. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1846)