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

Diff for /OpenXM/src/Makefile between version 1.108 and 1.123

version 1.108, 2001/08/21 00:47:17 version 1.123, 2003/09/02 03:35:56
Line 1 
Line 1 
 ## $OpenXM: OpenXM/src/Makefile,v 1.107 2001/05/31 08:04:34 ohara Exp $  ## $OpenXM: OpenXM/src/Makefile,v 1.122 2003/08/26 05:04:40 takayama Exp $
   
 OpenXM_HOME=../../OpenXM  OpenXM_HOME=../../OpenXM
 OPENXM_CONTRIB=../../OpenXM_contrib  OPENXM_CONTRIB=../../OpenXM_contrib
Line 9  RCDIR=../rc
Line 9  RCDIR=../rc
 COPYRIGHTDIR=../Copyright  COPYRIGHTDIR=../Copyright
   
 all: configure all-gc all-gmp all-asir all-gnuplot all-k097 all-kan96xx \  all: configure all-gc all-gmp all-asir all-gnuplot all-k097 all-kan96xx \
      all-kxx all-pari all-phc all-openmath all-oxmath all-tigers       all-kxx all-pari all-phc all-openmath all-oxmath all-tigers all-fep
   
 all-gc:  all-gc:
         @if test ! -f gc/.gc_make_done ; \          @if test ! -f gc/.gc_make_done ; \
Line 19  all-gc: 
Line 19  all-gc: 
         @touch gc/.gc_make_done          @touch gc/.gc_make_done
   
 all-gmp: configure-gmp  all-gmp: configure-gmp
         (if test ! -f .gmp_make_done ; then cd gmp ; make ; touch .gmp_make_done ; fi) ;          -@if test ! -f gmp/.gmp_make_done ; then \
                   (cd gmp ; make) ; \
           fi
           @touch gmp/.gmp_make_done
   
 all-oxtoolkit: configure-oxtoolkit install-gmp install-gc install-kxx  all-oxtoolkit: configure-oxtoolkit install-gmp install-gc configure-util
         (cd ox_toolkit; make)          (cd ox_toolkit; make)
   
 all-oxc: configure-oxc install-oxtoolkit  all-oxc: configure-oxc install-oxtoolkit
Line 38  all-asir: configure-asir
Line 41  all-asir: configure-asir
 all-gnuplot: configure-gnuplot  all-gnuplot: configure-gnuplot
         -(cd gnuplot ; make all)          -(cd gnuplot ; make all)
   
 all-k097: configure-k097 all-kan96xx  all-k097: configure-k097 all-kan96xx all-kxx
         (cd k097 ; make all)          (cd k097 ; make all)
   
 all-kan96xx: configure-kan96xx install-gc install-gmp  all-kan96xx: configure-kan96xx install-gc install-gmp
Line 48  all-kxx: configure-kxx all-kan96xx
Line 51  all-kxx: configure-kxx all-kan96xx
         (cd kxx ; make all)          (cd kxx ; make all)
   
 all-openmath:  all-openmath:
         @if ../misc/which.pl -s javac ; then \          -@if ../misc/which.pl -s javac ; then \
                 (cd OpenMath ; make all) ; \                  (cd OpenMath ; make all) ; \
         else \          else \
                 echo -n "Warning: javac (java compiler) is not found " ; \                  echo -n "Warning: javac (java compiler) is not found " ; \
Line 56  all-openmath:
Line 59  all-openmath:
         fi          fi
   
 all-oxmath: configure-oxmath install-oxtoolkit  all-oxmath: configure-oxmath install-oxtoolkit
         -@if test -x /usr/local/bin/math ; then \          -@if test -d /usr/local/mathematica ; then \
                 (cd ox_math ; make) ; \                  (cd ox_math ; make) ; \
         else \          else \
                 echo -n "Warning: Mathematica is not found. " ; \                  echo -n "Warning: Mathematica is not found. " ; \
