[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / pari

Diff for /OpenXM/src/pari/Makefile between version 1.5 and 1.27

version 1.5, 2000/01/08 18:41:19 version 1.27, 2020/08/26 06:03:31
Line 1 
Line 1 
 # $OpenXM: OpenXM/src/pari/Makefile,v 1.4 2000/01/08 18:30:18 maekawa Exp $  # $OpenXM: OpenXM/src/pari/Makefile,v 1.26 2020/01/16 03:58:25 ohara Exp $
   
 PARI = ../../../OpenXM_contrib/pari  # Choose one of pari version.
 CURDIR = ../../OpenXM/src/pari  # Example.
 BINDIR = ../../bin  # $ make install                 ( for PARI/GP 2.0.x)
   # $ make PARI_VER=2.2 install    ( for PARI/GP 2.2.x)
   
 all: configure  #PARI_VER=2.0
         @if [ ! -f ./.make_done ]; then \  #PARI_VER=2.2
                 (cd $(PARI) ; make all) \  #PARI_VER=2.3
         fi  PARI_VER=2.11
         @touch ./.make_done  
   
 install: all  ## for PARI/GP unstable (2.2)
         (cd $(PARI) ; make install install-lib-sta) \  PARI_DEVEL_VER=pari-2.2.8.alpha
   PARI_DEVEL_SUFFIX=.tar.gz
   
 clean:  ## for PARI/GP unstable (2.3)
         @if [ -f ./.make_done ]; then \  PARI_23_VER=pari-2.3.4
                 (cd $(PARI) ; make clean) \  PARI_23_SUFFIX=.tar.gz
         fi  
         @rm -f ./.make_done ./.configure_done  
   
 distclean:  ## for PARI/GP unstable (2.11)
         rm -rf ../../lib/libpari.* ../../lib/pari  PARI_211_VER=pari-2.11.4
         rm -rf ../../include/pari  PARI_211_SUFFIX=.tar.gz
         rm -rf $(BINDIR)/gp $(BINDIR)/gp-2.0  
   
 configure:  all: build
         @if [ ! -f ./.configure_done ]; then \  
                 (cd $(PARI) ; ./Configure --prefix=../../../OpenXM) \  fetch extract patch configure build build-doc install install-doc clean distclean:
           @if [ "${PARI_VER}" = 2.11 ]; then \
                   ${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 \
                   ${MAKE} -f Makefile.2.0 PARI=${PARI_DEVEL_VER} DIST_SUFFIX=${PARI_DEVEL_SUFFIX} $@ ; \
           else \
                   ${MAKE} -f Makefile.2.0 $@ ; \
         fi          fi
         @touch ./.configure_done  

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.27

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>