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