aboutsummaryrefslogtreecommitdiffstats
path: root/Configurations/descrip.mms.tmpl
Commit message (Collapse)AuthorAgeFilesLines
* VMS: Fix the passing of cflags for things not being installedRichard Levitte2017-04-181-6/+6
| | | | | | | | | | | 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)
* 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-151-3/+6
| | | | | | | | | | | | | 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-141-6/+6
| | | | | | | | | 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)
* Building: make it possible to force linking with static OpenSSL libsRichard Levitte2016-11-101-9/+14
| | | | | | | | | 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)
* 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)
* Enable memory debugging while testingRichard Levitte2016-11-031-0/+2
| | | | | | | | | Pre 1.1.0, 'make test' would set the environment variable OPENSSL_DEBUG_MEMORY to "on". This got lost when translating the old build files to the new templates. This changes reintroduces that variable. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1840)
* VMS: ignore multiply defined symbols when linking programsRichard Levitte2016-11-031-1/+34
| | | | | | | | | | | | | | The Unix and Windows linkers appear to simply ignore if any symbol is defined multiple times in different object files and libraries. The VMS linker, on the other hand, warns about it, loud and clear. It will still create the executable, but does so screaming. So we complicate things by saving the linker output, look through all the errors and warnings, and if they are only made up of %LINK-W-MULDEF, we let it pass, otherwise we output the linker output and raise the same exit code we got from the linker. Reviewed-by: Emilia Käsper <emilia@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1789)
* 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-171-1/+1
| | | | | | 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-161-1/+1
| | | | Reviewed-by: Andy Polyakov <appro@openssl.org>
* Use the registered conf file names as dependencies to build configdata.pmRichard Levitte2016-09-161-1/+1
| | | | Reviewed-by: Andy Polyakov <appro@openssl.org>
* GH1536: Install empty CT log listRich Salz2016-09-141-0/+6
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* VMS: Use different C flags for programs that aren't to be installedRichard Levitte2016-09-091-3/+13
| | | | | | | | | | | | | | | 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>
* 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>
* 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-021-2/+5
| | | | | | | | | | 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>
* 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-201-1/+8
| | | | | | | | 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-181-14/+10
| | | | | | | 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-181-5/+9
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* VMS: Adjust the engines directory by adding the pointer size to its nameRichard Levitte2016-07-101-3/+3
| | | | | | | | | With OpenSSL 1.1 and on, the engines are tightly tied to the shared library they're to be used with. That makes them depend on the pointer size as well as the shared library version, and this gets reflected in the name of the directory they're installed in. Reviewed-by: Rich Salz <rsalz@openssl.org>
* VMS: Small cleanupsRichard Levitte2016-07-101-1/+0
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* VMS: Present OPENSSLDIR according to the VMS setup.Richard Levitte2016-07-101-3/+5
| | | | | | | This mostly affects 'openssl version -a', which might as well display what we're actually looking at. Reviewed-by: Rich Salz <rsalz@openssl.org>
* VMS: correct post-install instructionsRichard Levitte2016-07-071-2/+2
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Versioning engines default location: the VMS caseRichard Levitte2016-07-071-16/+22
| | | | | | | | | | | | | | | | | | OpenSSL engines are tied to the OpenSSL shared library versions, starting with OpenSSL 1.1. We therefore need to install them in directories which have the shared library version in it's name, to easily allow multiple OpenSSL versions to be installed at the same time. For VMS, the change is a bit more involved, primarly because the top installation directory was already versioned, *as well as* some of the files inside. That's a bit too much. Version numbering in files is also a bit different on VMS. The engines for shared library version 1.1 will therefore end up in OSSL$INSTROOT:[ENGINES0101.'arch'] ('arch' is the architecture we build for) Reviewed-by: Rich Salz <rsalz@openssl.org>
* Make 'build_libs' build shared libraries as wellRichard Levitte2016-07-061-1/+1
| | | | Reviewed-by: Matt Caswell <matt@openssl.org>
* VMS: make sure there's a file extension when creating filesRichard Levitte2016-07-061-1/+1
| | | | | | | | When creating the library $lib.olb, make sure the extension is there. Otherwise, a logical name with the same name as the file in question will redirect the creation elsewhere. Reviewed-by: Tim Hudson <tjh@openssl.org>
* VMS: Add installation verification procedureRichard Levitte2016-07-021-2/+15
| | | | | | | | | | | On VMS, it's customary to have a procedure to check that the software was installed correctly and can run as advertised. The procedure added here is fairly simple, it checks that all libraries are in place, that the header crypto.h is in place, and that the command 'openssl version -a' runs without trouble. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Fix some VMS inconsistenciesRichard Levitte2016-07-021-8/+4
| | | | | | | | | | | | - The install top is versioned by default. However, only the major version should be used. - the default areas for certs, private keys an config files have changed, now all prefixed with 'OSSL$'. This gets reflected in cryptlib.h. - [.VMS]openssl_startup.com.in had some faults regarding creating rooted concealed logical names. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Install the openssl app with version number on VMSRichard Levitte2016-07-021-5/+10
| | | | | | | | This makes it possible for script writers to lock on to a specific version if they need to. Note that only the major version number is used. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Have the VMS shared library file names contain the shared versionRichard Levitte2016-07-021-1/+1
| | | | | | | Also, have the static library file names contain the pointer size when applicable. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Pass down correct information to the VMS startup script templatesRichard Levitte2016-07-021-9/+5
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Harmonise the different build filesRichard Levitte2016-06-171-66/+85
| | | | | | | | | - User targets are now the same and generally do the same things - configdata.pm depends on exactly the same files on all platforms - VMS production of shared libraries is simplified - VMS automatic dependency files get the extension .D rather than .MMS Reviewed-by: Rich Salz <rsalz@openssl.org>
* VMS: use BLDDIR rather than BUILDDIR in descrip.mms.tmplRichard Levitte2016-06-141-3/+3
| | | | | | Just like in the other build file templates Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add a developer target 'build_generated' to rebuild mandatory headersRichard Levitte2016-06-141-6/+8
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Build file templates: make sure to depend on generated header filesRichard Levitte2016-06-141-7/+25
| | | | | | As well as properly generating those that are made from .in files. Reviewed-by: Rich Salz <rsalz@openssl.org>
* VMS: show the ossl_dataroot logical as well when doing "mms debug_logicals"Richard Levitte2016-05-231-3/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Install the scripts the same way on Windows and VMS as on UnixRichard Levitte2016-05-231-3/+8
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Make sure tsget.pl and c_rehash.pl get installed on VMS and Windows.Richard Levitte2016-05-231-1/+2
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Use the process_docs script to install docs on Windows and VMSRichard Levitte2016-05-191-0/+4
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* openssl_{startup,shutdown}.com.in are in the source directoryRichard Levitte2016-05-141-2/+2
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Have [.VMS]openssl_{startup,shutdown}.com depend on respective *.inRichard Levitte2016-05-101-2/+2
| | | | Reviewed-by: Andy Polyakov <appro@openssl.org>
* Fix VMS/openssl_{startup,shutddown}.com.inRichard Levitte2016-05-101-1/+4
| | | | | | They were using the wrong variables. Reviewed-by: Andy Polyakov <appro@openssl.org>
* VMS: support VERBOSE and V in descrip.mmsRichard Levitte2016-05-091-0/+5
| | | | | | | | | With Unixly Makefiles as well as with nmake, make variables are transferred to the shell running the commands as envinronment variables. This principle doesn't apply with MMS, so we must explicitely define VERBOSE as commands when it's needed. Reviewed-by: Rich Salz <rsalz@openssl.org>
* VMS: only explicitely translate names in library C files.Richard Levitte2016-04-291-1/+7
| | | | | | | | 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>