mirror of
https://github.com/opnsense/src.git
synced 2026-02-24 10:20:24 -05:00
OpenSSL 3 supports a modular architecture, allowing different providers to bring specific implementations of cryptographical algorithms. This change makes sure the FIPS module matches build instructions used for libcrypto. Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-src/pull/787
23 lines
551 B
Makefile
23 lines
551 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
# OpenSSL version used for manual page generation
|
|
OPENSSL_VER= 3.0.9
|
|
OPENSSL_DATE= 2023-05-30
|
|
|
|
LCRYPTO_SRC= ${SRCTOP}/crypto/openssl
|
|
LCRYPTO_DOC= ${LCRYPTO_SRC}/doc
|
|
|
|
CFLAGS+= -I${LCRYPTO_SRC}
|
|
CFLAGS+= -I${LCRYPTO_SRC}/include
|
|
CFLAGS+= -I${LCRYPTO_SRC}/providers/common/include
|
|
CFLAGS+= -I${LCRYPTO_SRC}/providers/implementations/include
|
|
|
|
.include "Makefile.common"
|
|
|
|
.for pcfile in ${PCFILES}
|
|
${pcfile}: ${pcfile}.in
|
|
sed -e 's,@openssl_ver@,${OPENSSL_VER},g' ${.ALLSRC} > ${.TARGET}
|
|
.endfor
|
|
CLEANFILES+= ${PCFILES}
|