From fa26c513b03b1026643df311c7d2cc46b23c4da5 Mon Sep 17 00:00:00 2001 From: "nelsonb%netscape.com" Date: Sat, 2 Sep 2000 05:41:21 +0000 Subject: [PATCH] When building on NT for X86, use new mpi_x86.asm implementation. --- security/nss/lib/freebl/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/security/nss/lib/freebl/Makefile b/security/nss/lib/freebl/Makefile index e323f98077c1..73a54636b745 100644 --- a/security/nss/lib/freebl/Makefile +++ b/security/nss/lib/freebl/Makefile @@ -68,6 +68,14 @@ ifneq ($(OS_ARCH),WINNT) endif endif +ifeq ($(OS_ARCH),WINNT) +ifneq ($(OS_TARGET),WIN16) + ASFILES = mpi_x86.asm + DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE -DMP_ASSEMBLY_DIV_2DX1D +endif +endif + + ifeq ($(OS_ARCH),IRIX) ifeq ($(USE_N32),1) ASFILES = mpi_mips.s @@ -156,6 +164,9 @@ mp%.c : mpi/mp%.c mp%.s : mpi/mp%.s cd mpi; cp $@ .. +mp%.asm : mpi/mp%.asm + cd mpi; cp $@ .. + logtab.h : mpi/logtab.h cd mpi; cp $@ ..