35 lines
762 B
Makefile
Raw Normal View History

# $FreeBSD$
2004-02-05 18:51:52 +00:00
PROG= ktutil
MAN= ktutil.8
SRCS= add.c \
change.c \
copy.c \
get.c \
ktutil.c \
ktutil-commands.c \
ktutil-commands.h \
2004-02-05 18:51:52 +00:00
list.c \
purge.c \
remove.c \
rename.c
CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/sl -I.
DPADD= ${LIBKADM5CLNT} ${LIBKRB5} ${LIBHX509} ${LIBSL} ${LIBROKEN} ${LIBVERS} \
2004-02-05 18:51:52 +00:00
${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} \
${LIBEDIT} ${LIBNCURSES}
LDADD= -lkadm5clnt -lkrb5 -lhx509 ${LIBSL} -lroken ${LIBVERS} \
2004-02-05 18:51:52 +00:00
-lasn1 -lcrypto -lcrypt -lcom_err \
-ledit -lncurses
.include <bsd.prog.mk>
ktutil-commands.c ktutil-commands.h: ${KRB5DIR}/admin/ktutil-commands.in ../../tools/slc/slc
../../tools/slc/slc ${.ALLSRC:M*.in}
../../tools/slc/slc:
cd ${.CURDIR}/../../tools/slc && ${MAKE}
2004-02-05 18:51:52 +00:00
.PATH: ${KRB5DIR}/admin