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