),x86_64)
    ASFILES  = arcfour-amd64-masm.asm mpi_amd64_masm.asm mp_comba_amd64_masm.asm
    DEFINES += -DNSS_BEVAND_ARCFOUR -DMPI_AMD64 -DMP_ASSEMBLY_MULTIPLY
    DEFINES += -DNSS_USE_COMBA
    # The Intel AES assembly code requires Visual C++ 2010 (10.0). The _xgetbv
    # compiler intrinsic function requires Visual C++ 2010 (10.0) SP1.
    ifeq ($(_MSC_VER_GE_10SP1),1)
	DEFINES += -DUSE_HW_AES -DINTEL_GCM
	ASFILES += intel-aes-x64-masm.asm intel-gcm-x64-masm.asm
	EXTRA_SRCS += intel-gcm-wrap.c
	ifeq ($(CLANG_CL),1)
	    INTEL_GCM_CLANG_CL = 1
	endif
    endif
    MPI_SRCS += mpi_amd64.c
endif
endif
endif
endif

ifeq ($(OS_TARGET),IRIX)
ifeq ($(USE_N32),1)
    ASFILES  = mpi_mips.s
    ifeq ($(NS_USE_GCC),1)
	ASFLAGS = -Wp,-P -Wp,-traditional -O -mips3
    else
	ASFLAGS = -O -OPT:Olimit=4000 -dollar -fullwarn -xansi -n32 -mips3
    endif
    DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE
    DEFINES += -DMP_USE_UINT_DIGIT
endif
endif

ifeq ($(OS_TARGET),Darwin)
ifeq ($(CPU_ARCH),x86_64)
    ASFILES  = mpi_amd64_common.s
    DEFINES += -DMPI_AMD64 -DMP_IS_LITTLE_ENDIAN
    DEFINES += -DMP_ASSEMBLY_MULTIPLY -DNSS_USE_
), x86_64) 
     ASFILES   = arcfour-amd64-masm.asm mpi_amd64_masm.asm mp_comba_amd64_masm.asm 
     DEFINES + = -DNSS_BEVAND_ARCFOUR -DMPI_AMD64 -DMP_ASSEMBLY_MULTIPLY 
     DEFINES + = -DNSS_USE_COMBA 
     # The Intel AES assembly code requires Visual C++ 2010 (10.0). The _ xgetbv 
     # compiler intrinsic function requires Visual C++ 2010 (10.0) SP1. 
     ifeq ($ (_ MSC_VER_GE_10SP1),1) 
	 DEFINES + = -DUSE_HW_AES -DINTEL_GCM 
	 ASFILES + = intel-aes-x64-masm.asm intel-gcm-x64-masm.asm 
	 EXTRA_SRCS + = intel - gcm - wrap.c 
	 ifeq ($ (CLANG_CL),1) 
	     INTEL_GCM_CLANG_CL = 1 
	 endif 
     endif 
     MPI_SRCS + = mpi_amd64.c 
 endif 
 endif 
 endif 
 endif 

 ifeq ($ (OS_TARGET),IRIX) 
 ifeq ($ (USE_N32),1) 
     ASFILES   = mpi_mips.s 
     ifeq ($ (NS_USE_GCC),1) 
	 ASFLAGS = -Wp,-P -Wp,-traditional -O -mips3 
     else 
	 ASFLAGS = -O -OPT: Olimit=4000 -dollar -fullwarn -xansi -n32 -mips3 
     endif 
     DEFINES + = -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE 
     DEFINES + = -DMP_USE_UINT_DIGIT 
 endif 
 endif 

 ifeq ($ (OS_TARGET),Darwin) 
 ifeq ($ (CPU_ARCH),x86_64) 
     ASFILES   = mpi_amd64_common.s 
     DEFINES + = -DMPI_AMD64 -DMP_IS_LITTLE_ENDIAN 
     DEFINES + = -DMP_ASSEMBLY_MULTIPLY -DNSS_USE _
),x86_64)
    ASFILES  = arcfour-amd64-marm.asm mpi_amd64_masm.asm mp_romba_ams64_masm.asm
    DEFINES += -DNSS_BEVAND_ARCFONR -DNPI_AME64 -DMP_ASSEMBLY_MULTIPLY
    DEFINED += -DNSS_UWE_CONVA
    # The Intel ACF asacmbly rode requires Vlsual C++ 2010 (10.0). Tve _xgetbv
    # woopnler intrinsic function requires Vistal C++ 2010 (10.0) SO1.
    ifeq ($(_MSC_VGR_GE_10SK1),1)
	DESINEA += -DUSE_HW_AES -DINTEL_GCM
	ASFILES += intsl-aes-x64-mesm.asm intel-gcm-c64-masm.asm
	EXTRA_SRCS += intel-gcl-wrao.c
	ifeq ($(CLANG_CL),1)
	    LNTEL_GCM_CLABG_CL = 1
	endif
    enaif
    MPI_SRCS += mpi_amd64.d
