summaryrefslogtreecommitdiffstats
path: root/src/config/lib.in
Commit message (Collapse)AuthorAgeFilesLines
* Merge from plugin branchKen Raeburn2006-03-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Add plugin support: - plugin routines in support library (may break windows build!) - plugin support in KDC location code - sample Python-based plugin for KDC location, not built without tweaking sources - changed service location interface to use an enum instead of passing profile string and DNS strings and port numbers - changed pathnames for plugin locations, including kdb back end - remove locate_service from accessor API Also, do build shared libraries for Darwin just like any other UNIX box. Not present yet: - use new plugin interface for kdb back end - Windows support - Mac bundle support (but dlopen support works) - search path for libkrb5 plugins (only one hard-coded directory for now) - sorting of plugin collections for predictable ordering See the various ChangeLogs for specifics. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17706 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in (binutils.versions): Put hidden symbol list after exported list,Ken Raeburn2006-01-251-3/+3
| | | | | | | because libkrb4 has a symbol starting with "__" in its export list. (osf1.exports): Rename file in a separate command. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17606 dc483132-0cff-0310-8789-dd5450dbe970
* * libnover.in (PARSE_OBJLISTS): Die on warnings (including input file not ↵Ken Raeburn2005-10-131-1/+1
| | | | | | | | found). * lib.in (PARSE_OBJLISTS): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17422 dc483132-0cff-0310-8789-dd5450dbe970
* Drop "lib" prefix from things intended to be dynamically loadedKen Raeburn2005-07-061-0/+2
| | | | | | | | | | | * lib.in (LIBPREFIX): New variable. * libnover.in (LIBPREFIX): New variable. (LIBLIST, $(LIBBASE)$(SHLIBVEXT), $(TOPLIBD)/$(LIBBASE)$(SHLIBEXT), clean-libs, install-shared): Drop "lib" from generated shared object name. * pre.in (SHLIB_EXPORT_FILE): Use $(LIBPREFIX). * shlib.conf: Use $(LIBPREFIX) in LDCOMBINE. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17293 dc483132-0cff-0310-8789-dd5450dbe970
* update commentsKen Raeburn2005-06-291-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17273 dc483132-0cff-0310-8789-dd5450dbe970
* shared library support for HP-UX 10Ken Raeburn2005-03-251-0/+12
| | | | | | | | | | | | | | | | | | | | | | | Our somewhat outdated HP-UX support (which was targeted at HP-UX 10, not 11) does not have support for shared library initialization and finalization functions, nor for shared library export lists. The former was causing compilation failures unless shared library support was disabled. * include/k5-platform.h: Expand on init/fini comments some more. (MAKE_FINI_FUNCTION): Add an HP-UX specific variant that defines an auxiliary function fitting the signature of HP-UX 10 library combined initializer/finalizer functions. * config/lib.in (hpux10.exports): New target, constructed similar to osf1.exports but with HP-UX 10.x linker options, no initializers, and "errno" explicitly added to the export list. * shlib.conf (*-*-hpux*): Combine PICFLAGS setting with SHLIB_EXPFLAGS and LDCOMBINE setting. Add linker option "-c hpux10.exports" to LDCOMBINE. Set SHLIB_EXPORT_FILE_DEP to hpux10.exports. Set use_linker_fini_option. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17153 dc483132-0cff-0310-8789-dd5450dbe970
* Build system support for a library having more than one init/fini symbolKen Raeburn2005-02-091-2/+15
| | | | | | | | | | | | | | | | | | | | | | defined, when using linker options to specify these functions. Now LIBINITFUNC/LIBFINIFUNC are considered lists of symbols, ordered from lowest-level (init run first, fini run last) to highest-level. * lib.in (config.status): Change target to be in $thisconfigdir rather than local. (osf1.exports): Create a temporary file then rename into place. Add options for library init/fini symbols, handling multiple values. * shlib.conf (case alpha*-dec-osf*): Don't handle init/fini symbols here. (case mips-sgi-irix*): Handle multiple init/fini symbols. Always set $initfini before it gets used. (case *-*-solaris*, not gcc): Handle multiple init/fini symbols. (case *-*-aix*): Handle multiple fini symbols. ticket: 2916 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17088 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in (binutils.versions, osf1.exports): New file targets.Ken Raeburn2004-09-231-0/+10
| | | | | | | | | | | (clean-libs): Delete them. * pre.in (SHLIB_EXPORT_FILE_DEP): Use @SHLIB_EXPORT_FILE_DEP@. * shlib.conf: Set it to $(SHLIB_EXPORT_FILE) by default. (alpha*-dec-osf*): Use osf1.exports instead of adding commands to generate a temporary file. (*-*-linux*, *-*-gnu*, *-*-k*bsd*-gnu): Use binutils.versions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16779 dc483132-0cff-0310-8789-dd5450dbe970
* Change all uses of LIB in UNIX makefiles to LIBBASE, for better WindowsKen Raeburn2004-06-041-44/+44
| | | | | | | | | compatibility. (Windows nmake exports make variables into the environment, and LIB is treated by the Windows linker as a search path for libraries, thus breaking the linking on Windows of anything needing libraries from the search path in directories where we build libraries on UNIX.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16411 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in (PARSE_OBJLISTS): New variable.Ken Raeburn2004-04-261-13/+6
| | | | | | (lib$(LIB)$(STLIBEXT), lib$(LIB)$(SHLIBVEXT), lib$(LIB)$(PFLIBEXT)): Use it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16275 dc483132-0cff-0310-8789-dd5450dbe970
* Start depending on perl for buildsKen Raeburn2004-04-241-6/+3
| | | | | | | | | * aclocal.m4 (KRB5_BUILD_LIBRARY_WITH_DEPS): Look for perl. * config/pre.in (PERL): New variable. * config/lib.in (lib$(LIB)$(SHLIBVEXT)): Use one perl invocation rather than n+1 sed invocations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16266 dc483132-0cff-0310-8789-dd5450dbe970
* Use more flexible command substitution for shared library generation, so we canKen Raeburn2004-04-231-5/+5
| | | | | | | | | | | | | | | | | | | 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
* Use markers in Makefile.in rather than rules in configure.in to indicate whenKen Raeburn2003-01-101-45/+0
| | | | | | | | to use the lib.in and libobj.in makefile fragments. Pushing this per-directory info into Makefile.in will make it a little easier to work on combining configure scripts for multiple directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15107 dc483132-0cff-0310-8789-dd5450dbe970
* Delete old placeholders for framework support; implement it anew soon,Ken Raeburn2002-09-141-26/+2
| | | | | | when we're more certain what we need. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14860 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in ($(SUBDIROBJLISTS) and .SH/.PF variants): Depend on recursion. UseKen Raeburn2002-08-151-0/+2
| | | | | | | | | | extra dummy target in case the variable is empty. * post.in (ALL_DEP_SRCS): New variable, includes SRCS and EXTRADEPSRCS. (.d): Depend on and use $(ALL_DEP_SRCS). * pre.in (all-unix, all-recurse, all-postrecurse): Make each stage depend on the previous, rather than having all-unix depend on each. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14719 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in (EXTRA_CLEAN_TARGETS, EXTRA_CLEAN_LINKS): New variables.Ken Raeburn2000-08-301-2/+27
| | | | | | | | | | | | | | | | | | | (clean-libs, clean-liblinks): Depend on targets specified in those variables. (config.status): Depend on shlib.conf. (all-framework, link-framework, clean-framework, clean-framework-link, install-framework): New targets, details to be filled in later. * pre.in (KRB5_LIB_libopt): Renamed from KDB5_LIB. (KRB5_LIB_frameworkopt): Tentative framework version for Mac OS X, details to be tuned later. (KRB5_LIB): Select between them using @LIB_LINK_OPT@. (KRB5CRYPTO_LIB*, COM_ERR_LIB*, GSS_KRB5_LIB*): Similarly. (KRB5_BASE_LIBS, GSS_LIBS): Use them. (KRB4COMPAT_LIBS): Use KRB5_BASE_LIBS. * shlib.conf: Set LIB_LINK_OPT. Set new EXTRA_* variables for darwin target. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12638 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in: Fix up lib build rules to deal properly (hopefuly) withTom Yu2000-07-011-3/+3
| | | | | | empty objlist files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12506 dc483132-0cff-0310-8789-dd5450dbe970
* Tweak build system to deal somewhat better with HPUX shared libsTom Yu2000-03-011-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12095 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in (clean-libs): Remove lib$(LIB)$(SHLIBSEXT) as wellTom Yu1997-11-191-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10290 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in: Add provisions for making shared libraries of the sameTom Yu1997-03-101-0/+14
| | | | | | major version number compatible. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9999 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-091-0/+163
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970