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>
18 lines
765 B
Text
18 lines
765 B
Text
LIBS=../../libcrypto
|
|
SOURCE[../../libcrypto]=\
|
|
md5_dgst.c md5_one.c {- $target{md5_asm_src} -}
|
|
|
|
BEGINRAW[Makefile]
|
|
{- $builddir -}/md5-586.s: {- $sourcedir -}/asm/md5-586.pl {- $sourcetop -}/crypto/perlasm/x86asm.pl
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/md5-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
|
|
|
|
{- $builddir -}/md5-x86_64.s: {- $sourcedir -}/asm/md5-x86_64.pl
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/md5-x86_64.pl $(PERLASM_SCHEME) > $@
|
|
|
|
{- $builddir -}/md5-ia64.s: {- $sourcedir -}/asm/md5-ia64.S
|
|
$(CC) $(CFLAGS) -E {- $sourcedir -}/asm/md5-ia64.S | \
|
|
$(PERL) -ne 's/;\s+/;\n/g; print;' > $@
|
|
|
|
{- $builddir -}/md5-sparcv9.S: {- $sourcedir -}/asm/md5-sparcv9.pl
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/md5-sparcv9.pl $@ $(CFLAGS)
|
|
ENDRAW[Makefile]
|