2000-01-15 22:38:08 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-05-06 06:22:01 +02:00
|
|
|
.include <src.opts.mk>
|
2014-04-25 01:17:31 +02:00
|
|
|
|
2004-12-21 10:33:47 +01:00
|
|
|
NO_LINT=
|
2000-01-15 22:38:08 +01:00
|
|
|
|
2017-03-04 12:34:36 +01:00
|
|
|
KRB5DIR= ${SRCTOP}/crypto/heimdal
|
2000-01-15 22:38:08 +01:00
|
|
|
|
2017-03-04 12:34:36 +01:00
|
|
|
CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR:H:H}/include
|
2000-01-24 21:06:02 +01:00
|
|
|
|
2014-04-25 01:17:31 +02:00
|
|
|
.if ${MK_OPENLDAP} != "no" && !defined(COMPAT_32BIT)
|
2003-06-18 11:11:34 +02:00
|
|
|
OPENLDAPBASE?= /usr/local
|
2004-01-31 09:15:57 +01:00
|
|
|
LDAPLDADD= -lldap -llber
|
|
|
|
LDAPDPADD= ${LDAPLDADD:C;^-l(.*)$;${OPENLDAPBASE}/lib/lib\1.a;}
|
2011-12-05 17:38:52 +01:00
|
|
|
LDAPCFLAGS= -I${OPENLDAPBASE}/include -DOPENLDAP=1 -DLDAP_DEPRECATED=1
|
2015-08-27 17:03:34 +02:00
|
|
|
LDAPLDFLAGS= -L${OPENLDAPBASE}/lib -rpath ${OPENLDAPBASE}/lib
|
2000-01-15 22:38:08 +01:00
|
|
|
.endif
|
|
|
|
|
2004-01-31 09:15:57 +01:00
|
|
|
.if defined(SRCS)
|
2000-01-15 22:38:08 +01:00
|
|
|
|
2004-01-31 09:15:57 +01: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 15:53:12 +02:00
|
|
|
${KRB5DIR}/lib/krb5/krb5_err.et \
|
|
|
|
${KRB5DIR}/lib/krb5/krb_err.et \
|
2012-03-22 09:48:42 +01:00
|
|
|
${KRB5DIR}/lib/hx509/hx509_err.et \
|
|
|
|
${KRB5DIR}/lib/wind/wind_err.et \
|
|
|
|
${KRB5DIR}/lib/ntlm/ntlm_err.et
|
2000-01-15 22:38:08 +01:00
|
|
|
|
2017-01-02 20:03:01 +01:00
|
|
|
.if ${MK_GSSAPI} != "no"
|
|
|
|
ETSRCS+= ${KRB5DIR}/lib/gssapi/krb5/gkrb5_err.et
|
|
|
|
.endif
|
|
|
|
|
2004-01-31 09:15:57 +01:00
|
|
|
.for ET in ${ETSRCS}
|
|
|
|
.for _ET in ${ET:T:R}
|
|
|
|
.if ${SRCS:M${_ET}.[ch]} != ""
|
2015-06-11 23:13:05 +02:00
|
|
|
.ORDER: ${_ET}.h ${_ET}.c
|
2016-06-03 21:25:41 +02:00
|
|
|
${_ET}.c: .NOMETA
|
2016-06-14 18:19:59 +02:00
|
|
|
${_ET}.h ${_ET}.c: ${ET}
|
2004-01-31 09:15:57 +01:00
|
|
|
compile_et ${.ALLSRC}
|
|
|
|
CLEANFILES+= ${_ET}.h ${_ET}.c
|
2000-01-15 22:38:08 +01:00
|
|
|
.endif
|
2004-01-31 09:15:57 +01:00
|
|
|
.endfor
|
|
|
|
.endfor
|
|
|
|
|
2005-04-19 00:03:21 +02:00
|
|
|
.endif # defined(SRCS)
|
2012-06-01 23:26:28 +02:00
|
|
|
|
|
|
|
ASN1_COMPILE= asn1_compile
|
|
|
|
MAKE_ROKEN= make-roken
|
|
|
|
SLC= slc
|