Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libcrypt/Makefile
Show All 24 Lines | |||||
.PATH: ${.CURDIR}/../../secure/lib/libcrypt | .PATH: ${.CURDIR}/../../secure/lib/libcrypt | ||||
SRCS+= crypt-des.c crypt-blowfish.c blowfish.c | SRCS+= crypt-des.c crypt-blowfish.c blowfish.c | ||||
CFLAGS+= -I${.CURDIR} -DHAS_DES -DHAS_BLOWFISH | CFLAGS+= -I${.CURDIR} -DHAS_DES -DHAS_BLOWFISH | ||||
.endif | .endif | ||||
.for sym in MD4Init MD4Final MD4Update MD4Pad \ | .for sym in MD4Init MD4Final MD4Update MD4Pad \ | ||||
MD5Init MD5Final MD5Update MD5Pad \ | MD5Init MD5Final MD5Update MD5Pad \ | ||||
SHA256_Init SHA256_Final SHA256_Update \ | SHA256_Init SHA256_Final SHA256_Update \ | ||||
SHA384_Init SHA384_Final SHA384_Update \ | |||||
SHA512_Init SHA512_Final SHA512_Update | SHA512_Init SHA512_Final SHA512_Update | ||||
CFLAGS+= -D${sym}=__${sym} | CFLAGS+= -D${sym}=__${sym} | ||||
.endfor | .endfor | ||||
WARNS?= 2 | WARNS?= 2 | ||||
PRECIOUSLIB= | PRECIOUSLIB= | ||||
.if ${MK_TESTS} != "no" | .if ${MK_TESTS} != "no" | ||||
SUBDIR+= tests | SUBDIR+= tests | ||||
.endif | .endif | ||||
.include <bsd.lib.mk> | .include <bsd.lib.mk> | ||||
.include <bsd.subdir.mk> | .include <bsd.subdir.mk> |