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