Line 72  all-phc:
Line 75  all-phc:
 all-tigers:  all-tigers:
         (cd tigers ; make all)          (cd tigers ; make all)
   
   all-fep:
           -(cd ${OPENXM_CONTRIB2}/fep ; make all)
   
   
 all-misc :  all-misc :
         (cd ../rc ; make repl)          (cd ../rc ; make repl)
         (cd ../doc ; make all-install)          (cd ../doc ; make all-install)
Line 84  all-rc:
Line 90  all-rc:
 install: install-asir install-gnuplot install-k097 install-kan96xx \  install: install-asir install-gnuplot install-k097 install-kan96xx \
          install-kxx install-openmath install-oxmath install-pari \           install-kxx install-openmath install-oxmath install-pari \
          install-phc install-tigers install-asir-doc install-asir-contrib \           install-phc install-tigers install-asir-doc install-asir-contrib \
          install-misc           install-misc install-fep
   
   
 install-gc : all-gc  install-gc : all-gc
         -@if test ! -f gc/.gc_installed ; \          -@if test ! -f gc/.gc_installed ; \
         then \          then \
                 mkdir ../lib ; \                  if test ! -d ../lib ; then mkdir ../lib ; fi ; \
                 cp gc/gc.a ../lib/libgc.a ; \                  cp gc/gc.a ../lib/libgc.a ; \
                   if test ! -d ../include/gc ; then mkdir -p ../include/gc ; fi ; \
                   cp gc/include/gc.h gc/include/gc_cpp.h ../include/gc ; \
         fi          fi
         @touch gc/.gc_installed          @touch gc/.gc_installed
   
   install-asir-gc : configure-asir
           @if test ! -f gc/.asir-gc_installed ; \
           then \
                   if test ! -d ../lib ; then mkdir ../lib ; fi ; \
                   (cd asir2000 ; make install-libasir-gc) ; \
                   rm -f ../lib/libgc.a ; \
                   ln -s ../lib/libasir-gc.a ../lib/libgc.a ; \
                   echo "libasir-gc.a (modifed for asir) is installed as libgc.a instead of libgc.a" ; \
                   touch gc/.asir-gc_installed ; \
           fi
   
   
 install-gmp : all-gmp  install-gmp : all-gmp
         -@if test ! -f gmp/.gmp_installed ; \          @if test ! -f gmp/.gmp_installed ; \
         then \          then \
                 (cd gmp; make install) ; \                  (cd gmp; make install-exec) ; \
                   (cd gmp; cp gmp.h ../../OpenXM/include) ; \
         fi          fi
         @touch gmp/.gmp_installed          @touch gmp/.gmp_installed
   
Line 124  install-kxx: all-kxx
Line 144  install-kxx: all-kxx
         (cd kxx ; make install)          (cd kxx ; make install)
   
 install-openmath: all-openmath  install-openmath: all-openmath
         @if ../misc/which.pl -s javac ; then \          -@if ../misc/which.pl -s javac ; then \
                 (cd OpenMath ; make install) ; \                  (cd OpenMath ; make install) ; \
         else \          else \
                 echo -n "Warning: javac (java compiler) is not found " ; \                  echo -n "Warning: javac (java compiler) is not found " ; \
Line 137  install-oxtoolkit: all-oxtoolkit
Line 157  install-oxtoolkit: all-oxtoolkit
 install-oxc: all-oxc  install-oxc: all-oxc
         (cd oxc; make install)          (cd oxc; make install)
   
 install-oxmath: all-oxmath install-kxx  install-oxmath: all-oxmath configure-util
         -@if test -x /usr/local/bin/math ; then \          -@if test -d /usr/local/mathematica ; then \
                 (cd ox_math ; make install) ; \                  (cd ox_math ; make install) ; \
         else \          else \
                 echo -n "Warning: Mathematica is not found. " ; \                  echo -n "Warning: Mathematica is not found. " ; \
Line 165  install-asir-doc: install-asir
Line 185  install-asir-doc: install-asir
 install-misc:  install-misc:
         (cd ../rc ; make install.man)          (cd ../rc ; make install.man)
   
   install-fep: all-fep
           -(cd ${OPENXM_CONTRIB2}/fep ; make PREFIX=../../OpenXM install)
   
 install-rc: all-rc  install-rc: all-rc
         (cd ../rc ; make install)          (cd ../rc ; make install)
   
