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