Commit b96eb06f authored by Andy Polyakov's avatar Andy Polyakov
Browse files

Makefile clean-ups, crypto/bn/asm/alpha.s compiles on Alpha Linux.

parent 36217a94
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -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

+7 −0
Original line number Diff line number Diff line
@@ -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