Get OPENSSL_FIPSSYMS from environment in fipsas.pl, include ppccap.c and .S
[openssl.git] / util / pl / linux.pl
index a8cfdc5..d24f7b7 100644 (file)
@@ -12,6 +12,8 @@ $rm='/bin/rm -f';
 $cc='gcc';
 if ($debug)
        { $cflags="-g2 -ggdb -DREF_CHECK -DCRYPTO_MDEBUG"; }
+elsif ($profile)
+       { $cflags="-pg -O3"; }
 else
        { $cflags="-O3 -fomit-frame-pointer"; }
 
@@ -19,6 +21,8 @@ if (!$no_asm)
        {
        $bn_asm_obj='$(OBJ_D)/bn86-elf.o';
        $bn_asm_src='crypto/bn/asm/bn86unix.cpp';
+       $bnco_asm_obj='$(OBJ_D)/co86-elf.o';
+       $bnco_asm_src='crypto/bn/asm/co86unix.cpp';
        $des_enc_obj='$(OBJ_D)/dx86-elf.o $(OBJ_D)/yx86-elf.o';
        $des_enc_src='crypto/des/asm/dx86unix.cpp crypto/des/asm/yx86unix.cpp';
        $bf_enc_obj='$(OBJ_D)/bx86-elf.o';
@@ -35,7 +39,7 @@ if (!$no_asm)
        $rmd160_asm_src='crypto/ripemd/asm/rm86unix.cpp';
        $sha1_asm_obj='$(OBJ_D)/sx86-elf.o';
        $sha1_asm_src='crypto/sha/asm/sx86unix.cpp';
-       $cflags.=" -DBN_ASM -DMD5_ASM -DSHA1_ASM";
+       $cflags.=" -DBN_ASM -DMD5_ASM -DSHA1_ASM -DOPENSSL_BN_ASM_PART_WORDS";
        }
 
 $cflags.=" -DTERMIO -DL_ENDIAN -m486 -Wall";