105 |
105 |
106 Index: crypto/md5/Makefile |
106 Index: crypto/md5/Makefile |
107 ================================================================== |
107 ================================================================== |
108 diff -ru openssl-1.0.0d/crypto/md5/Makefile openssl-1.0.0d/crypto/md5/Makefile |
108 diff -ru openssl-1.0.0d/crypto/md5/Makefile openssl-1.0.0d/crypto/md5/Makefile |
109 --- openssl-1.0.0d/crypto/md5/Makefile 2011-05-24 17:03:14.000000000 -0700 |
109 --- openssl-1.0.0d/crypto/md5/Makefile 2011-05-24 17:03:14.000000000 -0700 |
110 +++ openssl-1.0.0d/crypto/md5/Makefile 2011-06-30 16:53:53.000000000 -0700 |
110 +++ openssl-1.0.0d/crypto/md5/Makefile 2011-08-27 16:01:49.000000000 -0700 |
111 @@ -17,6 +17,10 @@ |
111 @@ -17,6 +17,10 @@ |
112 ASFLAGS= $(INCLUDES) $(ASFLAG) |
112 ASFLAGS= $(INCLUDES) $(ASFLAG) |
113 AFLAGS= $(ASFLAGS) |
113 AFLAGS= $(ASFLAGS) |
114 |
114 |
115 +BITS:= $(shell if grep '^SHARED_LDFLAGS.*=.*-m32' ../../Makefile >/dev/null; \ |
115 +BITS:= $(shell if grep '^SHARED_LDFLAGS.*=.*-m32' ../../Makefile >/dev/null; \ |
116 + then echo 32; else echo 64; fi) |
116 + then echo 32; else echo 64; fi) |
117 +ASFLAGSYF= -xregsym=no -K pic -P -xarch=v9b -D_sparcv9 -D_ASM -Dsparc -m$(BITS) |
117 +ASFLAGSYF= -xregsym=no -K pic -P -xarch=v9v -D_sparcv9 -D_ASM -Dsparc -m$(BITS) |
118 + |
118 + |
119 GENERAL=Makefile |
119 GENERAL=Makefile |
120 TEST=md5test.c |
120 TEST=md5test.c |
121 APPS= |
121 APPS= |
122 @@ -52,6 +58,9 @@ |
122 @@ -52,6 +58,10 @@ |
123 $(CC) $(CFLAGS) -E asm/md5-ia64.S | \ |
123 $(CC) $(CFLAGS) -E asm/md5-ia64.S | \ |
124 $(PERL) -ne 's/;\s+/;\n/g; print;' > $@ |
124 $(PERL) -ne 's/;\s+/;\n/g; print;' > $@ |
125 |
125 |
126 +t4_md5.o: asm/t4_md5.S |
126 +t4_md5.o: asm/t4_md5.S |
127 + as $(ASFLAGSYF) -o $@ asm/t4_md5.S |
127 + as $(ASFLAGSYF) -o $@ asm/t4_md5.S |
|
128 + elfedit -e 'cap:hw1 -and -cmp vis vis3' $@ |
128 + |
129 + |
129 files: |
130 files: |
130 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO |
131 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO |
131 |
132 |
132 Index: crypto/sha/Makefile |
133 Index: crypto/sha/Makefile |
133 ================================================================== |
134 ================================================================== |
134 diff -ru openssl-1.0.0d/crypto/sha/Makefile openssl-1.0.0d/crypto/sha/Makefile |
135 diff -ru openssl-1.0.0d/crypto/sha/Makefile openssl-1.0.0d/crypto/sha/Makefile |
135 --- openssl-1.0.0d/crypto/sha/Makefile 2011-05-24 17:03:18.000000000 -0700 |
136 --- openssl-1.0.0d/crypto/sha/Makefile 2011-05-24 17:03:18.000000000 -0700 |
136 +++ openssl-1.0.0d/crypto/sha/Makefile 2011-06-30 16:53:53.000000000 -0700 |
137 +++ openssl-1.0.0d/crypto/sha/Makefile 2011-08-27 16:01:49.000000000 -0700 |
137 @@ -17,6 +17,10 @@ |
138 @@ -17,6 +17,10 @@ |
138 ASFLAGS= $(INCLUDES) $(ASFLAG) |
139 ASFLAGS= $(INCLUDES) $(ASFLAG) |
139 AFLAGS= $(ASFLAGS) |
140 AFLAGS= $(ASFLAGS) |
140 |
141 |
141 +BITS:= $(shell if grep '^SHARED_LDFLAGS.*=.*-m32' ../../Makefile >/dev/null; \ |
142 +BITS:= $(shell if grep '^SHARED_LDFLAGS.*=.*-m32' ../../Makefile >/dev/null; \ |
142 + then echo 32; else echo 64; fi) |
143 + then echo 32; else echo 64; fi) |
143 +ASFLAGSYF= -xregsym=no -K pic -P -xarch=v9b -D_sparcv9 -D_ASM -Dsparc -m$(BITS) |
144 +ASFLAGSYF= -xregsym=no -K pic -P -xarch=v9v -D_sparcv9 -D_ASM -Dsparc -m$(BITS) |
144 + |
145 + |
145 GENERAL=Makefile |
146 GENERAL=Makefile |
146 TEST=shatest.c sha1test.c sha256t.c sha512t.c |
147 TEST=shatest.c sha1test.c sha256t.c sha512t.c |
147 APPS= |
148 APPS= |
148 @@ -76,6 +82,12 @@ |
149 @@ -76,6 +82,14 @@ |
149 sha256-%.s: asm/sha512-%.pl; $(PERL) $< $@ |
150 sha256-%.s: asm/sha512-%.pl; $(PERL) $< $@ |
150 sha512-%.s: asm/sha512-%.pl; $(PERL) $< $@ |
151 sha512-%.s: asm/sha512-%.pl; $(PERL) $< $@ |
151 |
152 |
152 +t4_sha1.o: asm/t4_sha1.S |
153 +t4_sha1.o: asm/t4_sha1.S |
153 + as $(ASFLAGSYF) -o $@ asm/t4_sha1.S |
154 + as $(ASFLAGSYF) -o $@ asm/t4_sha1.S |
|
155 + elfedit -e 'cap:hw1 -and -cmp vis vis3' $@ |
154 + |
156 + |
155 +t4_sha2.o: asm/t4_sha2.S |
157 +t4_sha2.o: asm/t4_sha2.S |
156 + as $(ASFLAGSYF) -o $@ asm/t4_sha2.S |
158 + as $(ASFLAGSYF) -o $@ asm/t4_sha2.S |
|
159 + elfedit -e 'cap:hw1 -and -cmp vis vis3' $@ |
157 + |
160 + |
158 files: |
161 files: |
159 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO |
162 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO |
160 |
163 |
161 Index: util/libeay.num |
164 Index: util/libeay.num |