xref: /freebsd/sbin/md5/Makefile (revision 123af6ec70016f5556da5972d4d63c7d175c06d3)
1#	@(#)Makefile	8.1 (Berkeley) 6/9/93
2# $FreeBSD$
3
4PACKAGE=runtime
5PROG=	md5
6
7LINKS=	${BINDIR}/md5 ${BINDIR}/rmd160 \
8	${BINDIR}/md5 ${BINDIR}/sha1 \
9	${BINDIR}/md5 ${BINDIR}/sha224 \
10	${BINDIR}/md5 ${BINDIR}/sha256 \
11	${BINDIR}/md5 ${BINDIR}/sha384 \
12	${BINDIR}/md5 ${BINDIR}/sha512 \
13	${BINDIR}/md5 ${BINDIR}/sha512t256 \
14	${BINDIR}/md5 ${BINDIR}/skein256 \
15	${BINDIR}/md5 ${BINDIR}/skein512 \
16	${BINDIR}/md5 ${BINDIR}/skein1024
17
18MLINKS=	md5.1 rmd160.1 \
19	md5.1 sha1.1 \
20	md5.1 sha224.1 \
21	md5.1 sha256.1 \
22	md5.1 sha384.1 \
23	md5.1 sha512.1 \
24	md5.1 sha512t256.1 \
25	md5.1 skein256.1 \
26	md5.1 skein512.1 \
27	md5.1 skein1024.1
28
29LIBADD=	md
30
31.ifndef(BOOTSTRAPPING)
32# Avoid depending on capsicum during bootstrap. caph_limit_stdout() is not
33# available when building for Linux/MacOS or older FreeBSD hosts.
34# We need to bootstrap md5 when building on Linux since the md5sum command there
35# produces different output.
36CFLAGS+=-DHAVE_CAPSICUM
37.endif
38
39.include <bsd.prog.mk>
40