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