4 SRCS= kpasswdd.c krb5_err.h heim_err.h hdb_err.h \
6 CFLAGS+= -I${KRB5DIR}/include \
7 -I${KRB5DIR}/lib/asn1 \
9 -I${KRB5DIR}/lib/krb5 \
10 -I${KRB5DIR}/lib/roken \
11 -I${KRB5DIR}/lib/kadm5 \
12 -I${KRB5DIR}/kpasswd \
16 .if defined(MAKE_KERBEROS4) && \
17 (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes")
18 _krb4libs= -lkrb -lkafs
19 _krb4deps= ${LIBKRB} ${LIBKAFS}
21 LDADD= -L${KRB5OBJDIR} -lkrb5 -L${ROKENOBJDIR} -lroken \
22 -L${VERSOBJDIR} -lvers \
24 -L${KADM5SOBJDIR} -lkadm5srv -L${HDBOBJDIR} -lhdb \
25 -L${ASN1OBJDIR} -lasn1 -lcrypto -lmd -lcrypt -lcom_err
26 DPADD= ${LIBKRB5} ${LIBROKEN} ${_krb4deps} \
27 ${LIBASN1} ${LIBCRYPTO} ${LIBMD} ${LIBCRYPT} ${LIBCOM_ERR}
30 .include <bsd.prog.mk>
32 .PATH: ${KRB5DIR}/kpasswd
35 cp ${KRB5DIR}/lib/kadm5/admin.h ${.TARGET}
40 CLEANFILES+= kadm5/admin.h