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