]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - secure/lib/libcrypto/engines/Makefile.inc
Install 32-bit libcrypto engines in /usr/lib32/engines instead of
[FreeBSD/FreeBSD.git] / secure / lib / libcrypto / engines / Makefile.inc
1 # $FreeBSD$
2
3 SHLIBDIR=       ${LIBDIR}/engines
4
5 LCRYPTO_SRC=    ${SRCTOP}/crypto/openssl
6
7 CFLAGS+=        -I${LCRYPTO_SRC}/engines
8 CFLAGS+=        -I${LCRYPTO_SRC}/include
9 CFLAGS+=        -I${OBJTOP}/secure/lib/libcrypto
10
11 .include <bsd.endian.mk>
12
13 .if ${TARGET_ENDIANNESS} == 1234
14 CFLAGS+=        -DL_ENDIAN
15 .elif ${TARGET_ENDIANNESS} == 4321
16 CFLAGS+=        -DB_ENDIAN
17 .endif
18 CFLAGS+=        -DNDEBUG
19
20 .PATH: ${LCRYPTO_SRC}/engines