From: Andy Polyakov Date: Sat, 25 Dec 1999 16:08:31 +0000 (+0000) Subject: Makefile clean-ups, crypto/bn/asm/alpha.s compiles on Alpha Linux. X-Git-Tag: OpenSSL_0_9_5beta1~351 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=b96eb06f7907da2fef89c0c7b89ce4dedc593ecc Makefile clean-ups, crypto/bn/asm/alpha.s compiles on Alpha Linux. --- diff --git a/crypto/bn/Makefile.ssl b/crypto/bn/Makefile.ssl index fcabb62452..72d8024607 100644 --- a/crypto/bn/Makefile.ssl +++ b/crypto/bn/Makefile.ssl @@ -20,6 +20,13 @@ BN_ASM= bn_asm.o #BN_ASM= bn86-elf.o CFLAGS= $(INCLUDES) $(CFLAG) + +# We let the C compiler driver to take care of .s files. This is done in +# order to be excused from maintaining a separate set of architecture +# dependent assembler flags. E.g. if you throw -mcpu=ultrasparc at SPARC +# gcc, then the driver will automatically translate it to -xarch=v8plus +# and pass it down to assembler. +AS=$(CC) -c ASFLAGS=$(CFLAGS) GENERAL=Makefile @@ -113,13 +120,6 @@ asm/sparcv8plus-gcc27.o: asm/sparcv8plus.S $(CC) $(ASFLAGS) -E asm/sparcv8plus.S | \ /usr/ccs/bin/as -xarch=v8plus - -o asm/sparcv8plus-gcc27.o -# MIPS 64 bit assember -asm/mips3.o: asm/mips3.s - -# MIPS 32 bit assember -asm/mips1.o: asm/mips1.s - /usr/bin/as -O2 -o asm/mips1.o asm/mips1.s - files: $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO diff --git a/crypto/md5/Makefile.ssl b/crypto/md5/Makefile.ssl index bbd3775094..2767ed154e 100644 --- a/crypto/md5/Makefile.ssl +++ b/crypto/md5/Makefile.ssl @@ -19,6 +19,13 @@ AR= ar r MD5_ASM_OBJ= CFLAGS= $(INCLUDES) $(CFLAG) + +# We let the C compiler driver to take care of .s files. This is done in +# order to be excused from maintaining a separate set of architecture +# dependent assembler flags. E.g. if you throw -mcpu=ultrasparc at SPARC +# gcc, then the driver will automatically translate it to -xarch=v8plus +# and pass it down to assembler. +AS=$(CC) -c ASFLAGS=$(CFLAGS) GENERAL=Makefile