From 8f09bfe9fa0e51c2bd1e2f533eb25655e88ca43b Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 7 Mar 2006 20:45:24 +0000 Subject: Merge from plugin branch 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 --- src/plugins/locate/python/Makefile.in | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/plugins/locate/python/Makefile.in (limited to 'src/plugins/locate/python/Makefile.in') diff --git a/src/plugins/locate/python/Makefile.in b/src/plugins/locate/python/Makefile.in new file mode 100644 index 000000000..46a83fede --- /dev/null +++ b/src/plugins/locate/python/Makefile.in @@ -0,0 +1,42 @@ +thisconfigdir=. +myfulldir=plugins/locate/python +mydir=. +BUILDTOP=$(REL)..$(S)..$(S).. + +LIBBASE=python +LIBMAJOR=0 +LIBMINOR=0 +SO_EXT=.so +RELDIR=../plugins/locate/python +MODULE_INSTALL_DIR = $(KRB5_LIBKRB5_MODULE_DIR) + +SHLIB_EXPDEPS= +SHLIB_EXPLIBS= -lpython2.3 + +SHLIB_DIRS=-L$(TOPLIBD) +SHLIB_RDIRS=$(KRB5_LIBDIR) + +SRCS= \ + $(srcdir)/py-locate.c +STOBJLISTS=OBJS.ST +STLIBOBJS= py-locate.o + +all-unix:: $(LIBBASE)$(SO_EXT) +install-unix:: install-libs +clean-unix:: clean-libs clean-libobjs + +# @libnover_frag@ +# @libobj_frag@ + +# +++ Dependency line eater +++ +# +# Makefile dependencies follow. This must be the last section in +# the Makefile.in file +# +py-locate.so py-locate.po $(OUTPRE)py-locate.$(OBJEXT): \ + py-locate.c $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/k5-int.h \ + $(BUILDTOP)/include/krb5/osconf.h $(SRCTOP)/include/k5-platform.h \ + $(SRCTOP)/include/k5-thread.h $(BUILDTOP)/include/krb5.h \ + $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h $(SRCTOP)/include/port-sockets.h \ + $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/krb5/kdb.h \ + $(SRCTOP)/include/k5-plugin.h -- cgit