Replace alphacpuid.s with alphacpuid.pl to ensure it makes to release tar-balls ...
authorAndy Polyakov <appro@openssl.org>
Mon, 26 Jul 2010 22:11:23 +0000 (22:11 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 26 Jul 2010 22:11:23 +0000 (22:11 +0000)
PR: 2309

crypto/Makefile
crypto/alphacpuid.pl [moved from crypto/alphacpuid.s with 97% similarity]

index c1033f6d7765a9a92d38cac65e3e6c8e944a3360..85d9f249c5c24500a1300f2a897fbcf4e36fc9cb 100644 (file)
@@ -74,7 +74,9 @@ x86_64cpuid.s: x86_64cpuid.pl
        $(PERL) x86_64cpuid.pl $(PERLASM_SCHEME) > $@
 ia64cpuid.s: ia64cpuid.S
        $(CC) $(CFLAGS) -E ia64cpuid.S > $@
-ppccpuid.s:            ppccpuid.pl;    $(PERL) ppccpuid.pl $(PERLASM_SCHEME) $@
+ppccpuid.s:    ppccpuid.pl;    $(PERL) ppccpuid.pl $(PERLASM_SCHEME) $@
+alphacpuid.s:  alphacpuid.pl
+       $(PERL) $< | $(CC) -E - | tee $@ > /dev/null
 
 testapps:
        [ -z "$(THIS)" ] || (   if echo $(SDIRS) | fgrep ' des '; \
similarity index 97%
rename from crypto/alphacpuid.s
rename to crypto/alphacpuid.pl
index 3fa77a0ade5b1415080cbe95e8468d51e88a4471..1908216532c4d56f555ff5728fe3137e7f6757ee 100644 (file)
@@ -1,3 +1,5 @@
+#!/usr/bin/env perl
+print <<___;
 .text
 
 .set   noat
@@ -123,3 +125,4 @@ OPENSSL_cleanse:
        br      .Little
 .Ldone: ret    ($26)
 .end   OPENSSL_cleanse
+___