summaryrefslogtreecommitdiff
path: root/secure
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2001-05-24 12:20:03 +0000
committerMark Murray <markm@FreeBSD.org>2001-05-24 12:20:03 +0000
commit16063c03bdb0a0c190841aadae10a6b874f44a42 (patch)
tree4c5412b4bb64ae29043348c29a946b76b38e5412 /secure
parent9c1b63adf15f954509037cf43c37693d49ab8ac6 (diff)
Notes
Diffstat (limited to 'secure')
-rw-r--r--secure/lib/libcrypt/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/secure/lib/libcrypt/Makefile b/secure/lib/libcrypt/Makefile
index b46df113346b..f0db4882f3a6 100644
--- a/secure/lib/libcrypt/Makefile
+++ b/secure/lib/libcrypt/Makefile
@@ -16,16 +16,23 @@ SONAME= ${LCRYPTSO}
.endif
.PATH: ${.CURDIR}/../../../lib/libmd ${.CURDIR}/../../../lib/libcrypt
-SRCS= crypt.c crypt-md5.c misc.c
+SRCS= crypt.c crypt-md5.c md5c.c misc.c
STATICSRCS= md5c.c
STATICOBJS= ${STATICSRCS:S/.c/.o/g}
-SRCS+= crypt-des.c
+SRCS+= crypt-des.c crypt-blowfish.c blowfish.c
MAN3= crypt.3
MLINKS= crypt.3 crypt_get_format.3 crypt.3 crypt_set_format.3
CFLAGS+= -I${.CURDIR}/../../../lib/libmd
CFLAGS+= -I${.CURDIR}/../../../lib/libcrypt
-CFLAGS+= -DNONEXPORTABLE_CRYPT
+CFLAGS+= -DHAS_BLOWFISH -DHAS_DES
CFLAGS+= -DLIBC_SCCS -Wall
+# And the auth_getval() code and support.
+.PATH: ${.CURDIR}/../../../lib/libutil
+SRCS+= auth.c property.c
+.for sym in MD5Init MD5Final MD5Update MD5Pad auth_getval \
+ property_find properties_read properties_free
+CFLAGS+= -D${sym}=__${sym}
+.endfor
PRECIOUSLIB= yes
# Include this early to pick up the definitions of SHLIB_MAJOR and