summaryrefslogtreecommitdiff
path: root/usr.bin/key/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/key/Makefile')
-rw-r--r--usr.bin/key/Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/usr.bin/key/Makefile b/usr.bin/key/Makefile
index b8553abe3879..9612051552e7 100644
--- a/usr.bin/key/Makefile
+++ b/usr.bin/key/Makefile
@@ -1,21 +1,11 @@
-
# @(#)Makefile 5.6 (Berkeley) 3/5/91
#
PROG= key
-MAN1= key.1 skey.1
-CFLAGS+=-I${.CURDIR}/../../lib
-
-
-DPADD= /usr/bin/libskey.a
-LDADD= -lskey
-
-.if exists(/usr/lib/libcrypt.a)
-DPADD+= ${LIBCRYPT}
-LDADD+= -lcrypt
-.endif
-
SRCS= skey.c
+MAN1= key.1
-.include <bsd.prog.mk>
+DPADD= ${LIBSKEY} ${LIBMD}
+LDADD= -lskey -lmd
+.include <bsd.prog.mk>