diff options
-rw-r--r-- | gnu/lib/libgmp/Makefile | 9 | ||||
-rw-r--r-- | gnu/lib/libmp/Makefile | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/gnu/lib/libgmp/Makefile b/gnu/lib/libgmp/Makefile index 4621b00..f96693b 100644 --- a/gnu/lib/libgmp/Makefile +++ b/gnu/lib/libgmp/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.18 1998/05/24 21:51:50 eivind Exp $ +# $Id: Makefile,v 1.19 1998/08/30 01:56:58 jb Exp $ # LIB= gmp @@ -23,6 +23,13 @@ CFLAGS+= -I${GMPDIR}/mpn/x86 MPN_SRC_ASM= add_n.S addmul_1.S lshift.S mul_1.S rshift.S sub_n.S submul_1.S +.elif ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" +.PATH: ${GMPDIR}/mpn/mips3 ${GMPDIR}/mpn/generic + +CFLAGS+= -I${GMPDIR}/mpn/mips3 + +MPN_SRC_ASM= add_n.s addmul_1.s lshift.s mul_1.s rshift.s sub_n.s submul_1.s + .elif ${MACHINE_ARCH} == "m68k" .PATH: ${GMPDIR}/mpn/m68k ${GMPDIR}/mpn/generic diff --git a/gnu/lib/libmp/Makefile b/gnu/lib/libmp/Makefile index f0c1eec..5f922d2 100644 --- a/gnu/lib/libmp/Makefile +++ b/gnu/lib/libmp/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.15 1998/05/15 06:42:37 jb Exp $ +# $Id: Makefile,v 1.16 1998/08/30 01:57:55 jb Exp $ # LIB= mp @@ -22,6 +22,13 @@ CFLAGS+= -I${GMPDIR}/mpn/x86 -I${GMPDIR}/mpz -DBERKELEY_MP MPN_SRC_ASM= add_n.S addmul_1.S lshift.S mul_1.S rshift.S sub_n.S submul_1.S +.elif ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" +.PATH: ${GMPDIR} ${GMPDIR}/mpn ${GMPDIR}/mpn/mips3 ${GMPDIR}/mpn/generic \ + ${GMPDIR}/mpbsd + +CFLAGS+= -I${GMPDIR}/mpn/mips3 -I${GMPDIR}/mpz -DBERKELEY_MP + +MPN_SRC_ASM= add_n.s addmul_1.s lshift.s mul_1.s rshift.s sub_n.s submul_1.s .elif ${MACHINE_ARCH} == "m68k" .PATH: ${GMPDIR} ${GMPDIR}/mpn ${GMPDIR}/mpn/m68k ${GMPDIR}/mpn/generic \ ${GMPDIR}/mpbsd |