1.include <src.opts.mk> 2 3PACKAGE= gssd 4 5PROG= gssd 6MAN= gssd.8 7SRCS= gssd.c gssd.h gssd_svc.c gssd_xdr.c gssd_prot.c 8 9CFLAGS+= -I. 10WARNS?= 1 11 12.if ${MK_MITKRB5} != "no" 13# MIT KRB5 14LIBADD+= gssapi_krb5 krb5 k5crypto krb5profile krb5support 15CFLAGS+= -DMK_MITKRB5=yes 16.else 17# Heimdal 18LIBADD+= gssapi krb5 roken 19.endif 20 21CLEANFILES= gssd_svc.c gssd_xdr.c gssd.h 22 23RPCSRC= ${SRCTOP}/sys/kgssapi/gssd.x 24RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C -M 25 26gssd_svc.c: ${RPCSRC} gssd.h 27 ${RPCGEN} -m -o ${.TARGET} ${RPCSRC} 28 29gssd_xdr.c: ${RPCSRC} gssd.h 30 ${RPCGEN} -c -o ${.TARGET} ${RPCSRC} 31 32gssd.h: ${RPCSRC} 33 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} 34 35.PATH: ${SRCTOP}/sys/kgssapi 36 37.include <bsd.prog.mk> 38