1# $FreeBSD$ 2 3PROG= ktutil 4MAN= ktutil.8 5 6SRCS= add.c \ 7 change.c \ 8 copy.c \ 9 get.c \ 10 ktutil.c \ 11 ktutil-commands.c \ 12 ktutil-commands.h \ 13 list.c \ 14 purge.c \ 15 remove.c \ 16 rename.c 17 18CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/sl -I. 19DPADD= ${LIBKADM5CLNT} ${LIBKRB5} ${LIBHX509} ${LIBSL} ${LIBROKEN} ${LIBVERS} \ 20 ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} \ 21 ${LIBREADLINE} ${LIBNCURSES} 22LDADD= -lkadm5clnt -lkrb5 -lhx509 ${LIBSL} -lroken ${LIBVERS} \ 23 -lasn1 -lcrypto -lcrypt -lcom_err \ 24 -lreadline -lncurses 25 26.include <bsd.prog.mk> 27 28ktutil-commands.c ktutil-commands.h: ${KRB5DIR}/admin/ktutil-commands.in ../../tools/slc/slc 29 ../../tools/slc/slc ${.ALLSRC:M*.in} 30 31../../tools/slc/slc: 32 cd ${.CURDIR}/../../tools/slc && ${MAKE} 33 34.PATH: ${KRB5DIR}/admin 35