summaryrefslogtreecommitdiff
path: root/bin/md5/Makefile
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-05-02 17:53:30 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-05-02 17:53:30 +0000
commit2703095deabe1883d7dda3e95852f52097d54bf4 (patch)
tree1dcfb75e2e996ada4c9c700d2e4a8d8c934d5594 /bin/md5/Makefile
parentf7c264cb8b1df6686e190fe61da1eb83d0639ae0 (diff)
Add support for cksum (3 varieties), md4, sha256, sha384, and sha512.
Consequently, cksum moves becomes a link to md5 and moves to /bin. The cksum man page could use some polishing.
Diffstat (limited to 'bin/md5/Makefile')
-rw-r--r--bin/md5/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/md5/Makefile b/bin/md5/Makefile
index 15eae48f19e..adb46529673 100644
--- a/bin/md5/Makefile
+++ b/bin/md5/Makefile
@@ -1,9 +1,14 @@
-# $OpenBSD: Makefile,v 1.7 2003/04/26 23:32:23 deraadt Exp $
+# $OpenBSD: Makefile,v 1.8 2004/05/02 17:53:29 millert Exp $
PROG= md5
-MAN= md5.1 sha1.1 rmd160.1
+SRCS= crc.c md5.c
+MAN= cksum.1 md5.1 sha1.1 rmd160.1
LINKS= ${BINDIR}/md5 ${BINDIR}/sha1 \
- ${BINDIR}/md5 ${BINDIR}/rmd160
+ ${BINDIR}/md5 ${BINDIR}/rmd160 \
+ ${BINDIR}/md5 ${BINDIR}/cksum \
+ ${BINDIR}/md5 ${BINDIR}/sum
+
+CPPFLAGS+= -I${.CURDIR}
COPTS+= -ansi -Wall -Wconversion -Wmissing-prototypes
.include <bsd.prog.mk>