17 krb5_err.h heim_err.h k524_err.h
19 CFLAGS+= -I${KRB5DIR}/include \
20 -I${KRB5DIR}/lib/roken \
21 -I${KRB5DIR}/lib/krb5 \
22 -I${KRB5DIR}/lib/asn1 \
24 -I${KRB5DIR}/lib/kadm5 \
28 .if defined(MAKE_KERBEROS4)
29 _krb4libs= -lkrb -lkafs
30 _krb4deps= ${LIBKRB} ${LIBKAFS}
32 LDADD= -L${KRB5OBJDIR} -lkrb5 \
33 -L${ROKENOBJDIR} -lroken \
34 -L${VERSOBJDIR} -lvers \
36 -L${SLOBJDIR} -lsl -L${ASN1OBJDIR} -lasn1 \
37 -L${KADM5COBJDIR} -lkadm5clnt \
38 -lcrypto -lmd -lcrypt -lcom_err -lreadline
39 DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} ${_krb4deps} \
40 ${LIBSL} ${LIBASN1} ${LIBKADM5CLNT} \
41 ${LIBCRYPTO} ${LIBMD} ${LIBCRYPT} ${LIBCOM_ERR} ${LIBREADLINE}
44 .include <bsd.prog.mk>
46 .PATH: ${KRB5DIR}/admin
48 kadm5/private.h: kadm5
49 cp ${KRB5DIR}/lib/kadm5/private.h ${.TARGET}
52 cp ${KRB5DIR}/lib/kadm5/admin.h ${.TARGET}
54 kadm5/kadm5_err.h: kadm5 kadm5_err.h
55 cd ${.OBJDIR}/kadm5 && ln -sf ../kadm5_err.h
60 CLEANFILES+= kadm5/private.h kadm5/admin.h kadm5/kadm5_err.h