xref: /freebsd/secure/lib/libcrypto/Makefile.inc (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5# OpenSSL version used for manual page generation
6OPENSSL_VER=	3.0.9
7OPENSSL_DATE=	2023-05-30
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