# $NetBSD: Makefile,v 1.3.22.2 2023/10/14 06:56:35 martin Exp $ .include .include <${.CURDIR}/../../Makefile.inc> USE_FORT?= yes # network client .PATH: ${HEIMDIST}/kadmin PROG= kadmin MAN= kadmin.8 HEIMSRCS= kadmin-commands.in SRCS= add_enctype.c \ ank.c \ check.c \ cpw.c \ del.c \ del_enctype.c \ dump.c \ ext.c \ get.c \ init.c \ kadmin.c \ load.c \ mod.c \ pw_quality.c \ random_password.c \ rename.c \ stash.c \ util.c CPPFLAGS+= \ -I${HEIMDIST}/base \ -I${HEIMDIST}/lib/krb5 \ -I${HEIMDIST}/lib/asn1 \ -I${HEIMDIST}/lib/wind \ -I${HEIMBASE}/lib/libwind \ -I${DESTDIR}/usr/include/kadm5 PROGDPLIBS+= ${DPLIBKADM5SRV} ${DPLIBHDB} ${DPLIBKADM5CLNT} ${DPLIBSL} kadmin.8: kadmin.1 @${TOOL_SED} -e 's/KADMIN 1/KADMIN 8/' < ${.ALLSRC} > ${.TARGET} CLEANFILES+=kadmin.8 .include <${HEIMBASE}/Makefile.rules.inc> .include LDADD+= -lutil -ledit -lterminfo ${KRB5LDADD} ${HDBLDADD} DPADD+= ${LIBUTIL} ${LIBEDIT} ${LIBTERMINFO} ${KRB5DPADD} ${HDBDPADD}