Andy Polyakov
15fd2de37c
hpux-shared rules to cover even for GNU ld.
2004-05-28 22:38:05 +00:00
Andy Polyakov
1a83c37294
Unified hpux-shared rule. Verified with both 32- and 64-bit builds and
...
both vendor and GNU compilers. ./engine shared build are still busted.
I mean always were...
2004-05-28 22:18:48 +00:00
Andy Polyakov
2bbc970e10
Attempt to unify hpux-shared rules. More adjustments might be required
...
after more tests...
2004-05-27 22:23:40 +00:00
Andy Polyakov
30fbcaa213
IRIX 6.x shared build fix-up.
...
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.
2004-03-12 21:52:54 +00:00
Richard Levitte
a109220107
Correct a few typos.
...
It seems that svr3 and svr5 differ, after all.
2003-04-08 09:27:43 +00:00
Richard Levitte
4a4a04622e
A single quote too many.
2003-04-08 08:58:56 +00:00
Richard Levitte
d6fd88fffd
I forgot to continuation mark.
2003-04-08 08:57:23 +00:00
Richard Levitte
e96133e4cf
It seems like OpenUnix's ld uses LD_LIBRARY_PATH to search for
...
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-08 08:36:20 +00:00
Richard Levitte
24692fc5d7
It seems like gcc-drivven shared library building on OpenUnix 8 requires
...
-shared rather than -G.
2003-04-01 10:59:15 +00:00
Richard Levitte
132eaa59da
Allow building applications against static libraries with Makefile.shared.
2003-02-22 14:41:34 +00:00
Richard Levitte
2d3de726c5
Add full support for -rpath/-R, both in shared libraries and
...
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.
2003-02-13 23:52:54 +00:00
Richard Levitte
f968059c67
To avoid any future programming glitches, let's make each and every
...
assignment (modulo those I missed) individual statements.
2002-12-19 21:13:29 +00:00
Andy Polyakov
62966f3829
'a=b c=$a; echo $c' doesn't necessarily prints "b", '' vs. "", $s in
...
Makefiles... I suppose it wasn't tested very much...
2002-12-16 23:35:17 +00:00
Richard Levitte
c445142505
Transfer the Solaris shared library building changes from
...
0.9.7-stable.
2002-12-16 20:33:38 +00:00
Andy Polyakov
0654bba39f
Solaris shared build fix-ups. See RT#238,239 for details.
2002-12-14 21:46:46 +00:00
Andy Polyakov
4d77d5b316
New DETECT_GNU_LD procedure.
2002-12-14 20:52:19 +00:00
Richard Levitte
bfa96bc20e
Add the INHIBIT_SYMLINKS flag variable to help Cygwin.
...
Add missing semicolons.
Add a comment explaining a bunch of targets without any action lines.
2002-11-15 16:56:36 +00:00
Richard Levitte
8d6fc30bc7
Keep on using ${CC}, since gcc may act in disguise.
2002-11-06 23:39:03 +00:00
Richard Levitte
871d0f5126
Eh, -Wl,--whole-archive disappeared from the GNU targets. I've no
...
idea why, but that was definitely wrong...
2002-10-16 22:44:52 +00:00
Richard Levitte
12fd8be2c4
A much better idea, of course, is not to do a submake at all...
2002-10-15 12:09:22 +00:00
Richard Levitte
a0bf8f2008
Add missing quotes.
...
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-14 09:24:50 +00:00
Richard Levitte
408bf2f0c4
Targeting the solaris platform for specific tests. Something is going
...
wrong, and my test engine doesn't show it. The verbosity will be
temporary for about a day.
2002-10-13 22:57:51 +00:00
Richard Levitte
90d9a69bb1
Chase down the missing backslashes.
2002-10-12 09:16:10 +00:00
Richard Levitte
36757b4438
For the platforms where version info is inserted separately into the
...
shared library, set those flags conditionally.
2002-10-11 19:56:57 +00:00
Richard Levitte
cf3b8b52f1
Make sure it's properly detected when there's no version information
...
at all, and in all other cases, make sure foo.so is linked to
foo.so.{soversion}.
2002-10-11 11:14:41 +00:00
Richard Levitte
c199837c54
Fix inconsistencies in the Darwin targets.
...
Add a variant of SHLIB_SOVER without the preceding period.
2002-10-11 08:45:42 +00:00
Richard Levitte
83699c4784
Add a suffix for Darwin's sake, since it seems like .dylib comes after
...
the version in the file name.
2002-10-11 07:33:38 +00:00
Richard Levitte
30afcc072a
Move the shared library construction stuff to Makefile.shared, a
...
helper makefile that generalises our way of building shared libraries
and is designed to take care of almost anything (I hope).
2002-10-11 00:37:11 +00:00