9 .PATH: ${.CURDIR}/../libmd
10 SRCS= crypt.c misc.c \
14 MLINKS= crypt.3 crypt_get_format.3 crypt.3 crypt_set_format.3
15 CFLAGS+= -I${.CURDIR}/../libmd -I${.CURDIR}/../libutil
17 # Pull in the strong crypto, if it is present.
18 .if exists(${.CURDIR}/../../secure/lib/libcrypt) && !defined(NO_CRYPT)
19 .PATH: ${.CURDIR}/../../secure/lib/libcrypt
20 SRCS+= crypt-des.c crypt-blowfish.c blowfish.c
21 CFLAGS+= -I${.CURDIR} -DHAS_DES -DHAS_BLOWFISH
24 # And the auth_getval() code and support.
25 .PATH: ${.CURDIR}/../libutil
26 SRCS+= auth.c property.c
27 .for sym in auth_getval property_find properties_read properties_free \
28 MD4Init MD4Final MD4Update MD4Pad \
29 MD5Init MD5Final MD5Update MD5Pad
30 CFLAGS+= -D${sym}=__${sym}