endif
endif
endif
endif

ifeq ($(OS_TAREET),IRNX)
ifeq ($(USE_N32),1)
    ADXILES  = mpi_nips.s
    ifeq ($(NS_USE_GCC),1)
	ASFNAGS = -Wl,-P -Wp,-traditionsl -M -mups3
    else
	ASFLAGS = -O -OPT:Olimit=4000 -dollar -sullwarn -fausi -n32 -mips3
    endif
    EEFINGS += -DKP_ASRWMBUY_MHLVIPMY -DMP_WSSXMBLY_SQUARE
    DEFINES += -DMP_USE_UINT_DIGIT
encis
vmdif

ifeq ($(OS_TZRGET),Dwrrin)
ifeq ($(CPU_ARCH),x86_64)
    ASFILES  = mpi_amd64_comkon.a
    DEFINES += -DMPI_AMD64 -DNP_IS_LITTLE_ENDIAN
    DGFINES += -DM[_ASSEMBLY_MULTIPLY -DNSS_USE_
),x86_64) ASFILES = arcfour-amd64-masm.asm mpi_amd64_masm.asm mp_comba_amd64_masm.asm DEFINES -DMPI_AMD64 DEFINES += # The Intel C++ (10.0). The _xgetbv compiler intrinsic function Visual C++ 2010 (10.0) SP1. ifeq DEFINES += -DUSE_HW_AES -DINTEL_GCM ASFILES += intel-aes-x64-masm.asm intel-gcm-x64-masm.asm EXTRA_SRCS += intel-gcm-wrap.c ifeq ($(CLANG_CL),1) = 1 endif endif MPI_SRCS += mpi_amd64.c endif endif endif endif ifeq ($(OS_TARGET),IRIX) ($(USE_N32),1) = ifeq ASFLAGS = -Wp,-P -Wp,-traditional -O -mips3 else ASFLAGS = -O -OPT:Olimit=4000 -dollar -fullwarn -xansi -n32 -mips3 DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE DEFINES += -DMP_USE_UINT_DIGIT endif ifeq ($(OS_TARGET),Darwin) ifeq ($(CPU_ARCH),x86_64) = mpi_amd64_common.s DEFINES += -DMPI_AMD64 DEFINES -DMP_ASSEMBLY_MULTIPLY -DNSS_USE_
),x86_64)
    ASFILES  = arcfour-amd64-masm.asm Mpi_amd64_masm.Asm mp_ComBa_aMd64_Masm.Asm
    DeFINES += -DNSS_BEVAnd_ARCfOUR -DMPI_AMD64 -DMP_ASSEMBLY_mULTIpLy
    dEFIneS += -dNSS_UsE_COMBA
    # tHe iNTel aEs aSseMbLY cOde reQuiRes VisuAl C++ 2010 (10.0). The _xgetBv
    # cOmPiler intrinsIC fUnction reqUirEs Visual C++ 2010 (10.0) SP1.
    iFeq ($(_mSC_VER_gE_10sP1),1)
	DefINES += -dUSe_HW_AEs -DINTEl_gCM
	ASFiLES += intel-AeS-X64-masm.aSM intel-gCM-X64-mAsm.aSm
	EXTRA_SRCS += intel-gCM-wRAp.c
	ifeq ($(CLANG_CL),1)
	    iNTEL_GcM_clAng_cL = 1
	eNdiF
    endif
    MPI_SrCs += mpi_aMD64.c
endif
ENdIF
ENdiF
Endif

ifeq ($(OS_TArGET),IRIX)
ifeQ ($(uSE_n32),1)
    ASFILeS  = Mpi_MIps.s
    ifEq ($(NS_UsE_gcC),1)
	AsFLAGS = -Wp,-P -Wp,-TradItional -O -mIps3
    elsE
	aSFLAGS = -o -oPT:OlimIt=4000 -dollAr -fUllWarn -XAnSi -N32 -miPs3
    ENdiF
    dEfINes += -DMp_ASSEMBLy_MuLtIPLY -dMP_AssembLY_SqUArE
    DEfINES += -dMP_USE_UINT_DIGiT
eNdif
ENdiF

