5 KRB5DIR= ${.CURDIR}/../../../crypto/heimdal
7 CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/../../include
9 .if defined(WITH_OPENLDAP)
10 OPENLDAPBASE?= /usr/local
11 LDAPLDADD= -lldap -llber
12 LDAPDPADD= ${LDAPLDADD:C;^-l(.*)$;${OPENLDAPBASE}/lib/lib\1.a;}
13 LDAPCFLAGS= -I${OPENLDAPBASE}/include -DOPENLDAP=1
14 LDAPLDFLAGS= -L${OPENLDAPBASE}/lib -Wl,-rpath,${OPENLDAPBASE}/lib
17 LIBVERS= ${.OBJDIR}/../../lib/libvers/libvers.a
18 LIBSL= ${.OBJDIR}/../../lib/libsl/libsl.a
23 ${KRB5DIR}/lib/asn1/asn1_err.et \
24 ${KRB5DIR}/lib/hdb/hdb_err.et \
25 ${KRB5DIR}/lib/kadm5/kadm5_err.et \
26 ${KRB5DIR}/lib/krb5/heim_err.et \
27 ${KRB5DIR}/lib/krb5/k524_err.et \
28 ${KRB5DIR}/lib/krb5/krb5_err.et \
29 ${KRB5DIR}/lib/krb5/krb_err.et \
30 ${KRB5DIR}/lib/gssapi/krb5/gkrb5_err.et \
31 ${KRB5DIR}/lib/hx509/hx509_err.et
35 .if ${SRCS:M${_ET}.[ch]} != ""
36 .ORDER: ${_ET}.c ${_ET}.h
37 ${_ET}.c ${_ET}.h: ${ET}
39 CLEANFILES+= ${_ET}.h ${_ET}.c
44 .endif # defined(SRCS)