1 2PROG= keyserv 3MAN= keyserv.8 4SRCS= keyserv.c setkey.c crypt_svc.c crypt_server.c crypt.h 5 6CFLAGS+= -DBROKEN_DES -I. 7 8LIBADD= mp rpcsvc 9 10WARNS?= 1 11 12RPCDIR= ${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc 13 14CLEANFILES= crypt_svc.c crypt.h 15 16RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -C 17 18crypt_svc.c: ${RPCDIR}/crypt.x 19 ${RPCGEN} -m -o ${.TARGET} ${RPCDIR}/crypt.x 20 21crypt.h: ${RPCDIR}/crypt.x 22 ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x 23 24.include <bsd.prog.mk> 25