aboutsummaryrefslogtreecommitdiffstats
path: root/Configurations
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove automatic RPATHRichard Levitte2016-10-131-14/+1
| | | | | | | | | | | | | Before OpenSSL 1.1.0, binaries were installed in a non-standard location by default, and runpath directories were therefore added in those binaries, to make sure the executables would be able to find the shared libraries they were linked with. With OpenSSL 1.1.0 and on, binaries are installed in standard directories by default, and the addition of runpath directories is therefore not needed any more. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add C++ settings in the Linux config targetsRichard Levitte2016-10-121-0/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add support for C++ in Configurations/unix-Makefile.tmplRichard Levitte2016-10-121-7/+28
| | | | | | | | | Note that it relies on a trick from Configure, where file names for object files made from C++ source get '.cc' replaced with '_cc.o' to recognise them. This is needed so the correct compiler is used when linking binaries. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add support for C++ in ConfigureRichard Levitte2016-10-121-2/+10
| | | | | | | | A note: this will form object file names by changing '.cc' to '_cc.o'. This will permit other configuration code to recognise these object files were built for C++ rather than C. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Remove untrue comment.Ben Laurie2016-10-021-2/+0
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Make dependencies if Makefile is new.Ben Laurie2016-10-021-1/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* descrip.mms.tmpl: in obj2bin, make sure an empty @deps means no empty linesRichard Levitte2016-09-211-6/+10
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Simplify configudata.pm dependency generationRichard Levitte2016-09-173-3/+3
| | | | | | While we're at it, correct the fault in windows-makefile.tmpl Reviewed-by: Andy Polyakov <appro@openssl.org>
* Simplify the dependencies for remaking configdata.pmRichard Levitte2016-09-163-3/+3
| | | | Reviewed-by: Andy Polyakov <appro@openssl.org>
* Use the registered conf file names as dependencies to build configdata.pmRichard Levitte2016-09-163-3/+3
| | | | Reviewed-by: Andy Polyakov <appro@openssl.org>
* Finally, make sure vms_term_sock.c is built on VMSRichard Levitte2016-09-151-1/+1
| | | | | Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
* GH1536: Install empty CT log listRich Salz2016-09-143-1/+21
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* VMS: Really don't force symbol mixed case when building DSOsRichard Levitte2016-09-141-1/+0
| | | | | | | This is an amendment to the september 8 commit titled "VMS: Don't force symbol mixed case when building DSOs" Reviewed-by: Rich Salz <rsalz@openssl.org>
* Remove -xtarget=ultra from solaris(64)-sparcv9-cc builds.Andy Grundman2016-09-131-2/+2
| | | | | | | | | | | This flag got moved after -xarch=v9 in 1.1.0 and had the unexpected side effect of the compiler building for 32-bit v8plusa instead of v9. GH#1521 CLA: none; trivial Signed-off-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org>
* Add enginesdir to libcrypto.pc pkg-config fileDavid Woodhouse2016-09-121-0/+1
| | | | | Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
* VMS: Use different C flags for programs that aren't to be installedRichard Levitte2016-09-092-3/+16
| | | | | | | | | | | | | | | This is generalised by having the following macros for stuff that won't be installed: NO_INST_LIB_CFLAGS, used instead of LIB_CFLAGS NO_INST_DSO_CFLAGS, used instead of DSO_CFLAGS NO_INST_BIN_CFLAGS, used instead of BIN_CFLAGS They take values from corresponding target config fields if those are defined, otherwise they take the respective values from LIB_CFLAGS, DSO_CFLAGS and BIN_CFLAGS. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Build file templates: additional information to build file template functionsRichard Levitte2016-09-091-6/+23
| | | | | | | | | | Send a bit information to the build file template functions. For src2obj(), the additional option 'product' holds the name of the final file that the object file will go into. Additionally, the diverse functions will get the option 'installed', with a value that evaluates true if the final product is to be installed, otherwise false. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Configurations/10-main.cf: AIX "facelift".Andy Polyakov2016-09-081-5/+9
| | | | | | | | Improve interchangeability of aix*-gcc targets by linking shared libraries with -static-libgcc, and address linking problems with vendor compiler. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Allow asan, msan and ubsan to be configured with shared librariesRichard Levitte2016-09-071-6/+2
| | | | | | | | | | | | | | | The background story is that util/shlib_wrap.sh was setting LD_PRELOAD or similar platform dependent variables, just in case the shared libraries were built with -rpath. Unfortunately, this doesn't work too well with asan, msan or ubsan. So, the solution is to forbid the combination of shared libraries, -rpath and any of the sanity analyzers we can configure. This changes util/shlib_wrap.sh so it only contains the code that sets LD_PRELOAD when -rpath has been used when configuring. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Unix build: have the makedepend and cc actions in one recipeRichard Levitte2016-09-051-19/+16
| | | | | | | | | | | | | In the case of using an independent makedepend, we had split that into two separate recipes, one depending on the other. However, there are cases where the makedepend recipe was always trying, but doesn't update the time stamp of the .d file because there are no actual changes, and thereby causing constant updates of the object files. This change makes one recipe that takes care of both makedepend och cc, thereby avoiding these extra updates. Reviewed-by: Andy Polyakov <appro@openssl.org>
* Configurations/10-main.conf: add android64-mips64 target.Andy Polyakov2016-09-021-0/+13
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* MIPS assembly pack: adapt it for MIPS[32|64]R6.Andy Polyakov2016-09-021-1/+1
| | | | | | | | | MIPS[32|64]R6 is binary and source incompatible with previous MIPS ISA specifications. Fortunately it's still possible to resolve differences in source code with standard pre-processor and switching to trap-free version of addition and subtraction instructions. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Configurations/10-main.conf: add android64-x86_64 target.Andy Polyakov2016-09-021-0/+4
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Configurations/10-main.conf: fix omittions in commentary.Andy Polyakov2016-09-021-2/+2
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Configurations/10-main.conf: remove solaris-x86-cc target.Andy Polyakov2016-09-021-14/+13
| | | | | | | | | Since vendor assembler can't assemble our modules with -KPIC flag, it, assembly support, was not available as an option. But this means lack of side-channel resistant code, which is incompatible with security by todays standards. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Have Configure's HASH or TABLE produce complete listsRichard Levitte2016-08-311-9/+24
| | | | | | | | Because some targets execute perl code that might die, we risk incomplete lists. Make it so dying doesn't happen when we're listing targets. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add ecp_nistz256-ppc64 module.Andy Polyakov2016-08-291-4/+6
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* VMS: honor --openssldir settingRichard Levitte2016-08-261-1/+1
| | | | | | | Because of a perl operator priority mixup, the --openssldir argument wasn't honored. Reviewed-by: Tim Hudson <tjh@openssl.org>
* Configurations/10-main.conf: fix solaris64-*-cc link problems.Andy Polyakov2016-08-241-1/+2
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* VMS: Use strict refdef extern model when building library object filesRichard Levitte2016-08-221-1/+1
| | | | | | | | | | | | | | | Most of the time, this isn't strictly needed. However, in the default extern model (called relaxed refdef), symbols are treated as weak common objects unless they are initialised. The librarian doesn't include weak symbols in the (static) libraries, which renders them invisible when linking a program with said those libraries, which is a problem at times. Using the strict refdef model is much more like standard C on all other platforms, and thereby avoid the issues that come with the relaxed refdef model. Reviewed-by: Rich Salz <rsalz@openssl.org>
* spelling fixes, just comments and readme.klemens2016-08-051-1/+1
| | | | | Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1413)
* When tr gets bracketed arguments, they need to be quotedRichard Levitte2016-08-041-5/+5
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Remove some unused options from 10-main.confBenjamin Kaduk2016-08-041-2/+2
| | | | | | | | | | | The options RC4_CHUNK_LL, DES_PTR, and BF_PTR were removed by Rich in commit 3e9e810f2e047effb1056211794d2d12ec2b04e7 but were still sticking around in a coupule configuration entries. Since they're unused, remove them. Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1390)
* VMS: make sure to provide an absolute source directory for pod2htmlRichard Levitte2016-08-031-2/+4
| | | | | | | Experience shows that pod2html changes directory during its process without properly adjusting the given source directory. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Don't overwrite existing installed openssl.cnfRichard Levitte2016-08-023-5/+16
| | | | | | | | | | Instead, install the new one as openssl.cnf.dist (openssl.cnf-dist on VMS), and only install it as openssl.cnf if that file doesn't already exist. Also, don't install with exec privileges on VMS. Reviewed-by: Rich Salz <rsalz@openssl.org>
* All of ssldirs installation should be done by the install_ssldirs targetRichard Levitte2016-08-021-10/+1
| | | | | | The Unix build file template didn't do that quite right. Reviewed-by: Rich Salz <rsalz@openssl.org>
* apps/openssl.c: UTF-y Windows argv.Andy Polyakov2016-08-011-0/+3
| | | | | | | | | | | Windows never composes UTF-8 strings as result of user interaction such as passing command-line argument. The only way to compose one is programmatic conversion from WCHAR string, which in turn can be picked up on command line. [For reference, why not wmain, it's not an option on MinGW.] Reviewed-by: Richard Levitte <levitte@openssl.org>
* Configurations/00-base-templates.conf: harmonize BASE_Windows.Andy Polyakov2016-08-012-2/+2
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Configurations/unix-Makefile.tmpl: add LC_ALL=C to unify messages.Andy Polyakov2016-07-311-0/+9
| | | | | | RT#4138 Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add Hurd shared extensionKurt Roeckx2016-07-261-0/+1
| | | | | Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #1345
* VMS: Rearrange installation targets for shared librariesRichard Levitte2016-07-221-18/+22
| | | | | | | | | The way it was implemented before this change, the shared libraries were installed twice. On a file system that supports file generations, that's a waste. Slightly rearranging the install targets solves the problem. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Install shared libraries in runtime installRichard Levitte2016-07-202-3/+19
| | | | | | | | On non-Windows platforms, shared libraries are both development and runtime files. We only installed them as development files, this makes sure they get installed as runtime files as well. Reviewed-by: Rich Salz <rsalz@openssl.org>
* VMS: fix typo, shared libraries have the extension .EXE, not .OLBRichard Levitte2016-07-201-1/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Don't make a difference between building test programs and other programsRichard Levitte2016-07-183-34/+28
| | | | | | | This adds a new target 'build_programs' and makes 'build_apps' and 'build_tests' aliases for it, for backward compatibility. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Adapt the build files to the new "install" hash tableRichard Levitte2016-07-183-32/+44
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Document the _NO_INST variantsRichard Levitte2016-07-181-12/+48
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Windows: allow input and output flags to end with a space, or notRichard Levitte2016-07-151-10/+10
| | | | | | | | | | | | | With a number of tools, especially those coming with Visual Studio, some command options are separated from their argument with a space, others with a space. Since we parametrise them, we can't know beforehand which it will be, so we must allow the input and output options to have either. However, spaces at the end of nmake macro values are trimmed, so allow spaces to exist by adding a reference to an undefined macro at the end. Reviewed-by: Andy Polyakov <appro@openssl.org>
* Small fixes in unix-Makefile.tmplRichard Levitte2016-07-141-4/+4
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Install applink.c with the public header files.Richard Levitte2016-07-142-0/+13
| | | | | | | | | This is only done for the platforms where 'OPENSSL_USE_APPLINK' is defined. Also, change the docs of OPENSSL_Applink to say where to find applink.c in the installation directory. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Windows: take care of manifest filesRichard Levitte2016-07-142-0/+18
| | | | | | | | The easiest way to take care of manifest files is to integrate them into the associated binary (.exe or .dll). MT (the Manifest Tool) is the utility to use for this. Reviewed-by: Rich Salz <rsalz@openssl.org>