1# $FreeBSD$ 2 3PROG= k5passwd 4SRCS= kpasswd.c krb5_err.h heim_err.h k524_err.h 5CFLAGS+= -I${KRB5DIR}/include \ 6 -I${KRB5DIR}/lib/asn1 \ 7 -I${KRB5DIR}/lib/krb5 \ 8 -I${KRB5DIR}/lib/roken \ 9 -I${KRB5DIR}/kpasswd \ 10 -I${ASN1OBJDIR} \ 11 -I${.OBJDIR} 12.if defined(MAKE_KERBEROS4) 13_krb4libs= -lkrb -lkafs 14_krb4deps= ${LIBKRB} ${LIBKAFS} 15.endif 16LDADD= -L${KRB5OBJDIR} -lkrb5 -L${ROKENOBJDIR} -lroken \ 17 -L${VERSOBJDIR} -lvers \ 18 ${_krb4libs} \ 19 -L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err 20DPADD= ${LIBKRB5} ${LIBROKEN} ${_krb4deps} \ 21 ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} 22 23.include <bsd.prog.mk> 24 25.PATH: ${KRB5DIR}/kpasswd 26 27k5passwd.1: kpasswd.1 28 ln -sf ${.OODATE} ${.TARGET} 29