Line 186  clean:
Line 209  clean:
         (cd tigers ; make clean)          (cd tigers ; make clean)
         (cd asir-doc ; make clean)          (cd asir-doc ; make clean)
         (cd asir-contrib ; make clean)          (cd asir-contrib ; make clean)
           -(cd ${OPENXM_CONTRIB2}/fep ; make clean)
   
 distclean: clean  distclean: clean
         (cd uuencoded ; make distclean)          (cd uuencoded ; make distclean)
Line 205  distclean: clean
Line 229  distclean: clean
                $(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \                 $(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \
                $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp                 $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp
   
 configure: configure-links configure-include configure-bin configure-asir \  configure: configure-links configure-include configure-bin configure-util \
          configure-asir \
            configure-gnuplot \             configure-gnuplot \
            configure-k097 configure-kan96xx configure-kxx configure-oxmath \             configure-k097 configure-kan96xx configure-kxx configure-oxmath \
            configure-pari configure-gmp             configure-pari configure-gmp
   
   configure-util: configure-directory
           (cd util; make install)
   
 configure-include: configure-include-make-dir ../include/ox/cmotag.h ../include/ox/oxMessageTag.h ../include/ox/smCommand.h  configure-include: configure-include-make-dir ../include/ox/cmotag.h ../include/ox/oxMessageTag.h ../include/ox/smCommand.h
   
 configure-include-make-dir:  configure-include-make-dir:
Line 236  configure-gmp: configure-links
Line 264  configure-gmp: configure-links
           (cd gmp ; ./configure --prefix=`pwd`/../../OpenXM; touch .gmp_configured) ; \            (cd gmp ; ./configure --prefix=`pwd`/../../OpenXM; touch .gmp_configured) ; \
         fi          fi
   
 configure-asir:  configure-asir: configure-directory configure-util
         @if test -d $(OPENXM_CONTRIB2) ; then \          @if test -d $(OPENXM_CONTRIB2) ; then \
                 (cd asir2000 ; make configure) ; \                  (cd asir2000 ; make configure) ; \
         else \          else \
Line 250  configure-bin:
Line 278  configure-bin:
 configure-gnuplot:  configure-gnuplot:
         -(cd gnuplot ; make configure)          -(cd gnuplot ; make configure)
   
 configure-k097: configure-links  configure-k097: configure-links configure-util
           (cd k097 ; ./configure)
   
 configure-kan96xx: configure-links  configure-kan96xx: configure-links configure-util
         (cd kan96xx ; make configure)          (cd kan96xx ; make configure)
   
 configure-kxx:  configure-kxx: configure-util
         ( cd kxx ; ./make-configure)          ( cd kxx ; ./make-configure)
   
 configure-links:  configure-links: configure-directory
         -@if [ ! -f ./.configure-links-done ] ; then \          -@if [ ! -f ./.configure-links-done ] ; then \
         rm -f -r $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp ; \          rm -f -r $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp ; \
         (cd $(LIBDIR) ; ln -f -s ../src/k097 k097) ; \          (cd $(LIBDIR) ; ln -f -s ../src/k097 k097) ; \
Line 271  configure-links:
Line 300  configure-links:
         touch ./.configure-links-done ;\          touch ./.configure-links-done ;\
         fi          fi
   
   configure-directory:
           -@if [ ! -d ../bin ] ; then \
           mkdir ../bin ; \
           fi
   
 configure-oxtoolkit: configure-include  configure-oxtoolkit: configure-include
         (cd ox_toolkit; ./make-configure)          (cd ox_toolkit; ./make-configure)
   
 configure-oxc: configure-include  configure-oxc: configure-include
         (cd oxc; ./make-configure)          (cd oxc; ./make-configure)
   
 configure-oxmath: configure-include  configure-oxmath: configure-include configure-directory
         (cd ox_math; ./make-configure)          (cd ox_math; ./make-configure)
   
 configure-pari:  configure-pari:

Legend:
Removed from v.1.108  
changed lines
  Added in v.1.123

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