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

Annotation of OpenXM/src/Makefile, Revision 1.70

1.70    ! takayama    1: ## $OpenXM: OpenXM/src/Makefile,v 1.69 2000/01/20 09:17:44 takayama Exp $
1.33      maekawa     2:
1.55      maekawa     3: OPENXM_CONTRIB=../../OpenXM_contrib
1.53      maekawa     4: LIBDIR=../lib
                      5: BINDIR=../bin
1.68      takayama    6: RCDIR=../rc
1.69      takayama    7: COPYRIGHTDIR=../Copyright
1.53      maekawa     8:
                      9: all: configure all-asir all-gnuplot all-k097 all-kan96xx all-kxx \
                     10:      all-pari all-phc all-openmath all-oxmath all-tigers
1.26      maekawa    11:
1.41      maekawa    12: all-asir: configure-asir
1.52      maekawa    13:        (cd asir2000 ; make all)
1.21      maekawa    14:
1.41      maekawa    15: all-gnuplot: configure-gnuplot
1.52      maekawa    16:        (cd gnuplot ; make all)
1.32      maekawa    17:
1.49      maekawa    18: all-k097: configure-k097
1.52      maekawa    19:        (cd k097 ; make all)
1.49      maekawa    20:
1.45      maekawa    21: all-kan96xx: configure-kan96xx
1.47      maekawa    22:        (cd kan96xx ; make all)
1.32      maekawa    23:
1.45      maekawa    24: all-kxx: configure-kxx
1.52      maekawa    25:        (cd kxx ; make all)
1.31      maekawa    26:
1.30      maekawa    27: all-openmath:
                     28:        @if ../misc/which.pl -s javac ; then \
1.60      tam        29:                (cd OpenMath ; make all) ; \
1.30      maekawa    30:        else \
                     31:                echo -n "Warning: javac (java compiler) is not found " ; \
                     32:                echo "in your search path. OpenMath will not be compiled." ; \
                     33:        fi
                     34:
1.45      maekawa    35: all-oxmath: configure-oxmath
1.27      maekawa    36:        @if test -d /usr/local/mathematica ; then \
                     37:                (cd ox_math ; make) ; \
                     38:        else \
                     39:                echo -n "Warning: Mathematica is not found. " ; \
                     40:                echo "ox_math will not be compiled." ; \
1.23      maekawa    41:        fi
                     42:
1.37      maekawa    43: all-pari: configure-pari
                     44:        (cd pari ; make all)
1.25      maekawa    45:
1.22      maekawa    46: all-phc:
1.51      maekawa    47:        (cd phc ; make all)
1.22      maekawa    48:
                     49: all-tigers:
1.51      maekawa    50:        (cd tigers ; make all)
1.1       maekawa    51:
1.67      takayama   52: all-misc :
                     53:        (cd ../rc ; make repl)
                     54:        (cd ../doc ; make all)
                     55:
1.52      maekawa    56: install: install-asir install-gnuplot install-k097 install-kan96xx \
1.53      maekawa    57:         install-kxx install-openmath install-oxmath install-pari \
1.63      noro       58:         install-phc install-tigers install-asir-doc install-asir-contrib
1.52      maekawa    59:
                     60: install-asir: all-asir
                     61:        (cd asir2000 ; make install)
                     62:
                     63: install-gnuplot: all-gnuplot
                     64:        (cd gnuplot ; make install)
                     65:
                     66: install-k097: all-k097
                     67:        (cd k097 ; make install)
1.37      maekawa    68:
1.47      maekawa    69: install-kan96xx: all-kan96xx
1.57      takayama   70:        (cd kan96xx ; make install)
1.47      maekawa    71:
1.52      maekawa    72: install-kxx: all-kxx
1.58      takayama   73:        (cd kxx ; make install)
1.52      maekawa    74:
1.53      maekawa    75: install-openmath: all-openmath
1.66      takayama   76:        @if ../misc/which.pl -s javac ; then \
                     77:                (cd OpenMath ; make install) ; \
                     78:        else \
                     79:                echo -n "Warning: javac (java compiler) is not found " ; \
                     80:                echo "in your search path. OpenMath will not be installed." ; \
                     81:        fi
                     82:
1.53      maekawa    83:
                     84: install-oxmath: all-oxmath
1.70    ! takayama   85:        @if test -d /usr/local/mathematica ; then \
        !            86:                (cd ox_math ; make install) ; \
        !            87:        else \
        !            88:                echo -n "Warning: Mathematica is not found. " ; \
        !            89:                echo "ox_math will not be installed." ; \
        !            90:        fi
        !            91:        -(cd ox_math/documents ; make install)
        !            92:        -(cd ox_math/lib ; make install)
