# $FreeBSD$

LIB=	kadm5clnt
LDFLAGS=	-Wl,--no-undefined
LDADD=	-lcom_err -lkrb5 -lroken
DPADD=	${LIBCOM_ERR} ${LIBKRB5} ${LIBROKEN}

INCS=	admin.h \
	kadm5-private.h \
	kadm5-protos.h \
	kadm5-pwcheck.h \
	kadm5_err.h \
	private.h

INCSDIR=${INCLUDEDIR}/kadm5

SRCS=	ad.c \
	chpass_c.c \
	client_glue.c \
	common_glue.c \
	create_c.c \
	delete_c.c \
	destroy_c.c \
	flush_c.c \
	free.c \
	get_c.c \
	get_princs_c.c \
	init_c.c \
	kadm5_locl.h \
	kadm5_err.c \
	kadm5_err.h \
	marshall.c \
	modify_c.c \
	private.h \
	privs_c.c \
	randkey_c.c \
	rename_c.c \
	send_recv.c \
	admin.h

CFLAGS+=-I${KRB5DIR}/lib/kadm5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken -I.

.include <bsd.lib.mk>

.PATH: ${KRB5DIR}/lib/kadm5