1# $FreeBSD$ 2 3PACKAGE= kerberos 4 5PROG= kadmin 6MAN= kadmin.8 7 8SRCS= add_enctype.c \ 9 ank.c \ 10 check.c \ 11 cpw.c \ 12 del.c \ 13 del_enctype.c \ 14 dump.c \ 15 ext.c \ 16 get.c \ 17 init.c \ 18 kadmin.c \ 19 kadmin-commands.c \ 20 kadmin-commands.h \ 21 load.c \ 22 mod.c \ 23 pw_quality.c \ 24 random_password.c \ 25 rename.c \ 26 stash.c \ 27 util.c 28 29CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/roken \ 30 -I${KRB5DIR}/lib/sl -I${SRCTOP}/contrib/com_err -I. ${LDAPCFLAGS} 31LIBADD= kadm5clnt kadm5srv hdb krb5 roken vers sl asn1 crypto edit 32DPADD= ${LDAPDPADD} 33LDADD= ${LDAPLDADD} 34LDFLAGS=${LDAPLDFLAGS} 35 36CLEANFILES= kadmin-commands.h kadmin-commands.c 37 38.include <bsd.prog.mk> 39 40kadmin-commands.h: ${KRB5DIR}/kadmin/kadmin-commands.in 41 ${SLC} ${.ALLSRC:M*.in} 42 43kadmin-commands.c: kadmin-commands.h 44 45.PATH: ${KRB5DIR}/kadmin 46 47