1# $FreeBSD$ 2 3PROG= k5passwdd 4SRCS= kpasswdd.c krb5_err.h heim_err.h hdb_err.h \ 5 kadm5/admin.h 6CFLAGS+= -I${KRB5DIR}/include \ 7 -I${KRB5DIR}/lib/asn1 \ 8 -I${KRB5DIR}/lib/hdb \ 9 -I${KRB5DIR}/lib/krb5 \ 10 -I${KRB5DIR}/lib/roken \ 11 -I${KRB5DIR}/lib/kadm5 \ 12 -I${KRB5DIR}/kpasswd \ 13 -I${ASN1OBJDIR} \ 14 -I${HDBOBJDIR} \ 15 -I${.OBJDIR} 16.if defined(MAKE_KERBEROS4) && \ 17 (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") 18_krb4libs= -lkrb -lkafs 19_krb4deps= ${LIBKRB} ${LIBKAFS} 20.endif 21LDADD= -L${KRB5OBJDIR} -lkrb5 -L${ROKENOBJDIR} -lroken \ 22 -L${VERSOBJDIR} -lvers \ 23 ${_krb4libs} \ 24 -L${KADM5SOBJDIR} -lkadm5srv -L${HDBOBJDIR} -lhdb \ 25 -L${ASN1OBJDIR} -lasn1 -lcrypto -lmd -lcrypt -lcom_err 26DPADD= ${LIBKRB5} ${LIBROKEN} ${_krb4deps} \ 27 ${LIBASN1} ${LIBCRYPTO} ${LIBMD} ${LIBCRYPT} ${LIBCOM_ERR} 28MAN= kpasswdd.8 29 30.include <bsd.prog.mk> 31 32.PATH: ${KRB5DIR}/kpasswd 33 34kadm5/admin.h: kadm5 35 cp ${KRB5DIR}/lib/kadm5/admin.h ${.TARGET} 36 37kadm5: 38 mkdir ${.TARGET} 39 40CLEANFILES+= kadm5/admin.h 41CLEANDIRS+= kadm5 42