1# $FreeBSD$ 2 3PROG= keyserv 4MAN= keyserv.8 5SRCS= keyserv.c setkey.c crypt_svc.c crypt_server.c crypt.h 6 7CFLAGS+= -DKEYSERV_RANDOM -DBROKEN_DES -I. 8 9DPADD= ${LIBMP} ${LIBCRYPTO} ${LIBRPCSVC} 10LDADD= -lmp -lcrypto -lrpcsvc 11 12RPCDIR= ${DESTDIR}/usr/include/rpcsvc 13 14CLEANFILES= crypt_svc.c crypt.h 15 16RPCGEN= 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