xref: /freebsd/secure/lib/libcrypto/Makefile.inc (revision 51e235148a4becba94e824a44bd69687644a7f56)
1
2.include <bsd.own.mk>
3
4# OpenSSL version used for manual page generation
5OPENSSL_VER=	3.0.10
6OPENSSL_DATE=	2023-08-01
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