Update LibreSSL makefiles.
[dragonfly.git] / lib / librecrypto / Makefile.inc
1 .if exists (${.CURDIR}/../../Makefile.inc1)
2 LIBRESSL_SRC=   ${.CURDIR}/../../crypto/libressl
3 .elif exists (${.CURDIR}/../../../Makefile.inc1)
4 LIBRESSL_SRC=   ${.CURDIR}/../../../crypto/libressl
5 .else
6 .error "Cannot find base directory"
7 .endif
8 LCRYPTO_SRC=    ${LIBRESSL_SRC}/crypto
9 LSSL_SRC=       ${LIBRESSL_SRC}/ssl
10
11 CFLAGS+=        -I${LCRYPTO_SRC} -I${LSSL_SRC} -I${.OBJDIR}
12 CFLAGS+=        -I${LIBRESSL_SRC}/include