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

Annotation of OpenXM/src/Makefile, Revision 1.83

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

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