opnsense-src/secure/lib/libcrypto/engines/Makefile.inc
Tijl Coosemans 82c3a6548f Install 32-bit libcrypto engines in /usr/lib32/engines instead of
/usr/lib32 and let 32-bit libcrypto search that location instead of
/usr/lib/engines.

Reviewed by:	jkim
2020-06-01 18:58:09 +00:00

20 lines
382 B
Makefile

# $FreeBSD$
SHLIBDIR= ${LIBDIR}/engines
LCRYPTO_SRC= ${SRCTOP}/crypto/openssl
CFLAGS+= -I${LCRYPTO_SRC}/engines
CFLAGS+= -I${LCRYPTO_SRC}/include
CFLAGS+= -I${OBJTOP}/secure/lib/libcrypto
.include <bsd.endian.mk>
.if ${TARGET_ENDIANNESS} == 1234
CFLAGS+= -DL_ENDIAN
.elif ${TARGET_ENDIANNESS} == 4321
CFLAGS+= -DB_ENDIAN
.endif
CFLAGS+= -DNDEBUG
.PATH: ${LCRYPTO_SRC}/engines