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

Diff for /OpenXM/src/pari/Makefile between version 1.10 and 1.21

version 1.10, 2000/02/27 07:26:21 version 1.21, 2004/12/09 18:54:31
Line 1 
Line 1 
 # $OpenXM: OpenXM/src/pari/Makefile,v 1.9 2000/01/08 21:47:04 maekawa Exp $  # $OpenXM: OpenXM/src/pari/Makefile,v 1.20 2004/12/08 05:24:21 ohara Exp $
   
 PARI = ../../../OpenXM_contrib/pari  # 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: all install-lib  ## for PARI/GP unstable (2.2)
         (cd $(PARI) ; make install)  PARI_DEVEL_VER=pari-2.2.8.alpha
         @if [ ! -d $(OpenXM_ROOT)/doc/pari ]; then \  PARI_DEVEL_SUFFIX=.tar.gz
            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:  all: build
         @if [ -f ./.make_done ]; then \  
                 (cd $(PARI) ; make clean) \  
         fi  
         @rm -f ./.make_done ./.configure_done  
   
 distclean:  fetch extract patch configure build build-doc install install-doc clean distclean:
         @cat BINARIES | xargs -t rm -rf          @if [ "${PARI_VER}" != 2.0 ]; then \
                   ${MAKE} -f Makefile.2.0 PARI=${PARI_DEVEL_VER} DIST_SUFFIX=${PARI_DEVEL_SUFFIX} $@ ; \
 configure:          else \
         @if [ ! -f ./.configure_done ]; then \                  ${MAKE} -f Makefile.2.0 $@ ; \
                 (cd $(PARI) ; ./Configure --prefix=../../../OpenXM) \  
         fi          fi
         @touch ./.configure_done  
   
 install-lib: all  
         (cd $(PARI) ; make install-lib-sta)  
         ranlib ../../lib/libpari.a  

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.21

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