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} 29DPADD= ${LIBKADM5CLNT} ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBHX509} \ 30 ${LIBSL} ${LIBROKEN} ${LIBVERS} ${LIBASN1} \ 31 ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} \ 32 ${LIBEDIT} ${LIBNCURSESW} ${LDAPDPADD} 33LDADD= -lkadm5clnt -lkadm5srv -lhdb -lkrb5 -lhx509 \ 34 ${LIBSL} -lroken ${LIBVERS} -lasn1 \ 35 -lcrypto -lcrypt -lcom_err \ 36 -ledit -lncursesw ${LDAPLDADD} 37LDFLAGS=${LDAPLDFLAGS} 38 39.include <bsd.prog.mk> 40 41kadmin-commands.h: ${KRB5DIR}/kadmin/kadmin-commands.in 42 ${SLC} ${.ALLSRC:M*.in} 43 44.for ext in o c 45kadmin-commands.${ext}: kadmin-commands.h 46.endfor 47 48.PATH: ${KRB5DIR}/kadmin 49 50