summaryrefslogtreecommitdiffstats
path: root/crypto/md5
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/md5
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/md5')
-rw-r--r--crypto/md5/build.info15
1 files changed, 15 insertions, 0 deletions
diff --git a/crypto/md5/build.info b/crypto/md5/build.info
index 3a038534e7..eff8c6f404 100644
--- a/crypto/md5/build.info
+++ b/crypto/md5/build.info
@@ -1,3 +1,18 @@
LIBS=../../libcrypto
SOURCE[../../libcrypto]=\
md5_dgst.c md5_one.c {- $target{md5_asm_src} -}
+
+BEGINRAW[Makefile]
+{- $builddir -}/md5-586.s: {- $sourcedir -}/asm/md5-586.pl {- $sourcetop -}/crypto/perlasm/x86asm.pl
+ $(PERL) {- $sourcedir -}/asm/md5-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
+
+{- $builddir -}/md5-x86_64.s: {- $sourcedir -}/asm/md5-x86_64.pl
+ $(PERL) {- $sourcedir -}/asm/md5-x86_64.pl $(PERLASM_SCHEME) > $@
+
+{- $builddir -}/md5-ia64.s: {- $sourcedir -}/asm/md5-ia64.S
+ $(CC) $(CFLAGS) -E {- $sourcedir -}/asm/md5-ia64.S | \
+ $(PERL) -ne 's/;\s+/;\n/g; print;' > $@
+
+{- $builddir -}/md5-sparcv9.S: {- $sourcedir -}/asm/md5-sparcv9.pl
+ $(PERL) {- $sourcedir -}/asm/md5-sparcv9.pl $@ $(CFLAGS)
+ENDRAW[Makefile]