diff options
author | Richard Levitte <levitte@openssl.org> | 2016-01-30 03:25:40 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-02-10 14:36:04 +0100 |
commit | 567a9e6fe0ff3badfa22cf018d87c94ed5a8aeb3 (patch) | |
tree | 6e21b8f62376aedf1ea3fc8f24dffd9978348c9f /crypto/modes | |
parent | deb02194d246d865ff3837deb500a901e2269109 (diff) | |
download | openssl-567a9e6fe0ff3badfa22cf018d87c94ed5a8aeb3.tar.gz |
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/modes')
-rw-r--r-- | crypto/modes/build.info | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/crypto/modes/build.info b/crypto/modes/build.info index 98ca3458ae..d10a97de82 100644 --- a/crypto/modes/build.info +++ b/crypto/modes/build.info @@ -3,3 +3,30 @@ SOURCE[../../libcrypto]=\ cbc128.c ctr128.c cts128.c cfb128.c ofb128.c gcm128.c \ ccm128.c xts128.c wrap128.c ocb128.c \ {- $target{modes_asm_src} -} + +BEGINRAW[Makefile] +{- $builddir -}/ghash-ia64.s: {- $sourcedir -}/asm/ghash-ia64.pl + $(PERL) {- $sourcedir -}/asm/ghash-ia64.pl $@ $(CFLAGS) +{- $builddir -}/ghash-x86.s: {- $sourcedir -}/asm/ghash-x86.pl + $(PERL) {- $sourcedir -}/asm/ghash-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ +{- $builddir -}/ghash-x86_64.s: {- $sourcedir -}/asm/ghash-x86_64.pl + $(PERL) {- $sourcedir -}/asm/ghash-x86_64.pl $(PERLASM_SCHEME) > $@ +{- $builddir -}/aesni-gcm-x86_64.s: {- $sourcedir -}/asm/aesni-gcm-x86_64.pl + $(PERL) {- $sourcedir -}/asm/aesni-gcm-x86_64.pl $(PERLASM_SCHEME) > $@ +{- $builddir -}/ghash-sparcv9.s: {- $sourcedir -}/asm/ghash-sparcv9.pl + $(PERL) {- $sourcedir -}/asm/ghash-sparcv9.pl $@ $(CFLAGS) +{- $builddir -}/ghash-alpha.s: {- $sourcedir -}/asm/ghash-alpha.pl + (preproc=$$$$.$@.S; trap "rm $$preproc" INT; \ + $(PERL) {- $sourcedir -}/asm/ghash-alpha.pl > $$preproc && \ + $(CC) -E -P $$preproc > $@ && rm $$preproc) +{- $builddir -}/ghash-parisc.s: {- $sourcedir -}/asm/ghash-parisc.pl + $(PERL) {- $sourcedir -}/asm/ghash-parisc.pl $(PERLASM_SCHEME) $@ +{- $builddir -}/ghashv8-armx.S: {- $sourcedir -}/asm/ghashv8-armx.pl + $(PERL) {- $sourcedir -}/asm/ghashv8-armx.pl $(PERLASM_SCHEME) $@ +{- $builddir -}/ghashp8-ppc.s: {- $sourcedir -}/asm/ghashp8-ppc.pl + $(PERL) {- $sourcedir -}/asm/ghashp8-ppc.pl $(PERLASM_SCHEME) $@ + +# GNU make "catch all" +{- $builddir -}/ghash-%.S: {- $sourcedir -}/asm/ghash-%.pl + $(PERL) $< $(PERLASM_SCHEME) $@ +ENDRAW[Makefile] |