summaryrefslogtreecommitdiffstats
path: root/Makefile.shared
AgeCommit message (Collapse)Author
2005-04-13Parameterize do_solaris rules in Makefile.shared.Andy Polyakov
2005-04-04Extend Solaris x86 support to amd64.Andy Polyakov
2005-03-31Get rid of irritating noise.Ben Laurie
2005-02-06Make Makefile.shared BSD make-friendly, remove more redundant -lc, set upAndy Polyakov
OBJECT_MODE for AIX.
2005-02-03Drop redundant -lc from a number of rules in Makefile.shared. It'sAndy Polyakov
perfectly safe [compiler driver adds it] and in some situation even perfectly appropriate [mixing -pthread and -lc on FreeBSD can have lethal effect on apps/openssl]. I'd say we should get rid of more, but I remove those I can test myself...
2005-01-26The mix of CFLAGS and LDFLAGS is a bit confusing in my opinion, andRichard Levitte
Makefile.shared was a bit overcomplicated. Make the shell variables LDFLAGS and SHAREDFLAGS in Makefile.shared get the values of $(CFLAGS) or $(LDFLAGS) as appropriate depending on the value the shell variables LDCMD and SHAREDCMD get. That leaves much less chance of confusion, since those pairs of shell variables always are defined together.
2004-12-27As new major IRIX release is highly unlikely to appear [and break following],Andy Polyakov
I change from -notall to -none synonym in irix rules to improve backward compatibility with IRIX 5.x. PR: 987
2004-09-28Fix Solaris 10_x86 shared build. -Bsymbolic is required to avoidAndy Polyakov
"remaining relocations" in assembler modules. The latter seems to be new behaviour, elder as/ld managed to resolve this relocations as internal. It's possible to address this problem differently, but I settle for -Bsymbolic... PR: 546
2004-08-29Proper support for OpenBSD-i386 shared build, including assember modules!Andy Polyakov
"Proper" means "compiles and passes test." Versioning is broken (I think).
2004-08-01Clean-up GAS targets: get rid of "cpp" stuff and replace it with "purified"Andy Polyakov
COFF and a.out targets [similar to ELF targets]. You might notice some rudementary support for shared mingw builds under cygwin. It works (it produces cryptoeay32.dll and ssleay32.dll with everything exported by name), but it's primarily for testing/debugging purposes, at least for now...
2004-07-24Minor HP-UX make update. IA-64-based HP-UX favor .so extension for sharedAndy Polyakov
libraries. Old .sl extension works just fine, but it .so which is default.
2004-07-18Add anchors for AES, SHA-256/-512 assembler modules and SSE2 code pathes.Andy Polyakov
I also used this opportunity to clean up some out-of-date targets and re-group targets by OS.
2004-05-31Minimal work-around for ./engine shared builds. "Minimal" means that IAndy Polyakov
think that proper Makefile clean-up is required.
2004-05-3132-bit PA-RISC requires -Bsymbolic when linking libcrypto.sl. WithoutAndy Polyakov
this flag RAND_poll ends up in end-less loop calling RAND_add. But don't ask me why...
2004-05-31Working on HP-UX shared support...Andy Polyakov
2004-05-28hpux-shared rules to cover even for GNU ld.Andy Polyakov
2004-05-28Unified hpux-shared rule. Verified with both 32- and 64-bit builds andAndy Polyakov
both vendor and GNU compilers. ./engine shared build are still busted. I mean always were...
2004-05-27Attempt to unify hpux-shared rules. More adjustments might be requiredAndy Polyakov
after more tests...
2004-03-12IRIX 6.x shared build fix-up.Andy Polyakov
For reference. Note that both cc and gcc support -Wl flag, but we can't use -Wl,-[not]all with both drivers, because cc rearranges options passed through -Wl. We can't use -Wl,-all,libcrypto.a,-notall with cc either, because it refuses to start with "no input" error.
2003-04-08Correct a few typos.Richard Levitte
It seems that svr3 and svr5 differ, after all.
2003-04-08A single quote too many.Richard Levitte
2003-04-08I forgot to continuation mark.Richard Levitte
2003-04-08It seems like OpenUnix's ld uses LD_LIBRARY_PATH to search forRichard Levitte
libraries. What's worse, the directories given in LD_LIBRARY_PATH are checked first! Therefore, we need a hack to prepend all the directories we give with -L to the current value of LD_LIBRARY_PATH, thereby temporarly forming a hacked value. Only copy LIBEXTRAS if they are given. Svr5 doesn't use -z allextract...
2003-04-01It seems like gcc-drivven shared library building on OpenUnix 8 requiresRichard Levitte
-shared rather than -G.
2003-02-22Allow building applications against static libraries with Makefile.shared.Richard Levitte
2003-02-13Add full support for -rpath/-R, both in shared libraries andRichard Levitte
applications, at least on the platforms where it's known how to do it. Note: this has only been tested on GNU-based platforms (Linux), and needs to be tested on all others. Additionally, it's not yet supported on the following platforms, for lack of information: Darwin (MacOS X) Cygwin OSF1/Alpha SVR3 ReliantUNIX Please help out with testing and the platforms we don't yet know well enough.
2002-12-19To avoid any future programming glitches, let's make each and everyRichard Levitte
assignment (modulo those I missed) individual statements.
2002-12-16'a=b c=$a; echo $c' doesn't necessarily prints "b", '' vs. "", $s inAndy Polyakov
Makefiles... I suppose it wasn't tested very much...
2002-12-16Transfer the Solaris shared library building changes fromRichard Levitte
0.9.7-stable.
2002-12-14Solaris shared build fix-ups. See RT#238,239 for details.Andy Polyakov
2002-12-14New DETECT_GNU_LD procedure.Andy Polyakov
2002-11-15Add the INHIBIT_SYMLINKS flag variable to help Cygwin.Richard Levitte
Add missing semicolons. Add a comment explaining a bunch of targets without any action lines.
2002-11-06Keep on using ${CC}, since gcc may act in disguise.Richard Levitte
2002-10-16Eh, -Wl,--whole-archive disappeared from the GNU targets. I've noRichard Levitte
idea why, but that was definitely wrong...
2002-10-15A much better idea, of course, is not to do a submake at all...Richard Levitte
2002-10-14Add missing quotes.Richard Levitte
Make sure test doesn't barf because of missing spaces before the closing ]. Add -lc to the list of libraries we depend upon. Not always necessary, but never hurts.
2002-10-13Targeting the solaris platform for specific tests. Something is goingRichard Levitte
wrong, and my test engine doesn't show it. The verbosity will be temporary for about a day.
2002-10-12Chase down the missing backslashes.Richard Levitte
2002-10-11For the platforms where version info is inserted separately into theRichard Levitte
shared library, set those flags conditionally.
2002-10-11Make sure it's properly detected when there's no version informationRichard Levitte
at all, and in all other cases, make sure foo.so is linked to foo.so.{soversion}.
2002-10-11Fix inconsistencies in the Darwin targets.Richard Levitte
Add a variant of SHLIB_SOVER without the preceding period.
2002-10-11Add a suffix for Darwin's sake, since it seems like .dylib comes afterRichard Levitte
the version in the file name.
2002-10-11Move the shared library construction stuff to Makefile.shared, aRichard Levitte
helper makefile that generalises our way of building shared libraries and is designed to take care of almost anything (I hope).