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