summaryrefslogtreecommitdiffstats
path: root/lib/libmd
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-08-04 21:20:03 +0000
committerwollman <wollman@FreeBSD.org>1994-08-04 21:20:03 +0000
commit39c6e29318136a67af4c3a2f89b64795385f81ec (patch)
treef1d5bd35adc84497a5a6533c56bdbbe7c09108a3 /lib/libmd
parentd0e08020fbfcb0f571ddbf2768d3dad9c953d017 (diff)
downloadFreeBSD-src-39c6e29318136a67af4c3a2f89b64795385f81ec.zip
FreeBSD-src-39c6e29318136a67af4c3a2f89b64795385f81ec.tar.gz
Make obj directory work right. md?hl.c should probably be
deleted, but I'll leave that up to PHK.
Diffstat (limited to 'lib/libmd')
-rw-r--r--lib/libmd/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libmd/Makefile b/lib/libmd/Makefile
index 36a798a..cc4f8cb 100644
--- a/lib/libmd/Makefile
+++ b/lib/libmd/Makefile
@@ -10,6 +10,7 @@ MLINKS+=md4.3 MD4End.3 md4.3 MD4File.3 md4.3 MD4Data.3
MLINKS+=md5.3 MD5Init.3 md5.3 MD5Update.3 md5.3 MD5Final.3
MLINKS+=md5.3 MD5End.3 md5.3 MD5File.3 md5.3 MD5Data.3
CLEANFILES+= md[245]hl.c md[245].ref md[245].3
+CFLAGS+= -I${.CURDIR}
md2hl.c: mdXhl.c
sed -e 's/mdX/md2/g' -e 's/MDX/MD2/g' $> > $@
@@ -76,4 +77,6 @@ beforeinstall: md2.ref md4.ref md5.ref md2.3 md4.3 md5.3
@echo MD5 passed test
-rm -f mddriver
+beforedepend: md2hl.c md4hl.c md5hl.c
+
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud