Use more flexible command substitution for shared library generation, so we can
authorKen Raeburn <raeburn@mit.edu>
Fri, 23 Apr 2004 00:43:15 +0000 (00:43 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 23 Apr 2004 00:43:15 +0000 (00:43 +0000)
commita8a3c79930e4720ae57d1b598d3ad19e4de635af
tree6869545e0def375261fbcb3fa0287175c707b21b
parent3102b8cd0a7ef822229383951799867101a366f2
Use more flexible command substitution for shared library generation, so we can
dump makeshlib.sh.  Use the new saved export list files for AIX.

* aclocal.m4 (KRB5_BUILD_LIBRARY_WITH_DEPS): Substitute MAKE_SHLIB_COMMAND, not
LDCOMBINE and LDCOMBINE_TAIL.
* pre.in (DO_MAKE_SHLIB, SHLIB_STATIC_TARGET, LDCOMBINE, LDCOMBINE_TAIL):
Delete unused variables.
(SHLIB_EXPORT_FILE, SHLIB_EXPORT_FILE_DEP, MAKE_SHLIB_COMMAND): New variables.
* config/lib.in (lib$(LIB)$(SHLIBVEXT)): Set objlist to the list of object
files before invoking MAKE_SHLIB_COMMAND, instead of wrapping the list with
LDCOMBINE and LDCOMBINE_TAIL.  Depend on SHLIB_EXPORT_FILE_DEP.
* config/shlib.conf: Set MAKE_SHLIB_COMMAND, using LDCOMBINE and LDCOMBINE_TAIL
in the common case.
(case *-*-aix*): Specify new commands, taken from makeshlib.sh, but assume the
export list is provided externally.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16263 dc483132-0cff-0310-8789-dd5450dbe970
src/ChangeLog
src/aclocal.m4
src/config/ChangeLog
src/config/lib.in
src/config/pre.in
src/config/shlib.conf