1.include <src.opts.mk> 2 3PACKAGE= kerberos 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 12LIBADD= gssapi 13.if ${MK_KERBEROS_SUPPORT} != "no" 14.if ${MK_MITKRB5} != "no" 15# MIT KRB5 16LIBADD+= krb5 k5crypto krb5profile krb5support 17CFLAGS+= -DMK_MITKRB5=yes 18.else 19# Heimdal 20LIBADD+= krb5 roken 21.endif 22.else 23CFLAGS+= -DWITHOUT_KERBEROS 24.endif 25 26CLEANFILES= gssd_svc.c gssd_xdr.c gssd.h 27 28RPCSRC= ${SRCTOP}/sys/kgssapi/gssd.x 29RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C -M 30 31gssd_svc.c: ${RPCSRC} gssd.h 32 ${RPCGEN} -m -o ${.TARGET} ${RPCSRC} 33 34gssd_xdr.c: ${RPCSRC} gssd.h 35 ${RPCGEN} -c -o ${.TARGET} ${RPCSRC} 36 37gssd.h: ${RPCSRC} 38 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} 39 40.PATH: ${SRCTOP}/sys/kgssapi 41 42.include <bsd.prog.mk> 43