Annotation of OpenXM/src/pari/Makefile, Revision 1.26
1.26 ! ohara 1: # $OpenXM: OpenXM/src/pari/Makefile,v 1.25 2017/03/31 03:17:59 takayama 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.25 takayama 10: PARI_VER=2.3
1.1 maekawa 11:
1.21 ohara 12: ## for PARI/GP unstable (2.2)
13: PARI_DEVEL_VER=pari-2.2.8.alpha
14: PARI_DEVEL_SUFFIX=.tar.gz
15:
1.22 ohara 16: ## for PARI/GP unstable (2.2)
17: PARI_23_VER=pari-2.3.4
18: PARI_23_SUFFIX=.tar.gz
19:
1.20 ohara 20: all: build
1.1 maekawa 21:
1.20 ohara 22: fetch extract patch configure build build-doc install install-doc clean distclean:
1.22 ohara 23: @if [ "${PARI_VER}" = 2.3 ]; then \
1.26 ! ohara 24: ${MAKE} -f Makefile.2.0 PARI=${PARI_23_VER} DIST_SUFFIX=${PARI_23_SUFFIX} $@ ; \
1.22 ohara 25: elif [ "${PARI_VER}" = 2.2 ]; then \
1.21 ohara 26: ${MAKE} -f Makefile.2.0 PARI=${PARI_DEVEL_VER} DIST_SUFFIX=${PARI_DEVEL_SUFFIX} $@ ; \
27: else \
28: ${MAKE} -f Makefile.2.0 $@ ; \
29: fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>