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