KDB5_PLUGIN_DEPLIBS = @KDB5_PLUGIN_DEPLIBS@
KDB5_PLUGIN_LIBS = @KDB5_PLUGIN_LIBS@
-KADMCLNT_DEPLIB = $(TOPLIBD)/libkadm5clnt$(DEPLIBEXT)
-KADMSRV_DEPLIB = $(TOPLIBD)/libkadm5srv$(DEPLIBEXT)
+KADMCLNT_DEPLIB = $(TOPLIBD)/libkadm5clnt_mit$(DEPLIBEXT)
+KADMSRV_DEPLIB = $(TOPLIBD)/libkadm5srv_mit$(DEPLIBEXT)
KDB5_DEPLIB = $(TOPLIBD)/libkdb5$(DEPLIBEXT)
GSSRPC_DEPLIB = $(TOPLIBD)/libgssrpc$(DEPLIBEXT)
GSS_DEPLIB = $(TOPLIBD)/libgssapi_krb5$(DEPLIBEXT)
GSSRPC_LIBS = -lgssrpc $(GSS_LIBS)
KADM_COMM_LIBS = $(GSSRPC_LIBS)
# need fixing if ever used on Mac OS X!
-KADMSRV_LIBS = -lkadm5srv $(HESIOD_LIBS) $(KDB5_LIBS) $(KADM_COMM_LIBS)
-KADMCLNT_LIBS = -lkadm5clnt $(KADM_COMM_LIBS)
+KADMSRV_LIBS = -lkadm5srv_mit $(HESIOD_LIBS) $(KDB5_LIBS) $(KADM_COMM_LIBS)
+KADMCLNT_LIBS = -lkadm5clnt_mit $(KADM_COMM_LIBS)
# libutil for NetBSD, et al. for openpty(), etc.
UTIL_LIB = @UTIL_LIB@
fi
if test $library = 'kadm_server'; then
- lib_flags="$lib_flags -lkadm5srv -lkdb5 $KDB5_DB_LIB"
+ lib_flags="$lib_flags -lkadm5srv_mit -lkdb5 $KDB5_DB_LIB"
library=kadm_common
fi
if test $library = 'kadm_client'; then
- lib_flags="$lib_flags -lkadm5clnt"
+ lib_flags="$lib_flags -lkadm5clnt_mit"
library=kadm_common
fi
LOCALINCLUDES = -I$(BUILDTOP)/include/kadm5
DEFS=
-LIBBASE=kadm5clnt
+LIBBASE=kadm5clnt_mit
LIBMAJOR=7
LIBMINOR=0
STOBJLISTS=../OBJS.ST OBJS.ST
install:: install-libs
+install-unix::
+ $(RM) $(DESTDIR)$(KRB5_LIBDIR)/libkadm5clnt$(DEPLIBEXT)
+ (cd $(DESTDIR)$(KRB5_LIBDIR) && $(LN_S) lib$(LIBBASE)$(DEPLIBEXT) \
+ libkadm5clnt$(DEPLIBEXT))
+
depend:: includes
@lib_frag@
##DOSBUILDTOP = ..\..\..
##DOSLIBNAME = libkadm5srv.lib
-LIBBASE=kadm5srv
+LIBBASE=kadm5srv_mit
LIBMAJOR=7
LIBMINOR=0
STOBJLISTS=../OBJS.ST OBJS.ST
install:: install-libs
+install-unix::
+ $(RM) $(DESTDIR)$(KRB5_LIBDIR)/libkadm5srv$(DEPLIBEXT)
+ (cd $(DESTDIR)$(KRB5_LIBDIR) && $(LN_S) lib$(LIBBASE)$(DEPLIBEXT) \
+ libkadm5srv$(DEPLIBEXT))
+
depend:: includes
@lib_frag@