Annotation of OpenXM/src/pari/Makefile, Revision 1.27
1.27 ! noro 1: # $OpenXM: OpenXM/src/pari/Makefile,v 1.26 2020/01/16 03:58:25 ohara Exp $
1.21 ohara 2:
3: # Choose one of pari version.
4: # Example.
5: # $ make install ( for PARI/GP 2.0.x)
6: # $ make PARI_VER=2.2 install ( for PARI/GP 2.2.x)
1.1 maekawa 7:
1.23 noro 8: #PARI_VER=2.0
1.20 ohara 9: #PARI_VER=2.2
1.27 ! noro 10: #PARI_VER=2.3
! 11: PARI_VER=2.11
1.1 maekawa 12:
1.21 ohara 13: ## for PARI/GP unstable (2.2)
14: PARI_DEVEL_VER=pari-2.2.8.alpha
15: PARI_DEVEL_SUFFIX=.tar.gz
16:
1.27 ! noro 17: ## for PARI/GP unstable (2.3)
1.22 ohara 18: PARI_23_VER=pari-2.3.4
19: PARI_23_SUFFIX=.tar.gz
20:
1.27 ! noro 21: ## for PARI/GP unstable (2.11)
! 22: PARI_211_VER=pari-2.11.4
! 23: PARI_211_SUFFIX=.tar.gz
! 24:
1.20 ohara 25: all: build
1.1 maekawa 26:
1.20 ohara 27: fetch extract patch configure build build-doc install install-doc clean distclean:
1.27 ! noro 28: @if [ "${PARI_VER}" = 2.11 ]; then \
! 29: ${MAKE} -f Makefile.2.0 PARI=${PARI_211_VER} DIST_SUFFIX=${PARI_211_SUFFIX} $@ ; \
! 30: elif [ "${PARI_VER}" = 2.3 ]; then \
1.26 ohara 31: ${MAKE} -f Makefile.2.0 PARI=${PARI_23_VER} DIST_SUFFIX=${PARI_23_SUFFIX} $@ ; \
1.22 ohara 32: elif [ "${PARI_VER}" = 2.2 ]; then \
1.21 ohara 33: ${MAKE} -f Makefile.2.0 PARI=${PARI_DEVEL_VER} DIST_SUFFIX=${PARI_DEVEL_SUFFIX} $@ ; \
34: else \
35: ${MAKE} -f Makefile.2.0 $@ ; \
36: fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>