summaryrefslogtreecommitdiffstats
path: root/Configurations/descrip.mms.tmpl
AgeCommit message (Collapse)Author
2016-03-29VMS: Display the correct path to openssl_startup.com and openssl-utils.comRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-24VMS: $? might be huge enough to break line length limit, so don't print itRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-24VMS: install openssl.conf in OPENSSLDIR, not INSTALLTOPRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-24VMS: have mms ignore creation of already existing dirsRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-24VMS: Rethink the staging directoryRichard Levitte
On Windows and Unix, the staging directory $(DESTDIR) can simply be prepended to the installation directory. An attempt was made to do something similar on VMS, but that ended up being a half measure solution. Instead of that, simply use the staging directory as a prefix under which [.OPENSSL-INSTALL] and [.OPENSSL-COMMON] will hold the two directory trees that should end up in the directories indicated by --prefix and --openssldir, and finish the installation with appropriate instructions on what to do next. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-24Adjust some default installation directoriesRichard Levitte
- on VMS, SYS$COMMON:[SSL] is already used as installation directory by HP SSL, so we make our default for --openssldir SYS$COMMON:[OPENSSL-COMMON] instead. - Updated notes on default installation dirs fir Unix and Windows Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-23VMS: compensate for command line length limits with a logical nameRichard Levitte
Sometimes, you might end up with a rather long compile line due to excessively long /INCLUDE directories. Compensate for it by making a temporary logical name with them and using said logical name as /INCLUDE argument. A note was added to NOTES.VMS regarding these limitations. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Use the dependencies received in generatesrc()Richard Levitte
generatesrc() did already receive dependency information, but never used it, and never really needed to... until now. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-17Don't define OPENSSL_ENGINES in test recipes, do it in Makefiles insteadRichard Levitte
In most builds, we can assume that engines live in the build tree subdirectory "engines". This was hard coded into the tests that use the engine ossltest. However, that hard coding is tedious, it would need to be done in every test recipe, and it's an incorrect assumption in some cases. This change has us play it safe and let the build files tell the testing framework where the engines are. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-03-09Because crypto/build.info demands CFLAGS_Q, descrip.mms.tmpl must deliverRichard Levitte
Reviewed-by: Andy Polyakov <appro@openssl.org>
2016-03-09Add missing semiRichard Levitte
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-03-09Adapt descrip.mms.tmpl to 'no-makedepend'Richard Levitte
VMS doesn't have "makedepend" anyway, so this is just a matter of using the right qualifiers when 'makedepend' is enabled. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-07Unified - Adapt the Unix and VMS templates to support GENERATERichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-02Don't copy from %target to %config so much, see %config as a complementRichard Levitte
We copied $target{cflags}, $target{defines} and a few more to %config, just to add to the entries. Avoid doing so, and let the build templates deal with combining the two. There are a few cases where we still fiddle with %target, but that's acceptable. Reviewed-by: Andy Polyakov <appro@openssl.org>
2016-03-02Minimize copied config settingsRichard Levitte
$target{lflags} and $target{plib_flag} were copied to %config for no good reason. Reviewed-by: Andy Polyakov <appro@openssl.org>
2016-03-01Unified - have configdata.pm depend on a few more thingsRichard Levitte
Reviewed-by: Andy Polyakov <appro@openssl.org>
2016-02-28VMS - don't exit out of a MMS recipeRichard Levitte
Exiting out of a recipe more than necessary leaves an ugly message. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-28Make generation of dependency files more efficient when possibleRichard Levitte
When building with GNU C, clang or VMS C, it's more efficient to generate dependency file and object file in one call rather than two. Have the dependency output in a temporary file and compare it with the previous one if available to see if replacement is waranted, thereby avoiding unnecessary reconstruction of Makefile / descrip.mms. Github issue #750 Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-27Remove some old files.Rich Salz
I read the PROBLEMS, and they're outdated; nothing I'd put in the online FAQ, for example. Test-builds work without using these files. Had to remove the rehash.time stuff from Makefile.in Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-02-26Public API for Certificate TransparencyRob Percival
Reviewed-by: Ben Laurie <ben@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-26Unified on VMS - add %disabled in vmsconfig.pm (util/dofile.pl demands it)Richard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-22Clean away $config{no_shared} since we have $disabled{shared}Richard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-20Unified on VMS - install dynamic engines if there are anyRichard Levitte
Don't check for no_shared Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-20VMS static libraries have the extension .OLB, not .LIBRichard Levitte
Object LiBrary Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-19Small rename fest in unified, obj2dynlib -> obj2dsoRichard Levitte
Since we're using the acronym DSO everywhere else and that's a common name for that kind of object, we might as well do so here as well. Reviewed-by: Andy Polyakov <appro@openssl.org>
2016-02-19VMS fixed in unified buildRichard Levitte
- install_sw had a display of text that belongs under the install target - previous layout installed architecture dependent files in dev:['prefix'.'arch'.LIB], dev:['prefix'.'arch'.EXE] and dev:['prefix'.'arch'.ENGINES]. Changed to dev:['prefix'.LIB.'arch'], dev:['prefix'.EXE.'arch'] and dev:['prefix'.ENGINES.'arch'] instead. Reviewed-by: Andy Polyakov <appro@openssl.org>
2016-02-19VMS: rather use a quick file comparison than DIFFRichard Levitte
VMS DIFF tries to calculate all the differences, which is slower than just reading the files and stopping at the first difference. The latter doesn't exist as a command, so the problem is solved with perl and File::Compare (has been in core perl since very early version 5). Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-02-19VMS: produce dependency files just like you produce object filesRichard Levitte
We need to do the same dance as when object files are created. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-02-19Fix casing on VMSRichard Levitte
DCL may be in extended parsing style, which makes it less case insensitive, so when removing a string from another, make sure to get casing correctly. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-02-19Don't use config.timestamp, we already have configdata.pmRichard Levitte
The benefit with using configdata.pm is that Configure writes it for us. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-02-18Automatic 'make depend' for the unified build schemeRichard Levitte
This isn't the fully featured combination of compiler generated dependency files and Makefile include directives, but a cheaper variant of the same. The dependency files are generated automatically, but then we have the usual "depend" target. However, we depend on it in the bigger phony targets that are the most likely to be used. That make this feature automatic enough. A side effect is that we can't use the build file's timestamp to check if reconfiguring might be in order. In its place, we use a flag file that depends on Configure and the build file template and depend on it in spots where it makes sense to check for the need to reconfigure. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-18Don't treat .d (depend) files separately from object filesRichard Levitte
.d (.MMS in the VMS world) files with just dependencies are built from exactly the same conditions as the object files. Therefore, the rules for them can be built at the same time as the rules for the corresponding object files. This removes the requirement for a src2dep function in the build file templates, and for common.tmpl to call it. In the end, the existence of depend files is entirely up to the build file. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-15Address comments.Ben Laurie
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-02-14Have dofile.pl say where it was run, for real this timeRichard Levitte
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-02-14Have dofile.pl say where it was runRichard Levitte
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-02-13Don't build test programs by default, add convenience targets for unified buildRichard Levitte
Test programs are now only built when running "make test" or "make build_tests". Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-13In templates, output_on() must be used the same way as output_off()Richard Levitte
Otherwise, there will be an unbalance. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-12Unified build - fix make dependRichard Levitte
There was a catch 22, where 'make depend' directly after configuring in an otherwise pristine build tree would fail because buildinf.h didn't exist yet. This change has the depend building targets depend on the same other targets as the object file building targets, so the generation of buildinf.h and similar files would kick in during 'make depend'. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-12Rename INSTALL_PREFIX to DESTDIR, remove option --install_prefixRichard Levitte
INSTALL_PREFIX is a confusing name, as there's also --prefix. Instead, tag along with the rest of the open source world and adopt the Makefile variable DESTDIR to designate the desired staging directory. The Configure option --install_prefix is removed, the only way to designate a staging directory is with the Makefile variable (this is also implemented for VMS' descrip.mms et al). Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-10unified build scheme: add a "unified" template for VMS descrip.mmsRichard Levitte
As part of this, change util/mkdef.pl to stop adding libraries to depend on in its output. mkdef.pl should ONLY output a symbol vector. Because symbol names can't be longer than 31 characters, we use the compiler to shorten those that are longer down to 23 characters plus an 8 character CRC. To make sure users of our header files will pick up on that automatically, add the DEC C supported extra headers files __decc_include_prologue.h and __decc_include_epilogue.h. Furthermore, we add a config.com, so VMS people can configure just as comfortably as any Unix folks, thusly: @config Reviewed-by: Rich Salz <rsalz@openssl.org>