aboutsummaryrefslogtreecommitdiff
path: root/lib/libmd
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2017-03-06 21:06:55 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2017-03-06 21:06:55 +0000
commita1b9cad56bb496b4c9531fad530dff32545cbe63 (patch)
tree956e53585c7c86549253e15bc440bdc9a7d175a9 /lib/libmd
parent63bb40b55dc047aebb619ca4678555fb3d0309e4 (diff)
Notes
Diffstat (limited to 'lib/libmd')
-rw-r--r--lib/libmd/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libmd/Makefile b/lib/libmd/Makefile
index f7de303333e3f..d9cc13db7ef58 100644
--- a/lib/libmd/Makefile
+++ b/lib/libmd/Makefile
@@ -72,6 +72,13 @@ CLEANFILES+= md[245]hl.c md[245].ref md[245].3 mddriver \
skein256.ref skein512.ref skein1024.ref \
skeindriver
+# Need src tree sys/md5.h for MD5FileChunk prototype on older systems.
+SRCS+= sys/md5.h
+CLEANDIRS= sys
+CFLAGS+= -I.
+sys/md5.h: ${SRCTOP}/sys/${.TARGET} .NOMETA
+ ln -sf ${.ALLSRC} ${.TARGET}
+
# Define WEAK_REFS to provide weak aliases for libmd symbols
#
# Note that the same sources are also used internally by libcrypt,