summaryrefslogtreecommitdiffstats
path: root/crypto/md5
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>1999-07-25 15:13:49 +0000
committerAndy Polyakov <appro@openssl.org>1999-07-25 15:13:49 +0000
commita0618e3e5e79f629e7818d64338d29d4a751c649 (patch)
tree2d00ab4492e94282ec20898446e0a1bca2684d21 /crypto/md5
parentccb8a026c0bb91c1904db1c12376239e67000196 (diff)
Added support for SPARC Linux.
Diffstat (limited to 'crypto/md5')
-rw-r--r--crypto/md5/Makefile.ssl12
1 files changed, 5 insertions, 7 deletions
diff --git a/crypto/md5/Makefile.ssl b/crypto/md5/Makefile.ssl
index d73650fe4d..5d6dc8a376 100644
--- a/crypto/md5/Makefile.ssl
+++ b/crypto/md5/Makefile.ssl
@@ -19,6 +19,7 @@ AR= ar r
MD5_ASM_OBJ=
CFLAGS= $(INCLUDES) $(CFLAG)
+ASFLAGS=$(CFLAGS)
GENERAL=Makefile
TEST=md5test.c
@@ -66,16 +67,13 @@ asm/mx86bsdi.o: asm/mx86unix.cpp
asm/mx86unix.cpp: asm/md5-586.pl
(cd asm; $(PERL) md5-586.pl cpp >mx86unix.cpp)
-# works for both SC and gcc
-# (PATH is changed because /usr/ccs/bin/as knows opcodes we need
-# that GNU as has never heard of)
asm/md5-sparcv8plus.o: asm/md5-sparcv9.S
- $(CPP) -DULTRASPARC -DMD5_BLOCK_DATA_ORDER asm/md5-sparcv9.S | \
- PATH=/usr/ccs/bin:$(PATH) as -xarch=v8plus - -o asm/md5-sparcv8plus.o
+ $(CC) $(ASFLAGS) -DMD5_BLOCK_DATA_ORDER -c \
+ -o asm/md5-sparcv8plus.o asm/md5-sparcv9.S
asm/md5-sparcv9.o: asm/md5-sparcv9.S
- PATH=/usr/ccs/bin:$(PATH) $(CC) -xarch=v9 -DULTRASPARC -DMD5_BLOCK_DATA_ORDER -c asm/md5-sparcv9.S -o asm/md5-sparcv9.o
-
+ $(CC) $(ASFLAGS) -DMD5_BLOCK_DATA_ORDER -c \
+ -o asm/md5-sparcv9.o asm/md5-sparcv9.S
files:
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO