1# $FreeBSD$ 2 3PROG= k5su 4SRCS= su.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} 13NOMAN= true 14.if defined(MAKE_KERBEROS4) && \ 15 (${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes") 16_krb4libs= -L${KAFS5OBJDIR} -lkafs -lkrb -lkafs5 17_krb4deps= ${LIBKAFS5} ${LIBKRB} ${LIBKAFS} 18.endif 19LDADD= -L${KRB5OBJDIR} -lkrb5 \ 20 -L${ROKENOBJDIR} -lroken \ 21 -L${VERSOBJDIR} -lvers \ 22 ${_krb4libs} \ 23 -L${ASN1OBJDIR} -lasn1 -lcrypto -lmd -lcrypt -lcom_err 24DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} ${_krb4deps} \ 25 ${LIBASN1} ${LIBCRYPTO} ${LIBMD} ${LIBCRYPT} ${LIBCOM_ERR} 26BINMODE=4555 27INSTALLFLAGS=-fschg 28 29.include <bsd.prog.mk> 30 31.PATH: ${KRB5DIR}/appl/su 32