summaryrefslogtreecommitdiffstats
path: root/src/config/lib.in
Commit message (Collapse)AuthorAgeFilesLines
* Reduce boilerplate in makefilesGreg Hudson2013-05-161-11/+3
| | | | | | | | | Provide default values in pre.in for PROG_LIBPATH, PROG_RPATH, SHLIB_DIRS, SHLIB_RDIRS, and STOBJLISTS so that they don't have to be specified in the common case. Rename KRB5_RUN_ENV and KRB5_RUN_VARS to RUN_SETUP (already the most commonly used name) and RUN_VARS. Make sure to use DEFINES for local defines (not DEFS). Remove some other unnecessary makefile content.
* Go back to symlinks for liblinksGreg Hudson2011-09-061-2/+2
| | | | | | | | Now that we're not using dynamic loading for libverto-k5ev, we don't need to use hard links for liblinks, and using them would interfere with an AFS build tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25167 dc483132-0cff-0310-8789-dd5450dbe970
* Use hard links for LIBLINKSGreg Hudson2011-09-051-4/+6
| | | | | | | | | | | | verto uses dladdr() to figure out where it should look for modules, and dladdr may or may not follow symlinks. Hard links ensure that it always looks in the directory where liblinks are, allowing it to find the verto-k5ev module. Make symlinks within the lib directory for .so and .so.X instead of symlinking those back to the library build directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25150 dc483132-0cff-0310-8789-dd5450dbe970
* Create k5ev verto module from libev sourcesGreg Hudson2011-09-021-3/+5
| | | | | | | | Add configure and build support for libverto and the libverto-k5ev module. Fix the version script rules to work for libraries with hyphens in their names. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25127 dc483132-0cff-0310-8789-dd5450dbe970
* Consolidate Makefile variables now that we have only a single globalGreg Hudson2009-11-221-2/+2
| | | | | | | | | | | | | configure script: $(SRCTOP) --> $(top_srcdir) $(srcdir)/$(thisconfigdir) --> $(top_srcdir) $(thisconfigdir) --> $(BUILDTOP) $(myfulldir) --> $(mydir) ticket: 6583 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23308 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in (clean-libs): Delete darwin.exports and hpux10.exports.Ken Raeburn2007-01-061-1/+1
| | | | | | | * libnover.in (clean-libs): Use $(DYNOBJEXT) instead of $(SHLIBEXT) for extension on object to delete. Also delete darwin.exports and hpux10.exports. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19037 dc483132-0cff-0310-8789-dd5450dbe970
* back out r18245; it breaks under gcc + GNU ld on SolarisTom Yu2006-06-291-6/+1
| | | | | | | ticket: 3946 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18260 dc483132-0cff-0310-8789-dd5450dbe970
* implement symbol export restrictions for SolarisKen Raeburn2006-06-281-1/+6
| | | | | | | | | | | | | * lib.in (solaris.versions): New target. Currently no version id, just a symbol list. * libnover.in (solaris.versions): New target. (clean-libs): Delete it. * shlib.conf (*-*-solaris*): Use solaris.versions as map file. (clean-libs): Delete it. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18245 dc483132-0cff-0310-8789-dd5450dbe970
* (hpux10.exports): Export initializer and destructor symbols(?). PatchKen Raeburn2006-06-161-0/+2
| | | | | | | | from Albert Chin. ticket: 3129 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18158 dc483132-0cff-0310-8789-dd5450dbe970
* 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