1 .
include <unleashed.mk
>
2 LCRYPTO_SRC
= ${SRCTOP}/lib
/libcrypto
3 CPPFLAGS
+= -D__BEGIN_HIDDEN_DECLS
= -D__END_HIDDEN_DECLS
=
4 CPPFLAGS
+= -I
${LCRYPTO_SRC}/compat
/include
5 SRCS
+= timingsafe_memcmp.c
6 .PATH
: ${LCRYPTO_SRC}/compat
8 BSDOBJDIR?
= ${.OBJDIR
:tA
:H
:H
}
11 INSTALL_COPY?
= ${COPY}
14 # we don't use MAPFILE_VERS here, because that would cause us to ignore
16 SHLIB_LDADD
+= -Mmapfile
17 .NOPATH
: mapfile
${VERSION_SCRIPT}
18 mapfile
: ${VERSION_SCRIPT}
19 { echo
'$$mapfile_version 2'; \
20 printf
'SYMBOL_SCOPE '; \
21 fgrep
-v
'/* ' ${VERSION_SCRIPT}; } > $@
25 # XXX <openssl/*> includes need to be available in DESTDIR if DESTDIR is
26 # specified since the mk files set -isysroot in that case