diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-07 15:47:35 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-09 11:09:26 +0100 |
commit | 57c83b3c3a61796ecd0e2e87109176ac9f8eae30 (patch) | |
tree | 9416f821092d1112bfe62202f94d6366f0b82084 /crypto/md5/build.info | |
parent | 4f0d5f1849fba056ae2e626dbce976efc4586383 (diff) |
Unified - adapt the generation of md5 assembler to use GENERATE
This gets rid of the BEGINRAW..ENDRAW sections in crypto/md5/build.info.
This also moves the assembler generating perl scripts to take the
output file name as last command line argument, where necessary.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'crypto/md5/build.info')
-rw-r--r-- | crypto/md5/build.info | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/crypto/md5/build.info b/crypto/md5/build.info index 6a04f37cfc..a10d582d1f 100644 --- a/crypto/md5/build.info +++ b/crypto/md5/build.info @@ -2,17 +2,15 @@ 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 - CC="$(CC)" $(PERL) {- $sourcedir -}/asm/md5-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@ +GENERATE[md5-586.s]=asm/md5-586.pl $(PERLASM_SCHEME) $(CFLAGS) + +GENERATE[md5-x86_64.s]=asm/md5-x86_64.pl $(PERLASM_SCHEME) -{- $builddir -}/md5-x86_64.s: {- $sourcedir -}/asm/md5-x86_64.pl - CC="$(CC)" $(PERL) {- $sourcedir -}/asm/md5-x86_64.pl $(PERLASM_SCHEME) > $@ +GENERATE[md5-sparcv9.S]=asm/md5-sparcv9.pl $(PERLASM_SCHEME) +BEGINRAW[Makefile] {- $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 - CC="$(CC)" $(PERL) {- $sourcedir -}/asm/md5-sparcv9.pl $(PERLASM_SCHEME) $@ ENDRAW[Makefile] |