Move libdb2 makefile stuff down into db2 module subtree.
authorKen Raeburn <raeburn@mit.edu>
Wed, 5 Oct 2005 01:29:58 +0000 (01:29 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 5 Oct 2005 01:29:58 +0000 (01:29 +0000)
commit05103f7a0c61dbf937ec7e2264cb6cd966814ed6
tree3d2805947c5dbc91e18f3fe71dfa668046aec696
parent745cddfcd791359ff5ae5c2f33db3b196f6df481
Move libdb2 makefile stuff down into db2 module subtree.
Some steps towards making module build on Darwin, not there yet.

* aclocal.m4 (KRB5_BUILD_LIBRARY_WITH_DEPS): Substitute DYNOBJEXT and
MAKE_DYNOBJ_COMMAND.
(KRB5_LIB_AUX): Don't define _KDB5_STATIC_LINK.

* config/libnover.in (darwin.exports): New target.
($(LIBBASE)$(DYNOBJEXT)): New target, instead of $(LIBBASE)$(SHLIBVEXT).
(all-libs): Build $(LIBBASE)$(DYNOBJEXT).
(install-shared): Use DYNOBJEXT.

* config/pre.in (DYNOBJEXT, MAKE_DYNOBJ_COMMAND): New variables.
* config/shlib.conf: Set DYNOBJEXT, MAKE_DYNOBJ_COMMAND to the SHLIB versions.
For Darwin, set them to create a .so bundle, and set SHLIB_EXPORT_FILE_DEP to
darwin.exports.

* config/pre.in (DB_DEPLIB, DB_DEPLIB-k5, DB_DEPLIB-sys, DB_VERSION, DB_DEPS,
DB_DEPS-sys, DB_DEPS-k5, DB_DEPS-redirect, DB_LIB, KDB5_DB_LIB): Variables
deleted.
(KDB5_LIBS): Set to just $(KDB5_LIB).

* modules/kdb/db2/Makefile.in (DB_VERSION, DB_DEPS, DB_DEPS-sys, DB_DEPS-k5,
DB_DEPS-redirect, DB_LIB, KDB5_DB_LIB, DB_DEPLIB, DB_DEPLIB-k5, DB_DEPLIB-sys):
Variable definitions moved here from config/pre.in.
(SHLIB_EXPLIBS): Only use gssrpc and KDB5_DB_LIB.

* modules/kdb/db2/libdb2/test/Makefile.in (DB_LIB, DB_DEPLIB): Define here now.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17408 dc483132-0cff-0310-8789-dd5450dbe970
src/ChangeLog
src/aclocal.m4
src/config/ChangeLog
src/config/libnover.in
src/config/pre.in
src/config/shlib.conf
src/modules/kdb/db2/ChangeLog
src/modules/kdb/db2/Makefile.in
src/modules/kdb/db2/libdb2/test/ChangeLog
src/modules/kdb/db2/libdb2/test/Makefile.in