1# $FreeBSD: src/usr.sbin/keyserv/Makefile,v 1.5.2.1 2001/04/25 12:09:50 ru Exp $ 2 3PROG= keyserv 4SRCS= keyserv.c setkey.c crypt_svc.c crypt_server.c crypt.h 5WARNS?= 2 6 7MAN= keyserv.8 8 9# DO NOT USE -static, dlopen() for _des_crypt symbol 10# XXX .undef NOSHARED 11 12CFLAGS+= -DKEYSERV_RANDOM -DBROKEN_DES -I. 13 14DPADD= ${LIBRPCSVC} 15LDADD= -lrpcsvc 16 17DPADD+= ${LIBCRYPTO} 18LDADD+= -lprivate_crypto 19LDFLAGS+= ${PRIVATELIB_LDFLAGS} 20CFLAGS+= -I${.CURDIR}/../../crypto/libressl/include 21 22RPCDIR= ${DESTDIR}/usr/include/rpcsvc 23 24CLEANFILES= crypt_svc.c crypt.h 25 26RPCGEN= rpcgen -C 27 28crypt_svc.c: ${RPCDIR}/crypt.x 29 ${RPCGEN} -m -o ${.TARGET} ${RPCDIR}/crypt.x 30 31crypt.h: ${RPCDIR}/crypt.x 32 ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x 33 34.include <bsd.prog.mk> 35