Makefile.inc revision 125261
183105Sphantom# $FreeBSD: head/kerberos5/Makefile.inc 125261 2004-01-31 08:15:57Z ru $ 283105Sphantom 383105SphantomDISTRIBUTION?= crypto 483105SphantomNOLINT= true 583105Sphantom 683105SphantomKRB5DIR= ${.CURDIR}/../../../crypto/heimdal 783105Sphantom 883105SphantomCFLAGS+= -I${.CURDIR}/../../include -DHAVE_CONFIG_H 983105Sphantom 1083105SphantomCFLAGS+=-DINET6 1183105Sphantom 1283105Sphantom.if defined(WITH_OPENLDAP) 1383105SphantomOPENLDAPBASE?= /usr/local 1483105SphantomLDAPLDADD= -lldap -llber 1583105SphantomLDAPDPADD= ${LDAPLDADD:C;^-l(.*)$;${OPENLDAPBASE}/lib/lib\1.a;} 1683105SphantomLDAPCFLAGS= -I${OPENLDAPBASE}/include -DOPENLDAP=1 1783105SphantomLDAPLDFLAGS= -L${OPENLDAPBASE}/lib -Wl,-rpath,${OPENLDAPBASE}/lib 1883105Sphantom.endif 1983105Sphantom 2083105Sphantom.if exists(${.OBJDIR}/../../lib/libvers) 2183105SphantomLIBVERS= ${.OBJDIR}/../../lib/libvers/libvers.a 2283105Sphantom.else 2383105SphantomLIBVERS= ${.CURDIR}/../../lib/libvers/libvers.a 2483105Sphantom.endif 2583105Sphantom 2683105Sphantom.if exists(${.OBJDIR}/../../lib/libsl) 2783105SphantomLIBSL= ${.OBJDIR}/../../lib/libsl/libsl.a 2883105Sphantom.else 2983105SphantomLIBSL= ${.CURDIR}/../../lib/libsl/libsl.a 3083105Sphantom.endif 3183105Sphantom 3283105Sphantom.if defined(SRCS) 3383105Sphantom 3483105SphantomETSRCS= \ 3583105Sphantom ${KRB5DIR}/lib/asn1/asn1_err.et \ 3683105Sphantom ${KRB5DIR}/lib/hdb/hdb_err.et \ 3783105Sphantom ${KRB5DIR}/lib/kadm5/kadm5_err.et \ 3883105Sphantom ${KRB5DIR}/lib/krb5/heim_err.et \ 3983105Sphantom ${KRB5DIR}/lib/krb5/k524_err.et \ 4083105Sphantom ${KRB5DIR}/lib/krb5/krb5_err.et 41 42.for ET in ${ETSRCS} 43.for _ET in ${ET:T:R} 44.if ${SRCS:M${_ET}.[ch]} != "" 45.ORDER: ${_ET}.c ${_ET}.h 46${_ET}.c ${_ET}.h: ${ET} 47 compile_et ${.ALLSRC} 48CLEANFILES+= ${_ET}.h ${_ET}.c 49.endif 50.endfor 51.endfor 52 53.endif defined(SRCS) 54