1# $FreeBSD$ 2 3PROG= keyserv 4SRCS= keyserv.c setkey.c keyserv_uid.c crypt_svc.c crypt_server.c crypt.h 5 6MAN8= keyserv.8 7 8CFLAGS+= -DKEYSERV_RANDOM -DBROKEN_DES -I. 9.if $(OBJFORMAT) == elf 10CFLAGS+= -DOBJFORMAT_ELF 11.endif 12 13DPADD= ${LIBMP} ${LIBRPCSVC} 14LDADD= -lmp -lrpcsvc 15 16RPCDIR= ${DESTDIR}/usr/include/rpcsvc 17 18CLEANFILES= crypt_svc.c crypt.h 19 20RPCGEN= rpcgen -C 21 22crypt_svc.c: ${RPCDIR}/crypt.x 23 ${RPCGEN} -m -o ${.TARGET} ${RPCDIR}/crypt.x 24 25crypt.h: ${RPCDIR}/crypt.x 26 ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x 27 28.include <bsd.prog.mk> 29