summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-12-21 09:25:08 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-12-21 09:25:08 +0100
commit5e6af1957a43b58c908eca54e7dffc55f74e392c (patch)
tree5da7d260647f5017ce9aeec4a73002be245ed8a6 /cfg.mk
parent2e8dfe514001189ef4f2f38ff3e2b400c25b1e2a (diff)
downloadgnutls-5e6af1957a43b58c908eca54e7dffc55f74e392c.tar.gz
correctly generate asm sources
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk16
1 files changed, 8 insertions, 8 deletions
diff --git a/cfg.mk b/cfg.mk
index d30d286cb0..3befef6cc0 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -216,27 +216,27 @@ lib/accelerated/x86/files.mk: $(ASM_SOURCES_ELF)
mv $@.tmp $@
# Appro's code
-lib/accelerated/x86/elf/%.s: .submodule.stamp devel/perlasm/%.pl
- cat $^.license > $@
+lib/accelerated/x86/elf/%.s: devel/perlasm/%.pl .submodule.stamp
+ cat $<.license > $@
perl $< elf >> $@
echo "" >> $@
echo ".section .note.GNU-stack,\"\",%progbits" >> $@
sed -i 's/OPENSSL_ia32cap_P/_gnutls_x86_cpuid_s/g' $@
-lib/accelerated/x86/coff/%-x86.s: .submodule.stamp devel/perlasm/%-x86.pl
- cat $^.license > $@
+lib/accelerated/x86/coff/%-x86.s: devel/perlasm/%-x86.pl .submodule.stamp
+ cat $<.license > $@
perl $< coff >> $@
echo "" >> $@
sed -i 's/OPENSSL_ia32cap_P/_gnutls_x86_cpuid_s/g' $@
-lib/accelerated/x86/coff/%-x86_64.s: .submodule.stamp devel/perlasm/%-x86_64.pl
- cat $^.license > $@
+lib/accelerated/x86/coff/%-x86_64.s: devel/perlasm/%-x86_64.pl .submodule.stamp
+ cat $<.license > $@
perl $< mingw64 >> $@
echo "" >> $@
sed -i 's/OPENSSL_ia32cap_P/_gnutls_x86_cpuid_s/g' $@
-lib/accelerated/x86/macosx/%.s: .submodule.stamp devel/perlasm/%.pl
- cat $^.license > $@
+lib/accelerated/x86/macosx/%.s: devel/perlasm/%.pl .submodule.stamp
+ cat $<.license > $@
perl $< macosx >> $@
echo "" >> $@
sed -i 's/OPENSSL_ia32cap_P/_gnutls_x86_cpuid_s/g' $@