thisconfigdir=./..
myfulldir=lib/kadm5/clnt
mydir=clnt
BUILDTOP=$(REL)$(U)$(S)$(U)$(S)$(U)
LOCALINCLUDES = -I$(BUILDTOP)/include/kadm5

LIB=kadm5clnt
LIBMAJOR=4
LIBMINOR=0
STOBJLISTS=../OBJS.ST OBJS.ST
SHLIB_EXPDEPS=\
	$(TOPLIBD)/libgssrpc$(SHLIBEXT) \
	$(TOPLIBD)/libgssapi_krb5$(SHLIBEXT) \
	$(TOPLIBD)/libkdb5$(SHLIBEXT) \
	$(TOPLIBD)/libkrb5$(SHLIBEXT) \
	$(TOPLIBD)/libk5crypto$(SHLIBEXT) \
	$(TOPLIBD)/libcom_err$(SHLIBEXT) \
	$(TOPLIBD)/libdyn$(SHLIBEXT)
SHLIB_EXPLIBS=-lgssrpc -lgssapi_krb5 -lkdb5 -lkrb5 -lk5crypto -lcom_err -ldyn
SHLIB_DIRS=-L$(TOPLIBD)
SHLIB_RDIRS=$(KRB5_LIBDIR)
RELDIR=kadm5/clnt

##DOSBUILDTOP = ..\..\..
##DOSLIBNAME = libkadm5clnt.lib

SRCS =	$(srcdir)/clnt_policy.c \
	$(srcdir)/client_rpc.c \
	$(srcdir)/client_principal.c \
	$(srcdir)/client_init.c \
	$(srcdir)/clnt_privs.c \
	$(srcdir)/clnt_chpass_util.c

OBJS =	\
	clnt_policy.$(OBJEXT) \
	client_rpc.$(OBJEXT) \
	client_principal.$(OBJEXT) \
	client_init.$(OBJEXT) \
	clnt_privs.$(OBJEXT) \
	clnt_chpass_util.$(OBJEXT)

STLIBOBJS = \
	clnt_policy.o \
	client_rpc.o \
	client_principal.o \
	client_init.o \
	clnt_privs.o \
	clnt_chpass_util.o

all-unix:: includes
all-unix:: all-liblinks
all-windows:: $(OBJS)

includes:: client_internal.h
	if cmp $(srcdir)/client_internal.h \
	$(BUILDTOP)/include/kadm5/client_internal.h >/dev/null 2>&1; then :; \
	else \
		(set -x; $(RM) $(BUILDTOP)/include/kadm5/client_internal.h; \
		 $(CP) $(srcdir)/client_internal.h \
			$(BUILDTOP)/include/kadm5/client_internal.h) ; \
	fi

clean-unix::
	$(RM) $(BUILDTOP)/include/kadm5/client_internal.h

check-windows::

clean-windows::

clean-unix:: clean-liblinks clean-libs clean-libobjs

install:: install-libs
