summaryrefslogtreecommitdiffstats
path: root/src/config/libnover.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.
* Get rid of fake-installGreg Hudson2011-11-041-0/+12
| | | | | | | | | Instead, use $(BUILDTOP)/plugins as the plugin base for tests. For each real plugin module, create a link in the parent directory if we're doing a shared-library build--so built KDB modules can be found in plugins/kdb, preauth modules in plugins/preauth, etc.. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25436 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
* Restore limited support for static linkingGreg Hudson2009-06-081-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add enough static linking support to run the test suite without shared libraries, to facilitate gcov and other kinds of instrumentation. The necessary changes include: * Undo some of the changes which removed static linking support, and cannibalize the defunct krb5_force_static conditional block in aclocal.m4. * Add --enable-static-only configure option. * For plugins, use a different symbol name for static and dynamic builds, via a macro in k5plugin.h. * Add build machinery for building static libraries for plugins (somewhat grotty due to the difference in names). * Move plugin subdirs earlier in SUBDIRS in src/Makefile.in. * Make the in-tree KDB5 plugins dependencies of libkdb5 in a static build (aclocal.m4 has to know what they are). * In kdb5.c, cannibalize the broken _KDB5_STATIC_LINK support to allow "loading" of statically linked plugin libraries. Preauth, authdata, locate, and GSSAPI plugins are not handled by this change, as they are not currently necessary to the test suite. Supporting GSSAPI plugins may be a bit tricky but the others should be straightforward if they become needed. $(STLIBEXT) changes from .a-nobuild to .a in a normal shared build as a result of these changes (except on AIX where aclocal.m4 changes it). This does not seem to be important as we avoid selecting the static library for building via other means. ticket: 6510 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22406 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in (clean-libs): Delete darwin.exports and hpux10.exports.Ken Raeburn2007-01-061-2/+2
| | | | | | | * 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
* Merge from plugin branchKen Raeburn2006-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* If configure scripts set build_dynobj=yes, force build of shared objects andKen Raeburn2005-10-271-1/+1
| | | | | | | not static objects; set it in the db2 directories. Fix up some bugs in Mac support just checked in for building plugin modules. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17461 dc483132-0cff-0310-8789-dd5450dbe970
* Allow dynamic-object dependencies and build flags to be specified as ↵Ken Raeburn2005-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | distinct from shared-library dependencies and flags. Define them for the Mac, default to same as shared-library versions on other platforms. * config/shlib.conf: Set DYNOBJ_EXPDEPS and DYNOBJ_EXPFLAGS. (*-*-darwin*): Change MAKE_DYNOBJ_COMMAND definition to use DYNOBJ_EXPFLAGS and DYNOBJ_LOADER_PROG instead of SHLIB_EXPFLAGS and a hardcoded pathname to the KDC binary, respectively. * config/pre.in (DYNOBJ_EXPDEPS, DYNOBJ_EXPFLAGS): New variables. * config/libnover.in ($(LIBBASE)$(DYNOBJEXT)): Use DYNOBJ_EXPDEPS instead of SHLIB_EXPDEPS in dependencies. * aclocal.m4 (KRB5_BUILD_LIBRARY_WITH_DEPS): Substitute DYNOBJ_EXPDEPS and DYNOBJ_EXPFLAGS. * modules/kdb/db2/Makefile.in (DYNOBJ_LOADER_PROG, DYNOBJ_EXPFLAGS_WITH_LOADER, DYNOBJ_EXPDEPS_WITH_LOADER): New variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17456 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
* Move libdb2 makefile stuff down into db2 module subtree.Ken Raeburn2005-10-051-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Drop "lib" prefix from things intended to be dynamically loadedKen Raeburn2005-07-061-7/+9
| | | | | | | | | | | * 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
* * libnover.in (Makefile): Depend on correct makefile fragment.Ken Raeburn2005-06-291-6/+4
| | | | | | | | (SHLIBVEXT): Fix definition. (LIBLIST, LIBINSTLIST): Override configured definitions. (all-liblinks, clean-liblinks): Targets deleted. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17275 dc483132-0cff-0310-8789-dd5450dbe970
* * libnover.in: New fileKen Raeburn2005-06-291-0/+108
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17272 dc483132-0cff-0310-8789-dd5450dbe970