1984263bcSMatthew Dillon# 2984263bcSMatthew Dillon# $FreeBSD: src/lib/libcrypt/Makefile,v 1.24.2.4 2001/07/16 03:28:26 peter Exp $ 3984263bcSMatthew Dillon# 4984263bcSMatthew Dillon 5d8ee3b5dSSamuel J. GreearSHLIB_MAJOR= 4 6984263bcSMatthew DillonLIB= crypt 717f97226SFrançois TigeotSHLIBDIR?= /lib 8984263bcSMatthew Dillon 9fef7d5c7SSascha WildnerSRCS= blowfish.c crypt.c crypt-blowfish.c crypt-des.c crypt-md5.c \ 10bc4d84b2Szrj crypt-sha256.c crypt-sha512.c crypt-xsi.c \ 11d8ee3b5dSSamuel J. Greear deprecated-crypt-sha256.c deprecated-crypt-sha512.c \ 12*aeb97e6cSzrj misc.c 13f7d9d915SSascha WildnerWARNS?= 2 140de090e1SMatthew DillonNO_STRICT_ALIASING= 150de090e1SMatthew Dillon 16984263bcSMatthew DillonMAN= crypt.3 17984263bcSMatthew DillonMLINKS= crypt.3 crypt_get_format.3 crypt.3 crypt_set_format.3 18bc4d84b2SzrjMLINKS+= crypt.3 encrypt.3 crypt.3 setkey.3 19*aeb97e6cSzrjCFLAGS+= -I${.CURDIR}/../omd -I${.CURDIR}/../libutil 200fe46dc6SMatthew DillonCFLAGS+= -I${.CURDIR}/../../crypto/libressl/include 21984263bcSMatthew DillonCFLAGS+= -I${.CURDIR} -DHAS_DES -DHAS_BLOWFISH 22984263bcSMatthew Dillon# And the auth_getval() code and support. 23984263bcSMatthew Dillon.PATH: ${.CURDIR}/../libutil 24984263bcSMatthew DillonSRCS+= auth.c property.c 25*aeb97e6cSzrj.for sym in auth_getval property_find properties_read properties_free 2621137e2fSMatthew DillonCFLAGS+= -D${sym}=_libcrypt_${sym} 27984263bcSMatthew Dillon.endfor 28984263bcSMatthew DillonPRECIOUSLIB= yes 29984263bcSMatthew Dillon 30984263bcSMatthew Dillon.include <bsd.lib.mk> 31