133f12199SDoug Rabson# $FreeBSD$ 233f12199SDoug Rabson 333f12199SDoug RabsonLIB= gssapi_spnego 4611ff617SStanislav SedovLDFLAGS= -Wl,-Bsymbolic -Wl,--no-undefined 5d65af1e7SBaptiste DaroussinLIBADD= gssapi heimbase asn1 roken 6ae771770SStanislav SedovSHLIB_MAJOR= 10 733f12199SDoug Rabson 833f12199SDoug RabsonSRCS= accept_sec_context.c \ 933f12199SDoug Rabson compat.c \ 1033f12199SDoug Rabson context_stubs.c \ 1133f12199SDoug Rabson cred_stubs.c \ 1233f12199SDoug Rabson external.c \ 1333f12199SDoug Rabson init_sec_context.c \ 14ae771770SStanislav Sedov freebsd_compat.c \ 15ae771770SStanislav Sedov ${GEN:S/.x$/.c/:S/.hx$/.h/} \ 16ae771770SStanislav Sedov gss_oid.c 1733f12199SDoug Rabson 1833f12199SDoug RabsonGEN= asn1_ContextFlags.x \ 1933f12199SDoug Rabson asn1_MechType.x \ 2033f12199SDoug Rabson asn1_MechTypeList.x \ 2133f12199SDoug Rabson asn1_NegotiationToken.x \ 2233f12199SDoug Rabson asn1_NegotiationTokenWin.x \ 2333f12199SDoug Rabson asn1_NegHints.x \ 2433f12199SDoug Rabson asn1_NegTokenInit.x \ 2533f12199SDoug Rabson asn1_NegTokenInitWin.x \ 26ae771770SStanislav Sedov asn1_NegTokenResp.x \ 27ae771770SStanislav Sedov spnego_asn1.hx \ 28ae771770SStanislav Sedov spnego_asn1-priv.hx 2933f12199SDoug Rabson 3033f12199SDoug RabsonCFLAGS+=-I${KRB5DIR}/lib/gssapi 31ae771770SStanislav SedovCFLAGS+=-I${KRB5DIR}/lib/gssapi/gssapi 32ae771770SStanislav SedovCFLAGS+=-I${KRB5DIR}/lib/gssapi/spnego 3333f12199SDoug RabsonCFLAGS+=-I${KRB5DIR}/lib/asn1 34ae771770SStanislav SedovCFLAGS+=-I${.CURDIR}/../../../lib/libgssapi 3533f12199SDoug RabsonCFLAGS+=-I${KRB5DIR}/lib/roken -I. 3633f12199SDoug Rabson 37ae771770SStanislav SedovCLEANFILES= ${GEN} ${GEN:S/.x$/.c/:S/.hx$/.h/} \ 38ae771770SStanislav Sedov spnego_asn1_files spnego_asn1-template.c 3933f12199SDoug Rabson 40f0258c45SPeter Wemm.ORDER: ${GEN} 41ae771770SStanislav Sedov${GEN}: spnego.asn1 spnego.opt 42ae771770SStanislav Sedov ${ASN1_COMPILE} --option-file=${.ALLSRC:M*.opt} \ 43ae771770SStanislav Sedov ${.ALLSRC:M*.asn1} spnego_asn1 4433f12199SDoug Rabson 45ae771770SStanislav Sedov.SUFFIXES: .h .c .x .hx 46ae771770SStanislav Sedov 47ae771770SStanislav Sedov.x.c: 48*7a37b5fcSWill Andrews ${CP} ${.IMPSRC} ${.TARGET} 49ae771770SStanislav Sedov 50ae771770SStanislav Sedov.hx.h: 51*7a37b5fcSWill Andrews ${CP} ${.IMPSRC} ${.TARGET} 5233f12199SDoug Rabson 5333f12199SDoug Rabson.include <bsd.lib.mk> 5433f12199SDoug Rabson 55ae771770SStanislav Sedov.SUFFIXES: .h .c .x .hx 56ae771770SStanislav Sedov 57ae771770SStanislav Sedov.PATH: ${KRB5DIR}/lib/gssapi/spnego ${.CURDIR}/../../../lib/libgssapi ${.CURDIR}/../libgssapi_krb5 58