133f12199SDoug Rabson# $FreeBSD$ 233f12199SDoug Rabson 3*a30235a4SEmmanuel VadotPACKAGE= kerberos 4*a30235a4SEmmanuel Vadot 533f12199SDoug RabsonLIB= gssapi_spnego 6611ff617SStanislav SedovLDFLAGS= -Wl,-Bsymbolic -Wl,--no-undefined 7d65af1e7SBaptiste DaroussinLIBADD= gssapi heimbase asn1 roken 8ae771770SStanislav SedovSHLIB_MAJOR= 10 933f12199SDoug Rabson 1033f12199SDoug RabsonSRCS= accept_sec_context.c \ 1133f12199SDoug Rabson compat.c \ 1233f12199SDoug Rabson context_stubs.c \ 1333f12199SDoug Rabson cred_stubs.c \ 1433f12199SDoug Rabson external.c \ 1533f12199SDoug Rabson init_sec_context.c \ 16ae771770SStanislav Sedov freebsd_compat.c \ 17ae771770SStanislav Sedov ${GEN:S/.x$/.c/:S/.hx$/.h/} \ 18ae771770SStanislav Sedov gss_oid.c 1933f12199SDoug Rabson 2033f12199SDoug RabsonGEN= asn1_ContextFlags.x \ 2133f12199SDoug Rabson asn1_MechType.x \ 2233f12199SDoug Rabson asn1_MechTypeList.x \ 2333f12199SDoug Rabson asn1_NegotiationToken.x \ 2433f12199SDoug Rabson asn1_NegotiationTokenWin.x \ 2533f12199SDoug Rabson asn1_NegHints.x \ 2633f12199SDoug Rabson asn1_NegTokenInit.x \ 2733f12199SDoug Rabson asn1_NegTokenInitWin.x \ 28ae771770SStanislav Sedov asn1_NegTokenResp.x \ 29ae771770SStanislav Sedov spnego_asn1.hx \ 30ae771770SStanislav Sedov spnego_asn1-priv.hx 3133f12199SDoug Rabson 3233f12199SDoug RabsonCFLAGS+=-I${KRB5DIR}/lib/gssapi 33ae771770SStanislav SedovCFLAGS+=-I${KRB5DIR}/lib/gssapi/gssapi 34ae771770SStanislav SedovCFLAGS+=-I${KRB5DIR}/lib/gssapi/spnego 3533f12199SDoug RabsonCFLAGS+=-I${KRB5DIR}/lib/asn1 364c3e79ceSEnji CooperCFLAGS+=-I${SRCTOP}/lib/libgssapi 3733f12199SDoug RabsonCFLAGS+=-I${KRB5DIR}/lib/roken -I. 3833f12199SDoug Rabson 39ae771770SStanislav SedovCLEANFILES= ${GEN} ${GEN:S/.x$/.c/:S/.hx$/.h/} \ 40ae771770SStanislav Sedov spnego_asn1_files spnego_asn1-template.c 4133f12199SDoug Rabson 42f0258c45SPeter Wemm.ORDER: ${GEN} 4392edc966SBryan Drewery${GEN:[2..-1]}: .NOMETA 44ae771770SStanislav Sedov${GEN}: spnego.asn1 spnego.opt 45ae771770SStanislav Sedov ${ASN1_COMPILE} --option-file=${.ALLSRC:M*.opt} \ 46ae771770SStanislav Sedov ${.ALLSRC:M*.asn1} spnego_asn1 4733f12199SDoug Rabson 48ae771770SStanislav Sedov.SUFFIXES: .h .c .x .hx 49ae771770SStanislav Sedov 50ae771770SStanislav Sedov.x.c: 517a37b5fcSWill Andrews ${CP} ${.IMPSRC} ${.TARGET} 52ae771770SStanislav Sedov 53ae771770SStanislav Sedov.hx.h: 547a37b5fcSWill Andrews ${CP} ${.IMPSRC} ${.TARGET} 5533f12199SDoug Rabson 5633f12199SDoug Rabson.include <bsd.lib.mk> 5733f12199SDoug Rabson 58ae771770SStanislav Sedov.SUFFIXES: .h .c .x .hx 59ae771770SStanislav Sedov 604c3e79ceSEnji Cooper.PATH: ${KRB5DIR}/lib/gssapi/spnego ${SRCTOP}/lib/libgssapi ${.CURDIR:H}/libgssapi_krb5 61