1 2PACKAGE= kerberos-lib 3 4LIB= gssapi_spnego 5LDFLAGS= -Wl,-Bsymbolic -Wl,--no-undefined 6LIBADD= gssapi heimbase asn1 roken 7SHLIB_MAJOR= 10 8 9SRCS= accept_sec_context.c \ 10 compat.c \ 11 context_stubs.c \ 12 cred_stubs.c \ 13 external.c \ 14 init_sec_context.c \ 15 freebsd_compat.c \ 16 ${GEN:S/.x$/.c/:S/.hx$/.h/} \ 17 gss_oid.c 18 19GEN= asn1_ContextFlags.x \ 20 asn1_MechType.x \ 21 asn1_MechTypeList.x \ 22 asn1_NegotiationToken.x \ 23 asn1_NegotiationTokenWin.x \ 24 asn1_NegHints.x \ 25 asn1_NegTokenInit.x \ 26 asn1_NegTokenInitWin.x \ 27 asn1_NegTokenResp.x \ 28 spnego_asn1.hx \ 29 spnego_asn1-priv.hx 30 31CFLAGS+=-I${KRB5DIR}/lib/gssapi 32CFLAGS+=-I${KRB5DIR}/lib/gssapi/gssapi 33CFLAGS+=-I${KRB5DIR}/lib/gssapi/spnego 34CFLAGS+=-I${KRB5DIR}/lib/asn1 35CFLAGS+=-I${SRCTOP}/lib/libgssapi 36CFLAGS+=-I${KRB5DIR}/lib/roken -I. 37 38CLEANFILES= ${GEN} ${GEN:S/.x$/.c/:S/.hx$/.h/} \ 39 spnego_asn1_files spnego_asn1-template.c 40 41.ORDER: ${GEN} 42${GEN:[2..-1]}: .NOMETA 43${GEN}: spnego.asn1 spnego.opt 44 ${ASN1_COMPILE} --option-file=${.ALLSRC:M*.opt} \ 45 ${.ALLSRC:M*.asn1} spnego_asn1 46 47.SUFFIXES: .h .c .x .hx 48 49.x.c: 50 ${CP} ${.IMPSRC} ${.TARGET} 51 52.hx.h: 53 ${CP} ${.IMPSRC} ${.TARGET} 54 55.include <bsd.lib.mk> 56 57.SUFFIXES: .h .c .x .hx 58 59.PATH: ${KRB5DIR}/lib/gssapi/spnego ${SRCTOP}/lib/libgssapi ${.CURDIR:H}/libgssapi_krb5 60