Start removing the old build infrastructure for the a.out
[dragonfly.git] / usr.sbin / keyserv / Makefile
CommitLineData
984263bc 1# $FreeBSD: src/usr.sbin/keyserv/Makefile,v 1.5.2.1 2001/04/25 12:09:50 ru Exp $
aa8d5dcb 2# $DragonFly: src/usr.sbin/keyserv/Makefile,v 1.3 2004/03/20 16:27:42 drhodus Exp $
984263bc
MD
3
4PROG= keyserv
5SRCS= keyserv.c setkey.c keyserv_uid.c crypt_svc.c crypt_server.c crypt.h
6
7MAN= keyserv.8
8
9CFLAGS+= -DKEYSERV_RANDOM -DBROKEN_DES -I.
984263bc
MD
10
11DPADD= ${LIBMP} ${LIBRPCSVC}
12LDADD= -lmp -lrpcsvc
13
14RPCDIR= ${DESTDIR}/usr/include/rpcsvc
15
16CLEANFILES= crypt_svc.c crypt.h
17
18RPCGEN= rpcgen -C
19
20crypt_svc.c: ${RPCDIR}/crypt.x
21 ${RPCGEN} -m -o ${.TARGET} ${RPCDIR}/crypt.x
22
23crypt.h: ${RPCDIR}/crypt.x
24 ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x
25
26.include <bsd.prog.mk>