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