version 1.25, 2017/03/31 03:17:59 |
version 1.27, 2020/08/26 06:03:31 |
|
|
# $OpenXM: OpenXM/src/pari/Makefile,v 1.24 2017/03/31 02:18:33 takayama Exp $ |
# $OpenXM: OpenXM/src/pari/Makefile,v 1.26 2020/01/16 03:58:25 ohara Exp $ |
|
|
# Choose one of pari version. |
# Choose one of pari version. |
# Example. |
# Example. |
|
|
|
|
#PARI_VER=2.0 |
#PARI_VER=2.0 |
#PARI_VER=2.2 |
#PARI_VER=2.2 |
PARI_VER=2.3 |
#PARI_VER=2.3 |
|
PARI_VER=2.11 |
|
|
## for PARI/GP unstable (2.2) |
## for PARI/GP unstable (2.2) |
PARI_DEVEL_VER=pari-2.2.8.alpha |
PARI_DEVEL_VER=pari-2.2.8.alpha |
PARI_DEVEL_SUFFIX=.tar.gz |
PARI_DEVEL_SUFFIX=.tar.gz |
|
|
## for PARI/GP unstable (2.2) |
## for PARI/GP unstable (2.3) |
PARI_23_VER=pari-2.3.4 |
PARI_23_VER=pari-2.3.4 |
PARI_23_SUFFIX=.tar.gz |
PARI_23_SUFFIX=.tar.gz |
|
|
|
## for PARI/GP unstable (2.11) |
|
PARI_211_VER=pari-2.11.4 |
|
PARI_211_SUFFIX=.tar.gz |
|
|
all: build |
all: build |
|
|
fetch extract patch configure build build-doc install install-doc clean distclean: |
fetch extract patch configure build build-doc install install-doc clean distclean: |
@if [ "${PARI_VER}" = 2.3 ]; then \ |
@if [ "${PARI_VER}" = 2.11 ]; then \ |
${MAKE} -f Makefile.2.0 PARI=${PARI_23_VER} DIST_SUFFIX=${PARI_23_SUFFIX} PATCH_FILE=${PARI_DEVEL_VER}.diff $@ ; \ |
${MAKE} -f Makefile.2.0 PARI=${PARI_211_VER} DIST_SUFFIX=${PARI_211_SUFFIX} $@ ; \ |
|
elif [ "${PARI_VER}" = 2.3 ]; then \ |
|
${MAKE} -f Makefile.2.0 PARI=${PARI_23_VER} DIST_SUFFIX=${PARI_23_SUFFIX} $@ ; \ |
elif [ "${PARI_VER}" = 2.2 ]; then \ |
elif [ "${PARI_VER}" = 2.2 ]; then \ |
${MAKE} -f Makefile.2.0 PARI=${PARI_DEVEL_VER} DIST_SUFFIX=${PARI_DEVEL_SUFFIX} $@ ; \ |
${MAKE} -f Makefile.2.0 PARI=${PARI_DEVEL_VER} DIST_SUFFIX=${PARI_DEVEL_SUFFIX} $@ ; \ |
else \ |
else \ |