1# $FreeBSD$ 2 3PROG= k5init 4SRCS= kinit.c asn1_err.h krb5_err.h heim_err.h \ 5 k524_err.h 6CFLAGS+= -I${KRB5DIR}/include \ 7 -I${KRB5DIR}/lib/roken \ 8 -I${KRB5DIR}/lib/kafs \ 9 -I${KRB5DIR}/lib/krb5 \ 10 -I${KRB5DIR}/lib/asn1 \ 11 -I${KRB5DIR}/kuser \ 12 -I${ASN1OBJDIR} \ 13 -I${.OBJDIR} 14.if defined(MAKE_KERBEROS4) 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 -lcrypt -lcom_err 23DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} ${_krb4deps} \ 24 ${LIBASN1} ${LIBCRYPTO} ${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