mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
de72be2e57
It seems that on some platforms, the perlasm scripts call the C compiler for certain checks. These scripts need the environment variable CC to have the C compiler command. Reviewed-by: Rich Salz <rsalz@openssl.org>
30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
{- use File::Spec::Functions qw/:DEFAULT rel2abs/; -}
|
|
IF[{- $config{no_shared} -}]
|
|
LIBS=../libcrypto
|
|
SOURCE[../libcrypto]=\
|
|
e_padlock.c {- $target{padlock_asm_src} -} \
|
|
e_capi.c \
|
|
e_dasync.c
|
|
ELSE
|
|
ENGINES=libpadlock libcapi libdasync libossltest
|
|
SOURCE[libpadlock]=e_padlock.c {- $target{padlock_asm_src} -}
|
|
DEPEND[libpadlock]=../libcrypto
|
|
INCLUDE[libpadlock]={- rel2abs(catdir($builddir,"../include")) -} ../include
|
|
SOURCE[libcapi]=e_capi.c
|
|
DEPEND[libcapi]=../libcrypto
|
|
INCLUDE[libcapi]={- rel2abs(catdir($builddir,"../include")) -} ../include
|
|
SOURCE[libdasync]=e_dasync.c
|
|
DEPEND[libdasync]=../libcrypto
|
|
INCLUDE[libdasync]={- rel2abs(catdir($builddir,"../include")) -} ../include
|
|
SOURCE[libossltest]=e_ossltest.c
|
|
DEPEND[libossltest]=../libcrypto
|
|
INCLUDE[libossltest]={- rel2abs(catdir($builddir,"../include")) -} ../include
|
|
ENDIF
|
|
|
|
BEGINRAW[Makefile]
|
|
{- $builddir -}/e_padlock-x86.s: {- $sourcedir -}/asm/e_padlock-x86.pl
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/e_padlock-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
|
|
{- $builddir -}/e_padlock-x86_64.s: {- $sourcedir -}/asm/e_padlock-x86_64.pl
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/e_padlock-x86_64.pl $(PERLASM_SCHEME) > $@
|
|
ENDRAW[Makefile]
|