1# $FreeBSD$ 2 3PROG= kdc 4SRCS= 524.c config.c connect.c kaserver.c kerberos4.c kerberos5.c \ 5 log.c main.c misc.c 6CFLAGS+= -I${KRB5DIR}/include \ 7 -I${KRB5DIR}/kdc \ 8 -I${KRB5DIR}/lib/krb5 \ 9 -I${KRB5DIR}/lib/asn1 \ 10 -I${KRB5DIR}/lib/hdb \ 11 -I${KRB5DIR}/lib/roken \ 12 -I${KRB5DIR}/kuser \ 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 \ 22 -L${HDBOBJDIR} -lhdb -L${ROKENOBJDIR} -lroken ${_krb4libs} \ 23 -L${ASN1OBJDIR} -lasn1 -lcrypto -lmd -lcrypt -lcom_err 24DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBHDB} ${LIBROKEN} ${_krb4deps} \ 25 ${LIBASN1} ${LIBCRYPTO} ${LIBMD} ${LIBCRYPT} ${LIBCOM_ERR} 26MAN8= kdc.8 27 28.include <bsd.prog.mk> 29 30.PATH: ${KRB5DIR}/kdc 31