summaryrefslogtreecommitdiffstats
path: root/lib/libmd/Makefile
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1994-09-18 07:22:08 +0000
committerphk <phk@FreeBSD.org>1994-09-18 07:22:08 +0000
commitb1988f56d2424b4372577c5e04b4a0be383a4bb4 (patch)
treef38d2f055120fb91d10cc560d9001ff71f4d8b4a /lib/libmd/Makefile
parent84016a3007d6e1b73d42a634f2ed68c399b38f94 (diff)
downloadFreeBSD-src-b1988f56d2424b4372577c5e04b4a0be383a4bb4.zip
FreeBSD-src-b1988f56d2424b4372577c5e04b4a0be383a4bb4.tar.gz
libmd no longer built as shared-lib, only static.
Renamed the beforeinstall to test.
Diffstat (limited to 'lib/libmd/Makefile')
-rw-r--r--lib/libmd/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libmd/Makefile b/lib/libmd/Makefile
index 214594b..ee1274c 100644
--- a/lib/libmd/Makefile
+++ b/lib/libmd/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
LIB= md
+NOPIC= true
SRCS= md2c.c md4c.c md5c.c md2hl.c md4hl.c md5hl.c
MAN3+= mdX.3
MLINKS+=mdX.3 MD2Init.3 mdX.3 MD2Update.3 mdX.3 MD2Final.3
@@ -12,7 +13,7 @@ MLINKS+=mdX.3 MD5End.3 mdX.3 MD5File.3 mdX.3 MD5Data.3
CLEANFILES+= md[245]hl.c md[245].ref md[245].3 mddriver
CFLAGS+= -I${.CURDIR}
-all: md2.3 md2.ref md4.3 md4.ref md5.3 md5.ref
+all: md2.3 md4.3 md5.3
md2hl.c: mdXhl.c
sed -e 's/mdX/md2/g' -e 's/MDX/MD2/g' $> > $@
@@ -65,7 +66,7 @@ md5.ref:
@echo 'MD5 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") = d174ab98d277d9f5a5611c2c9f419d9f' >> $@
@echo 'MD5 ("12345678901234567890123456789012345678901234567890123456789012345678901234567890") = 57edf4a22be3c955ac49da2e2107b67a' >> $@
-beforeinstall:
+test: md2.ref md4.ref md5.ref
@${ECHO} if any of these test fail, the code produces wrong results
@${ECHO} and should NOT be used.
${CC} -static ${CFLAGS} ${LDFLAGS} -DMD=2 -o mddriver ${.CURDIR}/mddriver.c -L. -lmd
OpenPOWER on IntegriCloud