blob: 9798243ab9b54339eb0c50558552ae56bf8ed67d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/sh
SYST=`uname -a | awk '{print $1$3}'`
special=
case $SYST in
SunOS5*)
dirname=solaris;;
Linux*)
special="-DLIBC211"; # for __setfpucw
dirname=linux;;
OSF*)
special="-mfp-rounding-mode=d -mieee-with-inexact";
dirname=alpha;;
SunOS4*)
dirname=sunos;;
*)
echo gmp n\'est pas compile pour le systeme $SYST.
exit 0;;
esac
GMPDIR=/users/polka/logiciels/gmp/$dirname
export GMPDIR dirname special
if [ "$1" = "tests" ]
then
cd tests; make all
elif [ "$1" = "" ]
then
make libmpfr.a
else
make $*
fi
|