X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=crypto%2Fwhrlpool%2Fbuild.info;h=f67bf41b5e63f699ad6a2d58a23f00683b63ba28;hb=bc42bd6298702a1abf70aa6383d36886dd5af4b3;hp=4b167b504ec35e7ac3a1878bc29ea156bbe324cc;hpb=722c9762f2e021a9b43774fca282c9a4146d38e6;p=openssl.git diff --git a/crypto/whrlpool/build.info b/crypto/whrlpool/build.info index 4b167b504e..f67bf41b5e 100644 --- a/crypto/whrlpool/build.info +++ b/crypto/whrlpool/build.info @@ -1,5 +1,24 @@ LIBS=../../libcrypto -SOURCE[../../libcrypto]=wp_dgst.c {- $target{wp_asm_src} -} + +$WPASM=wp_block.c +IF[{- !$disabled{asm} -}] + IF[{- $config{processor} ne "386" -}] + $WPASM_x86=wp_block.c wp-mmx.s + $WPDEF_x86=WHIRLPOOL_ASM + ENDIF + $WPASM_x86_64=wp-x86_64.s + $WPDEF_x86_64=WHIRLPOOL_ASM + + # Now that we have defined all the arch specific variables, use the + # appropriate one, and define the appropriate macros + IF[$WPASM_{- $target{asm_arch} -}] + $WPASM=$WPASM_{- $target{asm_arch} -} + $WPDEF=$WPDEF_{- $target{asm_arch} -} + ENDIF +ENDIF + +SOURCE[../../libcrypto]=wp_dgst.c $WPASM +DEFINE[../../libcrypto]=$WPDEF GENERATE[wp-mmx.s]=asm/wp-mmx.pl \ $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)