2016-01-30 06:33:10 +08:00
|
|
|
LIBS=../../libcrypto
|
2019-06-17 04:06:43 +08:00
|
|
|
|
|
|
|
$CMLLASM=camellia.c cmll_misc.c cmll_cbc.c
|
|
|
|
IF[{- !$disabled{asm} -}]
|
2022-05-20 04:09:50 +08:00
|
|
|
$CMLLASM_x86=cmll-x86.S
|
2019-06-17 04:06:43 +08:00
|
|
|
$CMLLASM_x86_64=cmll-x86_64.s cmll_misc.c
|
|
|
|
$CMLLASM_sparcv9=camellia.c cmll_misc.c cmll_cbc.c cmllt4-sparcv9.S
|
|
|
|
|
|
|
|
# Now that we have defined all the arch specific variables, use the
|
|
|
|
# appropriate one
|
|
|
|
IF[$CMLLASM_{- $target{asm_arch} -}]
|
|
|
|
$CMLLASM=$CMLLASM_{- $target{asm_arch} -}
|
2019-12-19 20:31:29 +08:00
|
|
|
$CMLLDEF=CMLL_ASM
|
2019-06-17 04:06:43 +08:00
|
|
|
ENDIF
|
|
|
|
ENDIF
|
|
|
|
|
|
|
|
SOURCE[../../libcrypto]=cmll_ecb.c cmll_ofb.c cmll_cfb.c cmll_ctr.c $CMLLASM
|
2019-12-19 20:31:29 +08:00
|
|
|
DEFINE[../../libcrypto]=$CMLLDEF
|
2016-01-30 10:25:40 +08:00
|
|
|
|
2022-05-20 04:09:50 +08:00
|
|
|
GENERATE[cmll-x86.S]=asm/cmll-x86.pl
|
|
|
|
DEPEND[cmll-x86.S]=../perlasm/x86asm.pl
|
2019-09-13 06:05:26 +08:00
|
|
|
GENERATE[cmll-x86_64.s]=asm/cmll-x86_64.pl
|
|
|
|
GENERATE[cmllt4-sparcv9.S]=asm/cmllt4-sparcv9.pl
|
2016-03-11 03:05:52 +08:00
|
|
|
INCLUDE[cmllt4-sparcv9.o]=..
|
2016-04-26 05:24:06 +08:00
|
|
|
DEPEND[cmllt4-sparcv9.S]=../perlasm/sparcv9_modes.pl
|