Fix warning.
[dragonfly.git] / usr.sbin / keyserv / Makefile
blobd7c7b7026e97a6ac319dbf0870601ab8fb97bea2
1 # $FreeBSD: src/usr.sbin/keyserv/Makefile,v 1.5.2.1 2001/04/25 12:09:50 ru Exp $
2 # $DragonFly: src/usr.sbin/keyserv/Makefile,v 1.4 2005/01/11 13:22:40 joerg Exp $
4 PROG= keyserv
5 SRCS= keyserv.c setkey.c keyserv_uid.c crypt_svc.c crypt_server.c crypt.h
6 WARNS?= 6
8 MAN= keyserv.8
10 CFLAGS+= -DKEYSERV_RANDOM -DBROKEN_DES -I.
12 DPADD= ${LIBCRYPTO} ${LIBRPCSVC}
13 LDADD= -lcrypto -lrpcsvc
15 RPCDIR= ${DESTDIR}/usr/include/rpcsvc
17 CLEANFILES= crypt_svc.c crypt.h
19 RPCGEN= rpcgen -C
21 crypt_svc.c: ${RPCDIR}/crypt.x
22 ${RPCGEN} -m -o ${.TARGET} ${RPCDIR}/crypt.x
24 crypt.h: ${RPCDIR}/crypt.x
25 ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x
27 .include <bsd.prog.mk>