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