xref: /freebsd/sbin/md5/Makefile (revision 3c4ba5f55438f7afd4f4b0b56f88f2bb505fd6a6)
1#	@(#)Makefile	8.1 (Berkeley) 6/9/93
2# $FreeBSD$
3
4PACKAGE=runtime
5PROG=	md5
6
7LINKS=	${BINDIR}/md5 ${BINDIR}/md5sum \
8	${BINDIR}/md5 ${BINDIR}/rmd160 \
9	${BINDIR}/md5 ${BINDIR}/rmd160sum \
10	${BINDIR}/md5 ${BINDIR}/sha1 \
11	${BINDIR}/md5 ${BINDIR}/sha1sum \
12	${BINDIR}/md5 ${BINDIR}/sha224 \
13	${BINDIR}/md5 ${BINDIR}/sha224sum \
14	${BINDIR}/md5 ${BINDIR}/sha256 \
15	${BINDIR}/md5 ${BINDIR}/sha256sum \
16	${BINDIR}/md5 ${BINDIR}/sha384 \
17	${BINDIR}/md5 ${BINDIR}/sha384sum \
18	${BINDIR}/md5 ${BINDIR}/sha512 \
19	${BINDIR}/md5 ${BINDIR}/sha512sum \
20	${BINDIR}/md5 ${BINDIR}/sha512t224 \
21	${BINDIR}/md5 ${BINDIR}/sha512t224sum \
22	${BINDIR}/md5 ${BINDIR}/sha512t256 \
23	${BINDIR}/md5 ${BINDIR}/sha512t256sum \
24	${BINDIR}/md5 ${BINDIR}/skein256 \
25	${BINDIR}/md5 ${BINDIR}/skein256sum \
26	${BINDIR}/md5 ${BINDIR}/skein512 \
27	${BINDIR}/md5 ${BINDIR}/skein512sum \
28	${BINDIR}/md5 ${BINDIR}/skein1024 \
29	${BINDIR}/md5 ${BINDIR}/skein1024sum
30
31MLINKS=	md5.1 md5sum.1 \
32	md5.1 rmd160.1 \
33	md5.1 rmd160sum.1 \
34	md5.1 sha1.1 \
35	md5.1 sha1sum.1 \
36	md5.1 sha224.1 \
37	md5.1 sha224sum.1 \
38	md5.1 sha256.1 \
39	md5.1 sha256sum.1 \
40	md5.1 sha384.1 \
41	md5.1 sha384sum.1 \
42	md5.1 sha512.1 \
43	md5.1 sha512sum.1 \
44	md5.1 sha512t224.1 \
45	md5.1 sha512t224sum.1 \
46	md5.1 sha512t256.1 \
47	md5.1 sha512t256sum.1 \
48	md5.1 skein256.1 \
49	md5.1 skein256sum.1 \
50	md5.1 skein512.1 \
51	md5.1 skein512sum.1 \
52	md5.1 skein1024.1 \
53	md5.1 skein1024sum.1
54
55LIBADD=	md
56
57.ifndef(BOOTSTRAPPING)
58# Avoid depending on capsicum during bootstrap. caph_limit_stdout() is not
59# available when building for Linux/MacOS or older FreeBSD hosts.
60# We need to bootstrap md5 when building on Linux since the md5sum command there
61# produces different output.
62CFLAGS+=-DHAVE_CAPSICUM
63.endif
64
65.include <src.opts.mk>
66
67HAS_TESTS=
68SUBDIR.${MK_TESTS}+= tests
69
70.include <bsd.prog.mk>
71