aboutsummaryrefslogtreecommitdiffstats
path: root/Configurations/10-main.conf
Commit message (Collapse)AuthorAgeFilesLines
* VMS: remove last VAX vestigesRichard Levitte2016-05-231-12/+0
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Move Haiku configuration to separate config file to denoteAndy Polyakov2016-05-191-30/+0
| | | | | | the fact that it's community-supported target. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Small MSVC build fixes.Richard Levitte2016-05-161-1/+1
| | | | | | | | | | | | | - "/Ox /O2 /Ob2" get's reduced to "/O2", the reason being: /Ox = /Ob2 /Og /Oi /Ot /Oy /Gs /O2 = /Ob2 /Og /Oi /Ot /Oy /Gs /GF /Gy - apps/openssl.cnf gets installed. - always delete files quietly, as they might not be there. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1075)
* Windows: When installing libraries and executables, install .pdb files as wellRichard Levitte2016-05-121-2/+2
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Move the DJGPP target to its own config.Richard Levitte2016-05-121-11/+0
| | | | | | | DJGPP is a 3rd party configuration, we rely entirely on the OpenSSL to help us fine tune and test. Therefore, it's moved to its own config. Reviewed-by: Andy Polyakov <appro@openssl.org>
* IRIX fixes.Andy Polyakov2016-05-101-31/+4
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Tru64 fixes.Andy Polyakov2016-05-031-15/+11
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Android build fixes.Andy Polyakov2016-05-021-11/+5
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* VMS: only explicitely translate names in library C files.Richard Levitte2016-04-291-1/+3
| | | | | | | | When compiling all other C files, rely on the compiler to automatically pick up the name translation information from the header files __DECC_INCLUDE_{PRO,EPI}LOGUE.H. Reviewed-by: Andy Polyakov <appro@openssl.org>
* Typo, asoutflag -> perlasm_schemeRichard Levitte2016-04-191-1/+1
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Only allow Microsoft assembler with no-asm on WindowsRichard Levitte2016-04-191-7/+29
| | | | | | | This also restores the possibility to have ml used with VC-WIN32 with no-asm, which was lost during the mk1mf -> unified transition. Reviewed-by: Andy Polyakov <appro@openssl.org>
* Haiku x86-64 doesn't need RC4_CHAR.Jérôme Duval2016-04-181-1/+2
| | | | | | | * add a comment about Haiku being built with no-asm. Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
* ex_libs settings have to be added to, not overriden, on Windows tooRichard Levitte2016-04-151-8/+8
| | | | Reviewed-by: Matt Caswell <matt@openssl.org>
* Add Haiku support.Jérôme Duval2016-04-141-0/+29
| | | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
* Remake the way dynamic zlib is loadedRichard Levitte2016-04-131-0/+8
| | | | | | | | | | | | Instead of absolute hard coding of the libz library name, have it use the macro LIBZ, which is set to defaults we know in case it's undefined. This allows our configuration to set something that's sane on current or older platforms, and allows the user to override it by defining LIBZ themselves. Reviewed-by: Matt Caswell <matt@openssl.org>
* Configuration: Simplify the way vms information is retrievedRichard Levitte2016-04-131-41/+44
| | | | Reviewed-by: Matt Caswell <matt@openssl.org>
* Fix zlib configuration options.Richard Levitte2016-04-131-4/+48
| | | | | | | | | | | | | | | | | | | The macros ZLIB and ZLIB_SHARED weren't appropriately defined, deviating wrongly from how they worked in earlier OpenSSL versions. So, restore it so that ZLIB is defined if configured "enable-zlib" and so that ZLIB and ZLIB_SHARED are defined if configured "enable-zlib-dynamic". Additionally, correct the interpretation of the --with-zlib-lib value on Windows and VMS, where it's used to indicate the actual zlib zlib library file / logical name, as that can differ depending on zlib version and packaging on those platforms. Finally for Windows and VMS, we also define the macro LIBZ with that file name / logical name when configured "zlib-dynamic", so the compression unit can pick it up and use it. Reviewed-by: Matt Caswell <matt@openssl.org>
* Clean-up *_DEBUG options.Andy Polyakov2016-04-071-6/+5
| | | | | | | | | Since NDEBUG is defined unconditionally on command line for release builds, we can omit *_DEBUG options in favour of effective "all-on" in debug builds exercised though CI. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Emilia Käsper <emilia@openssl.org>
* Configurations/10-main.conf: omit now redundant -D_WINDLL.Andy Polyakov2016-04-071-7/+19
| | | | | | ... and refine /MT vs. /MD flag handling. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Force argv to be an array of long pointers on VMSRichard Levitte2016-04-011-2/+2
| | | | | | | | | | | | Reverts commit 087ca80ad83071dde0bb6bc1c28c743caa00eaf8 Instead of battling the odd format of argv given to main() in default P64 mode, tell the compiler to make it an array of 64-bit pointers when compiling in P64 mode. A note is added in NOTES.VMS regarding minimum DEC C version. Reviewed-by: Andy Polyakov <appro@openssl.org>
* Config: The cflags in vms-alpha and vms-ia64 have to be addedRichard Levitte2016-03-291-8/+8
| | | | | | "vms-generic" already has some values, which were discarded. Reviewed-by: Rich Salz <rsalz@openssl.org>
* VMS: Disable the warning MAYLOSEDATA3Richard Levitte2016-03-291-12/+58
| | | | | | | | | | | | | | | | | | The warning MAYLOSEDATA3 is one you will always get when compiling source that calculates the difference between two pointers with /POINTER_SIZE=64. The reason is quite simple, ptrdiff_t is always a 32-bit integer regardless of pointer size, so the result of 'ptr1 - ptr2' can potentially be larger than a 32-bit integer. The compiler simply warns you of that possibility. However, we only use pointer difference within objects and strings, all of them well within 2^32 bytes in size, so that operation is harmless with our source, and we can therefore safely turn off that warning. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Windows build system: fix 32-bit appveyor build.Andy Polyakov2016-03-291-1/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Build system: VC-WIN64I fixups.Andy Polyakov2016-03-291-1/+4
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Small fixups in DSORichard Levitte2016-03-231-0/+1
| | | | | | | - VMS configs had no dso_scheme - Incorrect return of NULL method. Reviewed-by: Tim Hudson <tjh@openssl.org>
* Downcase VMS config namesRichard Levitte2016-03-211-4/+4
| | | | | | | | On VMS, we downcase option names, which means that config names are downcased as well, so they need to be downcased in the target table to be found. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Build system: VC-WIN64I fixups.Andy Polyakov2016-03-211-1/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Windows build system: get uplink right.Andy Polyakov2016-03-211-4/+7
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Configurations/10-main.conf: freeze -std option in darwin*-ppc-cc.Andy Polyakov2016-03-211-2/+5
| | | | | | RT#4422 Reviewed-by: Richard Levitte <levitte@openssl.org>
* Remove generation of ms/version32.rc from Configure, use util/mkrc.plRichard Levitte2016-03-211-0/+2
| | | | | | | | | utils/mkrc.pl was added a while ago as a better generator for the Windows DLL resource file. Finalize the change by removing the ms/version32.rc generator from Configure and adding resource file support using mkrc.pl in Configurations/windows-makefile.pl Reviewed-by: Andy Polyakov <appro@openssl.org>
* Make picker, thread and combine standard config helper functionsRichard Levitte2016-03-171-16/+0
| | | | | | Document them as well Reviewed-by: Andy Polyakov <appro@openssl.org>
* Remove Netware and OS/2Rich Salz2016-03-171-57/+0
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Remove ultrix/mips support.Rich Salz2016-03-171-17/+0
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Remove support for Borland C++Richard Levitte2016-03-171-10/+0
| | | | | | | Borland C++ 4.5 is very old and our "support" for it is already non-existent, we might as well remove it. Reviewed-by: Rich Salz <rsalz@openssl.org>
* DLL object files should not be built with /Zl"Richard Levitte2016-03-161-1/+3
| | | | | | When building the DLLs, we depend on the correct default C RTL info. Reviewed-by: Matt Caswell <matt@openssl.org>
* poly1305/asm/poly1305-x86_64.pl: make it work with linux-x32.Andy Polyakov2016-03-151-1/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Cygwin configs were missing thread_scheme settings, add themRichard Levitte2016-03-151-0/+2
| | | | Reviewed-by: Matt Caswell <matt@openssl.org>
* s390x assembly pack: 32-bit fixups.Andy Polyakov2016-03-141-1/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Fix a few Configure errorsRichard Levitte2016-03-141-6/+7
| | | | Reviewed-by: Andy Polyakov <appro@openssl.org>
* Unified - extract settings from util/pl/VC-32.pl and make the config settingsRichard Levitte2016-03-091-23/+189
| | | | | | | | | | | This introduces the settings loutflag and aroutflag, because different Windows tools that do the same thing have different ways to specify the output file. The Borland C++ config is commented away for the monent, perhaps permanently. Reviewed-by: Rich Salz <rsalz@openssl.org>
* No -fno-common for DarwinRichard Levitte2016-03-051-1/+2
| | | | | | | | | | | | | | | | | | | | | When object files with common block symbols are added to static libraries on Darwin, those symbols are invisible to the linker that tries to use them. Our solution was to use -fno-common when compiling C source. Unfortunately, there is assembler code that defines OPENSSL_ia32cap_P as a common block symbol, unconditionally, and in some cases, there is no other definition. -fno-common doesn't help in this case. However, 'ranlib -c' adds common block symbols to the index of the static library, which makes them visible to the linker using it, and that solves the problem we've seen. The common conclusion is, either use -fno-common or ranlib -c on Darwin. Since we have common block symbols unconditionally, choosing the method for our source is easy. Reviewed-by: Kurt Roeckx <kurt@openssl.org>
* Configure - Get rid of the special thread_cflag, replace with thread_schemeRichard Levitte2016-03-021-146/+190
| | | | | | | | | | | | | | | | | | | | | | | The thread_cflag setting filled a double role, as kinda sorta an indicator of thread scheme, and as cflags. Some configs also added lflags and ex_libs for multithreading regardless of if threading would be enabled or not. Instead of this, add threading cflags among in the cflag setting, threading lflags in the lflag setting and so on if and only if threads are enabled (which they are by default). Also, for configs where there are no special cflags for threading (the VMS configs are of that kind), this makes it possible to still clearly mention what thread scheme is used. The exact value of thread scheme is currently ignored except when it's "(unknown)", and thereby only serves as a flag to tell if we know how to build for multi-threading in a particular config. Yet, the currently used values are "(unknown)", "pthreads", "uithreads" (a.k.a solaris threads) and "winthreads". Reviewed-by: Andy Polyakov <appro@openssl.org>
* Configure - get rid of the special debug_ and release_ settingsRichard Levitte2016-03-021-149/+154
| | | | | | | | | | | | | | Instead, make the build type ("debug" or "release") available through $config{build_type} and let the configs themselves figure out what the usual settings (such as "cflags", "lflags" and so on) should be accordingly. The benefit with this is that we can now have debug and release variants of any setting, not just those Configure supports, and may also involve other factors (the MSVC flags /MD[d] and /MT[d] involve both build type and whether threading is enabled or not) Reviewed-by: Andy Polyakov <appro@openssl.org>
* Configure - move the addition of the zlib / libz lib to configsRichard Levitte2016-03-021-34/+36
| | | | | | | | | | | | | | Configure had the Unix centric addition of -lz when linking with zlib is enabled, which doesn't work on other platforms. Therefore, we move it to the BASE_unix config template and add corresponding ones in the other BASE_* config templates. The Windows one is probably incomplete, but that doesn't matter for the moment, as mk1mf does it's own thing anyway. This required making the %withargs table global, so perl snippets in the configs can use it. Reviewed-by: Andy Polyakov <appro@openssl.org>
* Configure - Rename BASE to DEFAULTS and add a few inheritable BASEsRichard Levitte2016-03-021-43/+84
| | | | | | | | | | These BASE templates are intended to hold values that are common for all configuration variants for whole families of configurations. So far, three "families" are identified: Unix, Windows and VMS, mostly characterised by the build system they currently use. Reviewed-by: Andy Polyakov <appro@openssl.org>
* Add a shared_target to the VC-common configRichard Levitte2016-03-021-0/+1
| | | | | | | This has no real meaning, except it gives Configure a hint that VC targets are indeed capable of producing shared objects. Reviewed-by: Matt Caswell <matt@openssl.org>
* GH753: More spelling fixFdaSilvaYY2016-02-271-2/+2
| | | | | Signed-off-by: Rich Salz <rsalz@akamai.com> Reviewed-by: Kurt Roeckx <kurt@openssl.org>
* Remove comments saying you must do 'make -f Makefile.in TABLE'Richard Levitte2016-02-261-4/+0
| | | | | | | Since the configs were remade into hash tables, this isn't needed any more. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Configure - neater looking add() and add_before()Richard Levitte2016-02-261-26/+26
| | | | | | | | | | | They now default to " " as separator, but that can be overridden by having a hash with parameters as last argument. The only currently recognised parameter is `separator'. The special separator `undef' will force the result to become a list rather than a concatenated string. Reviewed-by: Andy Polyakov <appro@openssl.org>
* Remove all -march= from configsRichard Levitte2016-02-231-10/+6
| | | | | | | | | | | These flags are limitting needlessly, are often patched by packagers, and should be specified on the configuration command line by anyone who desires for it to be specific rather than forced by us. This work was already done with mingw when those configs were worked on, now it gets applied to the remaining configs. Reviewed-by: Andy Polyakov <appro@openssl.org>