eb77e8886d
Make all scripts produce .S, make interpretation of $(CFLAGS) pre-processor's responsibility, start accepting $(PERLASM_SCHEME). [$(PERLASM_SCHEME) is redundant in this case, because there are no deviataions between Solaris and Linux assemblers. This is purely to unify .pl->.S handling across all targets.] Reviewed-by: Richard Levitte <levitte@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 $(PERLASM_SCHEME) $@
|
|
|
|
{- $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]
|