Commit 5caef3b5 authored by Richard Levitte's avatar Richard Levitte
Browse files

Add inclusion directory crypto/include for BN compilations



Some files in crypto/bn depend on internal/bn_conf.h, and so does
test/bntest.  Therefore, we add another inclusion directory.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent d94c444b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
{- use File::Spec::Functions qw/catdir rel2abs/; -}
LIBS=../../libcrypto
SOURCE[../../libcrypto]=\
        bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c bn_mod.c \
@@ -6,6 +7,7 @@ SOURCE[../../libcrypto]=\
        {- $target{bn_asm_src} -} \
        bn_recp.c bn_mont.c bn_mpi.c bn_exp2.c bn_gf2m.c bn_nist.c \
        bn_depr.c bn_const.c bn_x931p.c bn_intern.c bn_dh.c bn_srp.c
INCLUDE[../../libcrypto]={- rel2abs(catdir($builddir,"..","..","crypto","include")) -}

BEGINRAW[Makefile]
##### BN assembler implementations
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ INCLUDE[nptest]={- rel2abs(catdir($builddir,"../include")) -} ../include
DEPEND[nptest]=../libcrypto

SOURCE[bntest]=bntest.c
INCLUDE[bntest]={- rel2abs(catdir($builddir,"../include")) -} .. ../crypto/include ../include
INCLUDE[bntest]={- rel2abs(catdir($builddir,"../crypto/include")) -} {- rel2abs(catdir($builddir,"../include")) -} .. ../crypto/include ../include
DEPEND[bntest]=../libcrypto

SOURCE[ectest]=ectest.c