diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-11-13 15:25:06 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-11-13 16:05:37 +0100 |
commit | caad8f49b25ad435d3d059bed12dfc5d381fb34f (patch) | |
tree | 8f2e8aa3a871a34e23e49fbaf4a64432bac1f036 /cfg.mk | |
parent | 0e0d7e70a310a864c10e69c1d416e5f290b05285 (diff) | |
download | gnutls-caad8f49b25ad435d3d059bed12dfc5d381fb34f.tar.gz |
Added rules to auto-generate the assembler files.
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 91 |
1 files changed, 91 insertions, 0 deletions
@@ -131,3 +131,94 @@ upload-web: cd $(htmldir) && \ cvs commit -m "Update." manual/ reference/ \ doxygen/ devel/ cyclo/ + +ASM_SOURCES:= lib/accelerated/x86/asm-coff/cpuid-x86-64-coff.s \ + lib/accelerated/x86/asm/cpuid-x86-64.s \ + lib/accelerated/x86/asm-coff/cpuid-x86-coff.s \ + lib/accelerated/x86/asm/cpuid-x86.s \ + lib/accelerated/x86/asm/appro-aes-gcm-x86-64.s \ + lib/accelerated/x86/asm/appro-aes-x86-64.s \ + lib/accelerated/x86/asm/appro-aes-x86.s \ + lib/accelerated/x86/asm/padlock-x86-64.s \ + lib/accelerated/x86/asm/padlock-x86.s \ + lib/accelerated/x86/asm-coff/appro-aes-gcm-x86-64-coff.s \ + lib/accelerated/x86/asm-coff/appro-aes-x86-64-coff.s \ + lib/accelerated/x86/asm-coff/appro-aes-x86-coff.s \ + lib/accelerated/x86/asm-coff/padlock-x86-64-coff.s \ + lib/accelerated/x86/asm-coff/padlock-x86-coff.s + +asm-sources: $(ASM_SOURCES) + +asm-sources-clean: + rm -f $(ASM_SOURCES) + +lib/accelerated/x86/asm/cpuid-x86-64.s: devel/perlasm/cpuid-x86_64.pl + cat devel/perlasm/license-gnutls.txt > $@ + perl $< elf >> $@ + echo "" >> $@ + echo ".section .note.GNU-stack,\"\",%progbits" >> $@ + + +lib/accelerated/x86/asm/cpuid-x86.s: devel/perlasm/cpuid-x86.pl + cat devel/perlasm/license-gnutls.txt > $@ + perl $< elf >> $@ + echo "" >> $@ + echo ".section .note.GNU-stack,\"\",%progbits" >> $@ + +lib/accelerated/x86/asm/appro-aes-gcm-x86-64.s: devel/perlasm/ghash-x86_64.pl + cat devel/perlasm/license.txt > $@ + perl $< elf >> $@ + echo "" >> $@ + echo ".section .note.GNU-stack,\"\",%progbits" >> $@ + +lib/accelerated/x86/asm/appro-aes-x86-64.s: devel/perlasm/aesni-x86_64.pl + cat devel/perlasm/license.txt > $@ + perl $< elf >> $@ + echo "" >> $@ + echo ".section .note.GNU-stack,\"\",%progbits" >> $@ + +lib/accelerated/x86/asm/appro-aes-x86.s: devel/perlasm/aesni-x86.pl + cat devel/perlasm/license.txt > $@ + perl $< elf >> $@ + echo "" >> $@ + echo ".section .note.GNU-stack,\"\",%progbits" >> $@ + +lib/accelerated/x86/asm/padlock-x86-64.s: devel/perlasm/e_padlock-x86_64.pl + cat devel/perlasm/license.txt > $@ + perl $< elf >> $@ + echo "" >> $@ + echo ".section .note.GNU-stack,\"\",%progbits" >> $@ + +lib/accelerated/x86/asm/padlock-x86.s: devel/perlasm/e_padlock-x86.pl + cat devel/perlasm/license.txt > $@ + perl $< elf >> $@ + echo "" >> $@ + echo ".section .note.GNU-stack,\"\",%progbits" >> $@ + +lib/accelerated/x86/asm-coff/appro-aes-gcm-x86-64-coff.s: devel/perlasm/ghash-x86_64.pl + cat devel/perlasm/license.txt > $@ + perl $< mingw64 >> $@ + +lib/accelerated/x86/asm-coff/appro-aes-x86-64-coff.s: devel/perlasm/aesni-x86_64.pl + cat devel/perlasm/license.txt > $@ + perl $< mingw64 >> $@ + +lib/accelerated/x86/asm-coff/appro-aes-x86-coff.s: devel/perlasm/aesni-x86.pl + cat devel/perlasm/license.txt > $@ + perl $< coff >> $@ + +lib/accelerated/x86/asm-coff/padlock-x86-64-coff.s: devel/perlasm/e_padlock-x86_64.pl + cat devel/perlasm/license.txt > $@ + perl $< mingw64 >> $@ + +lib/accelerated/x86/asm-coff/padlock-x86-coff.s: devel/perlasm/e_padlock-x86.pl + cat devel/perlasm/license.txt > $@ + perl $< coff >> $@ + +lib/accelerated/x86/asm-coff/cpuid-x86-64-coff.s: devel/perlasm/cpuid-x86_64.pl + cat devel/perlasm/license-gnutls.txt > $@ + perl $< mingw64 >> $@ + +lib/accelerated/x86/asm-coff/cpuid-x86-coff.s: devel/perlasm/cpuid-x86.pl + cat devel/perlasm/license-gnutls.txt > $@ + perl $< coff >> $@ |