1.53      maekawa    93:
1.37      maekawa    94: install-pari: all-pari
1.45      maekawa    95:        (cd pari ; make install)
1.51      maekawa    96:
                     97: install-phc: all-phc
                     98:        (cd phc ; make install)
                     99:
                    100: install-tigers: all-tigers
                    101:        (cd tigers ; make install)
1.37      maekawa   102:
1.59      takayama  103: install-asir-contrib: install-asir
                    104:        (cd asir-contrib ; make install)
1.63      noro      105:
                    106: install-asir-doc: install-asir
                    107:        (cd asir-doc ; make install)
1.59      takayama  108:
1.29      maekawa   109: clean:
1.52      maekawa   110:        (cd asir2000 ; make clean)
                    111:        (cd gnuplot ; make clean)
                    112:        (cd k097 ; make clean)
1.36      maekawa   113:        (cd kan96xx ; make clean)
1.1       maekawa   114:        (cd kxx ; make clean)
1.60      tam       115:        (cd OpenMath ; make clean)
1.52      maekawa   116: #      (cd ox_math ; make clean)
1.38      maekawa   117:        (cd pari ; make clean)
1.36      maekawa   118:        (cd phc ; make clean)
1.52      maekawa   119:        (cd tigers ; make clean)
1.64      noro      120:        (cd asir-doc ; make clean)
1.59      takayama  121:        (cd asir-contrib ; make clean)
1.11      takayama  122:
1.39      maekawa   123: distclean: clean
1.56      maekawa   124:        (cd $(BINDIR) ; make distclean)
1.46      maekawa   125:        (cd asir2000 ; make distclean)
1.40      maekawa   126:        (cd gnuplot ; make distclean)
1.36      maekawa   127:        (cd kan96xx ; make distclean)
1.60      tam       128:        (cd OpenMath ; make distclean)
1.38      maekawa   129:        (cd pari ; make distclean)
1.44      maekawa   130:        (cd phc ; make distclean)
1.40      maekawa   131:        (cd tigers ; make distclean)
1.56      maekawa   132:        rm -rf $(BINDIR)/d0 $(BINDIR)/k0 $(BINDIR)/ox $(BINDIR)/ox_sm1 \
1.53      maekawa   133:               $(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \
                    134:               $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp
1.11      takayama  135:
1.65      takayama  136: configure: configure-links configure-bin configure-asir \
1.62      takayama  137:           configure-gnuplot \
1.50      maekawa   138:           configure-k097 configure-kan96xx configure-kxx configure-oxmath \
                    139:           configure-pari
1.37      maekawa   140:
1.52      maekawa   141: configure-asir:
1.42      maekawa   142:        (cd asir2000; make configure)
1.41      maekawa   143:
1.45      maekawa   144: configure-bin:
1.56      maekawa   145:        (cd $(BINDIR) ; make configure)
1.45      maekawa   146:
1.41      maekawa   147: configure-gnuplot:
                    148:        (cd gnuplot ; make configure)
1.48      maekawa   149:
                    150: configure-k097: install-kan96xx
1.37      maekawa   151:
1.45      maekawa   152: configure-kan96xx:
                    153:        (cd kan96xx ; make configure)
                    154:
1.47      maekawa   155: configure-kxx: install-kan96xx
1.45      maekawa   156:        (cd kxx ; make configure)
                    157:
1.37      maekawa   158: configure-links:
1.61      noro      159:        rm -f -r $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp
1.54      maekawa   160:        (cd $(LIBDIR) ; ln -f -s ../src/k097 k097)
                    161:        (cd $(LIBDIR) ; ln -f -s ../src/kan96xx/Doc sm1)
                    162:        ln -f -s kan96xx SSkan
1.53      maekawa   163:        ln -f -s $(BINDIR) bin
1.55      maekawa   164:        ln -f -s $(OPENXM_CONTRIB)/gc gc
                    165:        ln -f -s $(OPENXM_CONTRIB)/gmp gmp
1.45      maekawa   166:
                    167: configure-oxmath:
                    168:        (cd ox_math; ./configure)
1.37      maekawa   169:
                    170: configure-pari:
1.36      maekawa   171:        (cd pari ; make configure)
1.67      takayama  172:
1.68      takayama  173: clean-rc :
                    174:        (cd $(RCDIR) ; make clean )
1.69      takayama  175: all-Copyright :
                    176:        (cd $(COPYRIGHTDIR) ; make copy-copyright )
1.68      takayama  177:
1.69      takayama  178: dist : all-Copyright clean-rc all install all-misc
1.62      takayama  179:

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