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>
23 lines
1.1 KiB
Text
23 lines
1.1 KiB
Text
LIBS=../../libcrypto
|
|
SOURCE[../../libcrypto]=\
|
|
set_key.c ecb_enc.c cbc_enc.c \
|
|
ecb3_enc.c cfb64enc.c cfb64ede.c cfb_enc.c ofb64ede.c \
|
|
enc_read.c enc_writ.c ofb64enc.c \
|
|
ofb_enc.c str2key.c pcbc_enc.c qud_cksm.c rand_key.c \
|
|
{- $target{des_asm_src} -} \
|
|
fcrypt.c xcbc_enc.c rpc_enc.c cbc_cksm.c \
|
|
read2pwd.c
|
|
|
|
BEGINRAW[Makefile]
|
|
##### DES assembler implementations
|
|
|
|
{- $builddir -}/des_enc-sparc.S: {- $sourcedir -}/asm/des_enc.m4
|
|
m4 -B 8192 {- $sourcedir -}/asm/des_enc.m4 > $@
|
|
{- $builddir -}/dest4-sparcv9.s: {- $sourcedir -}/asm/dest4-sparcv9.pl
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/dest4-sparcv9.pl $(CFLAGS) > $@
|
|
|
|
{- $builddir -}/des-586.s: {- $sourcedir -}/asm/des-586.pl {- $sourcetop -}/crypto/perlasm/x86asm.pl {- $sourcetop -}/crypto/perlasm/cbc.pl
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/des-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
|
|
{- $builddir -}/crypt586.s: {- $sourcedir -}/asm/crypt586.pl {- $sourcetop -}/crypto/perlasm/x86asm.pl {- $sourcetop -}/crypto/perlasm/cbc.pl
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/crypt586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
|
|
ENDRAW[Makefile]
|