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
|
|
|
|
2003-06-18 14:23:44 +00:00
|
|
|
.if defined(WITH_OPENLDAP)
|
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;}
|
|
|
|
LDAPCFLAGS= -I${OPENLDAPBASE}/include -DOPENLDAP=1
|
|
|
|
LDAPLDFLAGS= -L${OPENLDAPBASE}/lib -Wl,-rpath,${OPENLDAPBASE}/lib
|
2000-01-15 21:38:08 +00:00
|
|
|
.endif
|
|
|
|
|
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 \
|
|
|
|
${KRB5DIR}/lib/krb5/krb5_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)
|