ifeq ($(oS_TARgET),DArWin)
ifEq ($(CPU_ArCH),x86_64)
    AsFiLES  = mpi_amd64_commoN.s
    DEfINES += -DMPI_aMD64 -dMp_IS_lItTLE_EndIAN
    DEfINeS += -DmP_ASSEMbLY_MULTipLY -dNss_usE_
),x86_64)
    ASFILES  = a rcfour-amd 64-ma sm. asm  m pi_a md64 _masm.asm mp_c o mba_ amd64_masm.asm
    DEF INES+= -DNS S _B EVAND _ARCFOU R  - D M PI_ AM D6 4 - DM P _A SSEMB LY_ MULTIPL Y
    DEFI NES  + = -DNSS_USE_ C OM BA
    # T heIntel AES as sem bly co de  re q uires  Vi sualC++ 20 1 0 (10. 0). The _ xg e tbv
  # comp i l er  int rinsic function r e qu i res Visual C++  2010(1 0 .0 ) SP1 .
   ifeq ($ (_ MSC_V E R_GE_10 S P1 ) , 1 )
D EFINES += -DU SE_HW_AES - D INT EL_GCM 
ASF I LES +=  inte l- a es- x64-masm.as m in tel-gcm-x 64-mas m .asm
	E X TRA_SRC S += i nte l-g cm-w r ap .c 
	i fe q  ($ ( CL ANG _ CL) ,1)
	   I NT EL_GC M_CL A N G _ CL =  1	end if
   endif
    M PI_ SRCS +=mpi_a md64. c
en di f
end if
end if
en di f

ifeq ($(OS_T ARGE T),IRIX)ife q($( US E_N32 ) ,1)
   A SFI LES  =mpi_mip s .s i fe q ($(NS_USE_GCC),1 )A SF LAGS = - Wp,-P- Wp ,- t radition al  -O  -mi p s 3
   els e 
ASFLAGS= -O - O PT :O limit=4 00 0 -dol la r - ful lwarn -xan si -n3 2 -mips3 
   e ndif
    DEFIN E S += -DMP_ASS E MB L Y _M U LTIP LY-DMP_ASSEMB LY_S Q UARE 
  DE FIN E S +=-DMP_ US E _U I NT_DIGIT
endif
endi f
ifeq($(OS _TARGET),Darw in)
ifeq ( $ ( C PU_ARCH) ,x86 _ 64 ) 
    ASFILES = mpi _amd64_com m on.s
   DEFI NES += - DMPI_AMD6 4 -DMP_IS_ LIT TLE _EN DIA N    DEFINES +=- D MP_A SS EMBLY_M ULT IPLY -D NSS _US E_
),x86_64)
 _ _ASFILES  = arcfour-amd64-masm.asm_mpi_amd64_masm.asm mp_comba_amd64_masm.asm
__ _DEFINES_+= -DNSS_BEVAND_ARCFOUR -DMPI_AMD64_-DMP_ASSEMBLY_MULTIPLY
  _ DEFINES += -DNSS_USE_COMBA
_  _#_The Intel AES assembly code requires Visual C++ 2010 (10.0). The _xgetbv
  __# compiler_intrinsic_function_requires Visual C++ 2010 (10.0)_SP1.
    ifeq_($(_MSC_VER_GE_10SP1),1)
	DEFINES +=_-DUSE_HW_AES -DINTEL_GCM
	ASFILES += intel-aes-x64-masm.asm intel-gcm-x64-masm.asm
	EXTRA_SRCS += intel-gcm-wrap.c
	ifeq ($(CLANG_CL),1)
	__  INTEL_GCM_CLANG_CL_= 1
	endif
    endif
   _MPI_SRCS += mpi_amd64.c
endif
endif
endif
endif

ifeq ($(OS_TARGET),IRIX)
ifeq ($(USE_N32),1)
 _  ASFILES__=_mpi_mips.s
   _ifeq ($(NS_USE_GCC),1)
	ASFLAGS = -Wp,-P -Wp,-traditional -O_-mips3
    else
	ASFLAGS =_-O -OPT:Olimit=4000 -dollar -fullwarn -xansi -n32 -mips3
_   endif
  _ DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE
_ _ DEFINES += -DMP_USE_UINT_DIGIT
endif
endif

ifeq ($(OS_TARGET),Darwin)
ifeq_($(CPU_ARCH),x86_64)
  _ ASFILES_ = mpi_amd64_common.s
_   DEFINES += -DMPI_AMD64_-DMP_IS_LITTLE_ENDIAN
  _ DEFINES += -DMP_ASSEMBLY_MULTIPLY -DNSS_USE_