xref: /freebsd/secure/lib/libcrypto/Makefile.inc (revision b64c5a0ace59af62eff52bfe110a521dc73c937b)
1.include <bsd.own.mk>
2
3# OpenSSL version used for manual page generation
4OPENSSL_VER=	3.0.15
5OPENSSL_DATE=	2024-09-03
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