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