diff options
author | jkim <jkim@FreeBSD.org> | 2012-07-12 19:30:53 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2012-07-12 19:30:53 +0000 |
commit | e393e47b1e23744a7d0ed999afb5d137070f5f8f (patch) | |
tree | 9739a803477c4610ec6628d914bdcc55fbb3602a /secure/lib/libcrypto/Makefile.inc | |
parent | a8b00dea2cde4c3d96e6ed1de530ddff21012266 (diff) | |
parent | 532b4084cb8cac5e6d91d42aa6a497dd4ba4a4f5 (diff) | |
download | FreeBSD-src-e393e47b1e23744a7d0ed999afb5d137070f5f8f.zip FreeBSD-src-e393e47b1e23744a7d0ed999afb5d137070f5f8f.tar.gz |
Merge OpenSSL 1.0.1c.
Approved by: benl (maintainer)
Diffstat (limited to 'secure/lib/libcrypto/Makefile.inc')
-rw-r--r-- | secure/lib/libcrypto/Makefile.inc | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc index fe31ea0..b55fb5e 100644 --- a/secure/lib/libcrypto/Makefile.inc +++ b/secure/lib/libcrypto/Makefile.inc @@ -3,7 +3,7 @@ .include <bsd.own.mk> # OpenSSL version used for manual page generation -OPENSSL_VER= 0.9.8x +OPENSSL_VER= 1.0.1c OPENSSL_DATE= 2012-05-10 LCRYPTO_SRC= ${.CURDIR}/../../../crypto/openssl @@ -17,8 +17,21 @@ CFLAGS+= -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H CFLAGS+= -DOPENSSL_NO_IDEA .endif -.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" -CFLAGS+= -DL_ENDIAN +.if ${MACHINE_CPUARCH} == "amd64" +CFLAGS+=-DL_ENDIAN -DOPENSSL_IA32_SSE2 +CFLAGS+=-DAES_ASM -DBSAES_ASM -DVPAES_ASM +CFLAGS+=-DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m +CFLAGS+=-DMD5_ASM +CFLAGS+=-DSHA1_ASM -DSHA256_ASM -DSHA512_ASM +CFLAGS+=-DWHIRLPOOL_ASM -DGHASH_ASM +.elif ${MACHINE_CPUARCH} == "i386" +CFLAGS+=-DL_ENDIAN -DOPENSSL_IA32_SSE2 +CFLAGS+=-DAES_ASM -DVPAES_ASM +CFLAGS+=-DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m +CFLAGS+=-DMD5_ASM +CFLAGS+=-DRMD160_ASM +CFLAGS+=-DSHA1_ASM -DSHA256_ASM -DSHA512_ASM +CFLAGS+=-DWHIRLPOOL_ASM -DGHASH_ASM .endif MANDIR= ${SHAREDIR}/openssl/man/man |