1# $FreeBSD$ 2 3.include <src.opts.mk> 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" 14LIBADD+= krb5 roken 15.else 16CFLAGS+= -DWITHOUT_KERBEROS 17.endif 18 19CLEANFILES= gssd_svc.c gssd_xdr.c gssd.h 20 21RPCSRC= ${.CURDIR}/../../sys/kgssapi/gssd.x 22RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C -M 23 24gssd_svc.c: ${RPCSRC} gssd.h 25 ${RPCGEN} -m -o ${.TARGET} ${RPCSRC} 26 27gssd_xdr.c: ${RPCSRC} gssd.h 28 ${RPCGEN} -c -o ${.TARGET} ${RPCSRC} 29 30gssd.h: ${RPCSRC} 31 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} 32 33.PATH: ${.CURDIR}/../../sys/kgssapi 34 35.include <bsd.prog.mk> 36