2000-01-15 21:38:08 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2004-12-21 09:33:47 +00:00
|
|
|
NO_LINT=
|
2000-01-15 21:38:08 +00:00
|
|
|
|
|
|
|
KRB5DIR= ${.CURDIR}/../../../crypto/heimdal
|
|
|
|
|
2004-02-05 18:51:52 +00:00
|
|
|
CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/../../include
|
2000-01-24 20:06:02 +00:00
|
|
|
|
2011-12-06 12:03:01 +00:00
|
|
|
.if defined(WITH_OPENLDAP) && !defined(COMPAT_32BIT)
|
2003-06-18 09:11:34 +00:00
|
|
|
OPENLDAPBASE?= /usr/local
|
2004-01-31 08:15:57 +00:00
|
|
|
LDAPLDADD= -lldap -llber
|
|
|
|
LDAPDPADD= ${LDAPLDADD:C;^-l(.*)$;${OPENLDAPBASE}/lib/lib\1.a;}
|
2011-12-05 16:38:52 +00:00
|
|
|
LDAPCFLAGS= -I${OPENLDAPBASE}/include -DOPENLDAP=1 -DLDAP_DEPRECATED=1
|
2004-01-31 08:15:57 +00:00
|
|
|
LDAPLDFLAGS= -L${OPENLDAPBASE}/lib -Wl,-rpath,${OPENLDAPBASE}/lib
|
2000-01-15 21:38:08 +00:00
|
|
|
.endif
|
|
|
|
|
2012-03-22 08:48:42 +00:00
|
|
|
LIBHEIMIPCC= ${.OBJDIR}/../../lib/libheimipcc/libheimipcc.a
|
|
|
|
LIBHEIMIPCS= ${.OBJDIR}/../../lib/libheimipcs/libheimipcs.a
|
2003-07-02 23:46:39 +00:00
|
|
|
LIBVERS= ${.OBJDIR}/../../lib/libvers/libvers.a
|
|
|
|
LIBSL= ${.OBJDIR}/../../lib/libsl/libsl.a
|
2000-01-15 21:38:08 +00:00
|
|
|
|
2004-01-31 08:15:57 +00:00
|
|
|
.if defined(SRCS)
|
2000-01-15 21:38:08 +00:00
|
|
|
|
2004-01-31 08:15:57 +00:00
|
|
|
ETSRCS= \
|
|
|
|
${KRB5DIR}/lib/asn1/asn1_err.et \
|
|
|
|
${KRB5DIR}/lib/hdb/hdb_err.et \
|
|
|
|
${KRB5DIR}/lib/kadm5/kadm5_err.et \
|
|
|
|
${KRB5DIR}/lib/krb5/heim_err.et \
|
|
|
|
${KRB5DIR}/lib/krb5/k524_err.et \
|
2008-05-07 13:53:12 +00:00
|
|
|
${KRB5DIR}/lib/krb5/krb5_err.et \
|
|
|
|
${KRB5DIR}/lib/krb5/krb_err.et \
|
|
|
|
${KRB5DIR}/lib/gssapi/krb5/gkrb5_err.et \
|
2012-03-22 08:48:42 +00:00
|
|
|
${KRB5DIR}/lib/hx509/hx509_err.et \
|
|
|
|
${KRB5DIR}/lib/wind/wind_err.et \
|
|
|
|
${KRB5DIR}/lib/ntlm/ntlm_err.et
|
2000-01-15 21:38:08 +00:00
|
|
|
|
2004-01-31 08:15:57 +00:00
|
|
|
.for ET in ${ETSRCS}
|
|
|
|
.for _ET in ${ET:T:R}
|
|
|
|
.if ${SRCS:M${_ET}.[ch]} != ""
|
|
|
|
.ORDER: ${_ET}.c ${_ET}.h
|
|
|
|
${_ET}.c ${_ET}.h: ${ET}
|
|
|
|
compile_et ${.ALLSRC}
|
|
|
|
CLEANFILES+= ${_ET}.h ${_ET}.c
|
2000-01-15 21:38:08 +00:00
|
|
|
.endif
|
2004-01-31 08:15:57 +00:00
|
|
|
.endfor
|
|
|
|
.endfor
|
|
|
|
|
2005-04-18 22:03:21 +00:00
|
|
|
.endif # defined(SRCS)
|
2012-06-01 21:26:28 +00:00
|
|
|
|
|
|
|
ASN1_COMPILE= asn1_compile
|
|
|
|
MAKE_ROKEN= make-roken
|
|
|
|
SLC= slc
|