blob: 7e5cad40d1c0e195783289e47e51a805c71bd0c0 [file] [log] [blame]
Richard Levitte777a2882016-01-29 23:33:10 +01001LIBS=../../libcrypto
2SOURCE[../../libcrypto]=\
3 ec_lib.c ecp_smpl.c ecp_mont.c ecp_nist.c ec_cvt.c ec_mult.c \
4 ec_err.c ec_curve.c ec_check.c ec_print.c ec_asn1.c ec_key.c \
5 ec2_smpl.c ec2_mult.c ec_ameth.c ec_pmeth.c eck_prn.c \
6 ecp_nistp224.c ecp_nistp256.c ecp_nistp521.c ecp_nistputil.c \
7 ecp_oct.c ec2_oct.c ec_oct.c ec_kmeth.c ecdh_ossl.c ecdh_kdf.c \
Dr. Stephen Hensonbc7bfb82016-08-11 15:49:07 +01008 ecdsa_ossl.c ecdsa_sign.c ecdsa_vrf.c curve25519.c ecx_meth.c \
Dr. Stephen Henson8dcfdbf2016-02-02 14:50:10 +00009 {- $target{ec_asm_src} -}
Richard Levitte567a9e62016-01-30 03:25:40 +010010
Richard Levitte8c3bc592018-01-23 13:54:55 +010011GENERATE[ecp_nistz256-x86.s]=asm/ecp_nistz256-x86.pl \
12 $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(CPPFLAGS) $(LIB_CPPFLAGS) \
13 $(PROCESSOR)
Richard Levitte73d2fb62016-03-07 15:47:09 +010014
15GENERATE[ecp_nistz256-x86_64.s]=asm/ecp_nistz256-x86_64.pl $(PERLASM_SCHEME)
16
17GENERATE[ecp_nistz256-avx2.s]=asm/ecp_nistz256-avx2.pl $(PERLASM_SCHEME)
18
19GENERATE[ecp_nistz256-sparcv9.S]=asm/ecp_nistz256-sparcv9.pl $(PERLASM_SCHEME)
Richard Levittef0667b12016-03-10 20:05:52 +010020INCLUDE[ecp_nistz256-sparcv9.o]=..
Richard Levitte73d2fb62016-03-07 15:47:09 +010021
Andy Polyakovee619192016-03-11 13:44:46 +010022GENERATE[ecp_nistz256-armv4.S]=asm/ecp_nistz256-armv4.pl $(PERLASM_SCHEME)
23INCLUDE[ecp_nistz256-armv4.o]=..
24GENERATE[ecp_nistz256-armv8.S]=asm/ecp_nistz256-armv8.pl $(PERLASM_SCHEME)
25INCLUDE[ecp_nistz256-armv8.o]=..
Andy Polyakovd8f432a2016-08-14 19:19:11 +020026GENERATE[ecp_nistz256-ppc64.s]=asm/ecp_nistz256-ppc64.pl $(PERLASM_SCHEME)
Andy Polyakovee619192016-03-11 13:44:46 +010027
Richard Levitte567a9e62016-01-30 03:25:40 +010028BEGINRAW[Makefile]
Richard Levitte567a9e62016-01-30 03:25:40 +010029{- $builddir -}/ecp_nistz256-%.S: {- $sourcedir -}/asm/ecp_nistz256-%.pl
Richard Levittede72be22016-02-13 19:15:52 +010030 CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
Richard Levitte567a9e62016-01-30 03:25:40 +010031ENDRAW[Makefile]