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

Diff for /OpenXM/src/pari/Makefile between version 1.12 and 1.22

version 1.12, 2001/10/03 01:47:29 version 1.22, 2008/08/11 15:53:33
Line 1 
Line 1 
 # $OpenXM: OpenXM/src/pari/Makefile,v 1.11 2000/08/31 06:28:21 takayama Exp $  # $OpenXM: OpenXM/src/pari/Makefile,v 1.21 2004/12/09 18:54:31 ohara Exp $
   
 PARI = ../../../OpenXM_contrib/pari-2.2  # Choose one of pari version.
 OpenXM_ROOT = ../../../OpenXM  # Example.
   # $ 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) \  
         fi  
         @touch ./.make_done  
   
 install: install-lib-bin  ## for PARI/GP unstable (2.2)
   PARI_DEVEL_VER=pari-2.2.8.alpha
   PARI_DEVEL_SUFFIX=.tar.gz
   
 install-lib-bin: all install-lib  ## for PARI/GP unstable (2.2)
         (cd $(PARI)/O*-* ; make install-lib-dyn)  PARI_23_VER=pari-2.3.4
         (cd $(PARI)/O*-* ; make install-include)  PARI_23_SUFFIX=.tar.gz
         (cd $(PARI)/O*-* ; make install-bin)  
         (cd $(PARI)/O*-* ; make install-misc)  
         (cd $(PARI)/O*-* ; make install-man)  
         (cd $(PARI)/O*-* ; make install-data)  
   
 install-doc: all  all: build
         (cd $(PARI) ; make doc)  
         @if [ ! -d $(OpenXM_ROOT)/doc/pari ]; then \  
            mkdir $(OpenXM_ROOT)/doc/pari ;\  
         fi  
         -cp $(OpenXM_ROOT)/lib/pari/users.dvi  $(OpenXM_ROOT)/doc/pari/users.dvi  
         -cp $(OpenXM_ROOT)/lib/pari/tutorial.dvi  $(OpenXM_ROOT)/doc/pari/tutorial.dvi  
   
 clean:  fetch extract patch configure build build-doc install install-doc clean distclean:
         @if [ -f ./.make_done ]; then \          @if [ "${PARI_VER}" = 2.3 ]; then \
                 (cd $(PARI) ; make clean) \                  ${MAKE} -f Makefile.2.0 PARI=${PARI_23_VER} DIST_SUFFIX=${PARI_23_SUFFIX} PATCH_FILE=${PARI_DEVEL_VER}.diff $@ ; \
           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
         @rm -f ./.make_done ./.configure_done  
   
 distclean:  
         @cat BINARIES | xargs -t rm -rf  
   
 configure:  
         @if [ ! -f ./.configure_done ]; then \  
                 (cd $(PARI) ; ./Configure --prefix=../../../OpenXM) \  
         fi  
         @touch ./.configure_done  
   
 install-lib: all  
         (cd $(PARI) ; make install-lib-sta)  
         ranlib ../../lib/libpari-2.2.a  

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.22

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