6 KRB5DIR= ${.CURDIR}/../../../crypto/heimdal
8 CFLAGS+= -I${.CURDIR}/../../include -DHAVE_CONFIG_H
12 .if defined(WITH_OPENLDAP)
13 OPENLDAPBASE?= /usr/local
14 LDAPLDADD= -lldap -llber
15 LDAPDPADD= ${LDAPLDADD:C;^-l(.*)$;${OPENLDAPBASE}/lib/lib\1.a;}
16 LDAPCFLAGS= -I${OPENLDAPBASE}/include -DOPENLDAP=1
17 LDAPLDFLAGS= -L${OPENLDAPBASE}/lib -Wl,-rpath,${OPENLDAPBASE}/lib
20 .if exists(${.OBJDIR}/../../lib/libvers)
21 LIBVERS= ${.OBJDIR}/../../lib/libvers/libvers.a
23 LIBVERS= ${.CURDIR}/../../lib/libvers/libvers.a
26 .if exists(${.OBJDIR}/../../lib/libsl)
27 LIBSL= ${.OBJDIR}/../../lib/libsl/libsl.a
29 LIBSL= ${.CURDIR}/../../lib/libsl/libsl.a
35 ${KRB5DIR}/lib/asn1/asn1_err.et \
36 ${KRB5DIR}/lib/hdb/hdb_err.et \
37 ${KRB5DIR}/lib/kadm5/kadm5_err.et \
38 ${KRB5DIR}/lib/krb5/heim_err.et \
39 ${KRB5DIR}/lib/krb5/k524_err.et \
40 ${KRB5DIR}/lib/krb5/krb5_err.et
44 .if ${SRCS:M${_ET}.[ch]} != ""
45 .ORDER: ${_ET}.c ${_ET}.h
46 ${_ET}.c ${_ET}.h: ${ET}
48 CLEANFILES+= ${_ET}.h ${_ET}.c