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