4 LDFLAGS= -Wl,-Bsymbolic -Wl,--no-undefined
5 LDADD= -lgssapi -lheimbase -lasn1 -lroken
6 DPADD= ${LIBGSSAPI} ${LIBHEIMBASE} ${LIBASN1} ${LIBROKEN}
9 SRCS= accept_sec_context.c \
19 ${GEN:S/.x$/.c/:S/.hx$/.h/} \
22 GEN= asn1_ContextFlags.x \
25 asn1_NegotiationToken.x \
26 asn1_NegotiationTokenWin.x \
29 asn1_NegTokenInitWin.x \
34 CFLAGS+=-I${KRB5DIR}/lib/gssapi
35 CFLAGS+=-I${KRB5DIR}/lib/gssapi/gssapi
36 CFLAGS+=-I${KRB5DIR}/lib/gssapi/spnego
37 CFLAGS+=-I${KRB5DIR}/lib/asn1
38 CFLAGS+=-I${.CURDIR}/../../../lib/libgssapi
39 CFLAGS+=-I${KRB5DIR}/lib/roken -I.
41 CLEANFILES= ${GEN} ${GEN:S/.x$/.c/:S/.hx$/.h/} \
42 spnego_asn1_files spnego_asn1-template.c
44 ASN1_COMPILE= asn1_compile
46 ${GEN}: spnego.asn1 spnego.opt
47 ${ASN1_COMPILE} --option-file=${.ALLSRC:M*.opt} \
48 ${.ALLSRC:M*.asn1} spnego_asn1
50 .SUFFIXES: .h .c .x .hx
53 cmp -s ${.IMPSRC} ${.TARGET} 2> /dev/null || cp ${.IMPSRC} ${.TARGET}
56 cmp -s ${.IMPSRC} ${.TARGET} 2> /dev/null || cp ${.IMPSRC} ${.TARGET}
60 .SUFFIXES: .h .c .x .hx
62 .PATH: ${KRB5DIR}/lib/gssapi/spnego ${.CURDIR}/../../../lib/libgssapi ${.CURDIR}/../libgssapi_krb5