summaryrefslogtreecommitdiffstats
path: root/crypto/poly1305
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/poly1305
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/poly1305')
-rw-r--r--crypto/poly1305/build.info12
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/poly1305/build.info b/crypto/poly1305/build.info
index 35d4fa8fa0..0b59b9fe67 100644
--- a/crypto/poly1305/build.info
+++ b/crypto/poly1305/build.info
@@ -1,3 +1,15 @@
LIBS=../../libcrypto
SOURCE[../../libcrypto]=\
poly1305.c {- $target{poly1305_asm_src} -}
+
+BEGINRAW[Makefile(unix)]
+{- $builddir -}/poly1305-sparcv9.S: {- $sourcedir -}/asm/poly1305-sparcv9.pl
+ $(PERL) {- $sourcedir -}/asm/poly1305-sparcv9.pl > $@
+{- $builddir -}/poly1305-x86.s: {- $sourcedir -}/asm/poly1305-x86.pl
+ $(PERL) {- $sourcedir -}/asm/poly1305-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
+{- $builddir -}/poly1305-x86_64.s: {- $sourcedir -}/asm/poly1305-x86_64.pl
+ $(PERL) {- $sourcedir -}/asm/poly1305-x86_64.pl $(PERLASM_SCHEME) > $@
+
+{- $builddir -}/poly1305-%.S: {- $sourcedir -}/asm/poly1305-%.pl
+ $(PERL) $< $(PERLASM_SCHEME) $@
+ENDRAW[Makefile(unix)]