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/krb5 \ 8 -I${KRB5DIR}/lib/asn1 \ 9 -I${KRB5DIR}/kuser \ 10 -I${ASN1OBJDIR} \ 11 -I${.OBJDIR} 12.if defined(KRB5_KRB4_COMPAT) 13_krb4libs= -lkrb -lkafs 14_krb4deps= ${LIBKRB} ${LIBKAFS} 15.endif 16LDADD= -L${KRB5OBJDIR} -lkrb5 -L${KAFS5OBJDIR} -lkafs5 \ 17 -L${ROKENOBJDIR} -lroken ${_krb4libs} \ 18 -L${ASN1OBJDIR} -lasn1 -lcrypto -lmd -lcrypt -lcom_err 19DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} ${_krb4deps} \ 20 ${LIBASN1} ${LIBCRYPTO} ${LIBMD} ${LIBCRYPT} ${LIBCOM_ERR} 21 22.include <bsd.prog.mk> 23 24.PATH: ${KRB5DIR}/kuser 25 26k5init.1: kinit.1 27 ln -sf ${.OODATE} ${.TARGET} 28