summaryrefslogtreecommitdiffstats
path: root/crypto/ec/build.info
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-01-30 03:25:40 +0100
committerRichard Levitte <levitte@openssl.org>2016-02-10 14:36:04 +0100
commit567a9e6fe0ff3badfa22cf018d87c94ed5a8aeb3 (patch)
tree6e21b8f62376aedf1ea3fc8f24dffd9978348c9f /crypto/ec/build.info
parentdeb02194d246d865ff3837deb500a901e2269109 (diff)
unified build scheme: add a "unified" template for Unix Makefile
This also adds all the raw sections needed for some files. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/ec/build.info')
-rw-r--r--crypto/ec/build.info17
1 files changed, 17 insertions, 0 deletions
diff --git a/crypto/ec/build.info b/crypto/ec/build.info
index 1e68559701..8ba6db0cb0 100644
--- a/crypto/ec/build.info
+++ b/crypto/ec/build.info
@@ -6,3 +6,20 @@ SOURCE[../../libcrypto]=\
ecp_nistp224.c ecp_nistp256.c ecp_nistp521.c ecp_nistputil.c \
ecp_oct.c ec2_oct.c ec_oct.c ec_kmeth.c ecdh_ossl.c ecdh_kdf.c \
ecdsa_ossl.c ecdsa_sign.c ecdsa_vrf.c {- $target{ec_asm_src} -}
+
+BEGINRAW[Makefile]
+{- $builddir -}/ecp_nistz256-x86.s: {- $sourcedir -}/asm/ecp_nistz256-x86.pl
+ $(PERL) {- $sourcedir -}/asm/ecp_nistz256-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
+
+{- $builddir -}/ecp_nistz256-x86_64.s: {- $sourcedir -}/asm/ecp_nistz256-x86_64.pl
+ $(PERL) {- $sourcedir -}/asm/ecp_nistz256-x86_64.pl $(PERLASM_SCHEME) > $@
+
+{- $builddir -}/ecp_nistz256-avx2.s: {- $sourcedir -}/asm/ecp_nistz256-avx2.pl
+ $(PERL) {- $sourcedir -}/asm/ecp_nistz256-avx2.pl $(PERLASM_SCHEME) > $@
+
+{- $builddir -}/ecp_nistz256-sparcv9.S: {- $sourcedir -}/asm/ecp_nistz256-sparcv9.pl
+ $(PERL) {- $sourcedir -}/asm/ecp_nistz256-sparcv9.pl $(CFLAGS) > $@
+
+{- $builddir -}/ecp_nistz256-%.S: {- $sourcedir -}/asm/ecp_nistz256-%.pl
+ $(PERL) $< $(PERLASM_SCHEME) $@
+ENDRAW[Makefile]