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 12WARNS?= 1 13 14RPCDIR= ${DESTDIR}/usr/include/rpcsvc 15 16CLEANFILES= crypt_svc.c crypt.h 17 18RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -C 19 20crypt_svc.c: ${RPCDIR}/crypt.x 21 ${RPCGEN} -m -o ${.TARGET} ${RPCDIR}/crypt.x 22 23crypt.h: ${RPCDIR}/crypt.x 24 ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x 25 26.include <bsd.prog.mk> 27