summaryrefslogtreecommitdiffstats
path: root/usr.sbin/keyserv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/keyserv/Makefile')
-rw-r--r--usr.sbin/keyserv/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/usr.sbin/keyserv/Makefile b/usr.sbin/keyserv/Makefile
new file mode 100644
index 0000000..564e8ac
--- /dev/null
+++ b/usr.sbin/keyserv/Makefile
@@ -0,0 +1,24 @@
+# $Id: Makefile,v 1.2 1996/11/22 03:00:17 wpaul Exp wpaul $
+
+PROG= keyserv
+SRCS= keyserv.c setkey.c keyserv_uid.c crypt_svc.c crypt_server.c
+
+MAN8= keyserv.8
+
+CFLAGS+= -DKEYSERV_RANDOM -DBROKEN_DES -I.
+
+LDADD+= -lmp -lrpcsvc
+
+RPCDIR= ${DESTDIR}/usr/include/rpcsvc
+
+CLEANFILES= crypt_svc.c crypt.h
+
+RPCGEN= rpcgen -C
+
+crypt_svc.c: ${RPCDIR}/crypt.x crypt.h
+ ${RPCGEN} -m -o ${.TARGET} ${RPCDIR}/crypt.x
+
+crypt.h: ${RPCDIR}/crypt.x
+ ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud