xref: /freebsd/secure/lib/libcrypto/Makefile.inc (revision 6580f5c38dd5b01aeeaed16b370f1a12423437f0)
1
2.include <bsd.own.mk>
3
4# OpenSSL version used for manual page generation
5OPENSSL_VER=	3.0.13
6OPENSSL_DATE=	2024-02-02
7
8LCRYPTO_SRC=	${SRCTOP}/crypto/openssl
9LCRYPTO_DOC=	${LCRYPTO_SRC}/doc
10
11CFLAGS+=	-I${LCRYPTO_SRC}
12CFLAGS+=	-I${LCRYPTO_SRC}/include
13CFLAGS+=	-I${LCRYPTO_SRC}/providers/common/include
14CFLAGS+=	-I${LCRYPTO_SRC}/providers/implementations/include
15
16.include "Makefile.common"
17
18.for pcfile in ${PCFILES}
19${pcfile}:	${pcfile}.in
20	sed -e 's,@openssl_ver@,${OPENSSL_VER},g' ${.ALLSRC} > ${.TARGET}
21.endfor
22CLEANFILES+=	${PCFILES}
23