summaryrefslogtreecommitdiffstats
path: root/lib/libmd
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-09-05 11:49:43 +0000
committerpeter <peter@FreeBSD.org>1997-09-05 11:49:43 +0000
commit62978560dae1debdec598424c46367babc1ef85b (patch)
tree1ed0c265fd87cc1463ebd0e5e5d23fb5031b14c0 /lib/libmd
parentaceb39e183d078c3e125b61c28eb4f3d209d843c (diff)
downloadFreeBSD-src-62978560dae1debdec598424c46367babc1ef85b.zip
FreeBSD-src-62978560dae1debdec598424c46367babc1ef85b.tar.gz
If not building a.out, still build a pic version of libmd. This allows
things like libskey.so to be dynamically self contained. Things like md5(1) where speed is critical should still link with libmd.a, but for things like login, where it's a once-off call if skey is used, it's not worth the hassle.
Diffstat (limited to 'lib/libmd')
-rw-r--r--lib/libmd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libmd/Makefile b/lib/libmd/Makefile
index 3969862..270bd26 100644
--- a/lib/libmd/Makefile
+++ b/lib/libmd/Makefile
@@ -1,7 +1,9 @@
-# $Id$
+# $Id: Makefile,v 1.23 1997/02/22 15:07:10 peter Exp $
LIB= md
+.if ${BINFORMAT} != elf
NOPIC= true
+.endif
SRCS= md2c.c md4c.c md5c.c md2hl.c md4hl.c md5hl.c
MAN3+= md2.3 md4.3 md5.3
MLINKS+=md2.3 MD2Init.3 md2.3 MD2Update.3 md2.3 MD2Final.3
OpenPOWER on IntegriCloud