1 .if exists (${.CURDIR}/../../Makefile.inc1)
2 LIBRESSL_SRC= ${.CURDIR}/../../crypto/libressl
3 .elif exists (${.CURDIR}/../../../Makefile.inc1)
4 LIBRESSL_SRC= ${.CURDIR}/../../../crypto/libressl
6 .error "Cannot find base directory"
8 LCRYPTO_SRC= ${LIBRESSL_SRC}/crypto
9 LSSL_SRC= ${LIBRESSL_SRC}/ssl
11 CFLAGS+= -I${LCRYPTO_SRC} -I${LSSL_SRC} -I${.OBJDIR}
12 CFLAGS+= -I${LIBRESSL_SRC}/include -I${LIBRESSL_SRC}/include/compat
13 CFLAGS+= -DSTDC_HEADERS=1 \
14 -DHAVE_SYS_TYPES_H=1 \
26 -DHAVE_READPASSPHRASE_H=1 \
30 -DHAVE_READPASSPHRASE=1 \
42 -DHAVE_ARC4RANDOM_BUF=1 \
43 -DHAVE_ARC4RANDOM_UNIFORM=1 \
46 -DHAS_GNU_WARNING_LONG=1 \
48 CFLAGS+= -DLIBRESSL_INTERNAL -DOPENSSL_NO_HW_PADLOCK
52 _skip= SSLeay_version des_modes