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 34.include <bsd.prog.mk> 35 36kadmin-commands.h: ${KRB5DIR}/kadmin/kadmin-commands.in 37 ${SLC} ${.ALLSRC:M*.in} 38 39.for ext in o c 40kadmin-commands.${ext}: kadmin-commands.h 41.endfor 42 43.PATH: ${KRB5DIR}/kadmin 44 45