diff options
author | imp <imp@FreeBSD.org> | 1998-12-16 04:59:53 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1998-12-16 04:59:53 +0000 |
commit | e8eb0a612e5a5907aaccfeb851c9487cb58ba8e1 (patch) | |
tree | 11f1634fdb36db2b634ec7fafb1f96e095c8a3a5 /gnu/lib/libgmp | |
parent | a3877a7dd24931c4d53d1120effa028c8730a0ac (diff) | |
download | FreeBSD-src-e8eb0a612e5a5907aaccfeb851c9487cb58ba8e1.zip FreeBSD-src-e8eb0a612e5a5907aaccfeb851c9487cb58ba8e1.tar.gz |
Add support for building on MIPS based systems.
Diffstat (limited to 'gnu/lib/libgmp')
-rw-r--r-- | gnu/lib/libgmp/Makefile | 9 |
1 files changed, 8 insertions, 1 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 |