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

Annotation of OpenXM/src/Makefile, Revision 1.145

1.145   ! ohara       1: ## $OpenXM: OpenXM/src/Makefile,v 1.144 2004/07/03 06:53:55 ohara Exp $
1.33      maekawa     2:
1.124     takayama    3: OpenXM_HOME=..
                      4: OpenXM_contrib=../../OpenXM_contrib
                      5: OpenXM_contrib2=../../OpenXM_contrib2
1.53      maekawa     6: LIBDIR=../lib
                      7: BINDIR=../bin
1.68      takayama    8: RCDIR=../rc
1.69      takayama    9: COPYRIGHTDIR=../Copyright
1.53      maekawa    10:
1.124     takayama   11: all: all-util all-gc all-gmp all-asir all-gnuplot all-k097 all-kan96xx \
1.113     takayama   12:      all-kxx all-pari all-phc all-openmath all-oxmath all-tigers all-fep
1.85      takayama   13:
1.133     takayama   14: all-gc: install-util
1.124     takayama   15:        (cd gc; make all)
1.85      takayama   16:
                     17: all-gmp: configure-gmp
1.124     takayama   18:        (cd gmp; make all)
1.26      maekawa    19:
1.144     ohara      20: all-oxtoolkit: configure-oxtoolkit install-gmp install-gc install-util install-kan96xx
1.87      ohara      21:        (cd ox_toolkit; make)
                     22:
1.130     takayama   23: all-oxc: configure-oxc install-oxtoolkit
1.98      ohara      24:        (cd oxc; make)
                     25:
1.124     takayama   26: all-asir: configure-asir install-pari
                     27:        (cd asir2000 ; make all)
1.21      maekawa    28:
1.41      maekawa    29: all-gnuplot: configure-gnuplot
1.100     takayama   30:        -(cd gnuplot ; make all)
1.32      maekawa    31:
1.124     takayama   32: all-k097: configure-k097 all-kan96xx all-kxx install-oxtags
1.52      maekawa    33:        (cd k097 ; make all)
1.49      maekawa    34:
1.124     takayama   35: all-kan96xx: configure-kan96xx install-gc install-gmp install-util install-oxtags
1.47      maekawa    36:        (cd kan96xx ; make all)
1.32      maekawa    37:
1.124     takayama   38: all-kxx: configure-kxx all-kan96xx install-util install-oxtags
1.52      maekawa    39:        (cd kxx ; make all)
1.31      maekawa    40:
1.30      maekawa    41: all-openmath:
1.110     takayama   42:        -@if ../misc/which.pl -s javac ; then \
1.60      tam        43:                (cd OpenMath ; make all) ; \
1.30      maekawa    44:        else \
                     45:                echo -n "Warning: javac (java compiler) is not found " ; \
                     46:                echo "in your search path. OpenMath will not be compiled." ; \
                     47:        fi
                     48:
1.130     takayama   49: all-oxmath: configure-oxmath install-oxtoolkit install-gc
1.114     ohara      50:        -@if test -d /usr/local/mathematica ; then \
1.100     takayama   51:                (cd ox_math ; make) ; \
1.27      maekawa    52:        else \
                     53:                echo -n "Warning: Mathematica is not found. " ; \
                     54:                echo "ox_math will not be compiled." ; \
1.23      maekawa    55:        fi
                     56:
1.37      maekawa    57: all-pari: configure-pari
                     58:        (cd pari ; make all)
1.25      maekawa    59:
1.22      maekawa    60: all-phc:
1.51      maekawa    61:        (cd phc ; make all)
1.22      maekawa    62:
                     63: all-tigers:
1.51      maekawa    64:        (cd tigers ; make all)
1.1       maekawa    65:
1.113     takayama   66: all-fep:
1.124     takayama   67:        -(cd ${OpenXM_contrib2}/fep ; make all)
1.113     takayama   68:
1.102     takayama   69:
1.124     takayama   70: all-misc : install-util
1.67      takayama   71:        (cd ../rc ; make repl)
1.71      takayama   72:        (cd ../doc ; make all-install)
                     73:        (cd ../doc ; make all-spec)
1.67      takayama   74:
1.104     takayama   75: all-rc:
                     76:        (cd ../rc ; make )
1.138     takayama   77: all-util: configure-util
1.124     takayama   78:        (cd util ; make all)
1.104     takayama   79:
1.124     takayama   80: install: install-oxtags install-util install-asir install-gnuplot \
                     81:         install-k097 install-kan96xx \
1.53      maekawa    82:         install-kxx install-openmath install-oxmath install-pari \
1.83      takayama   83:         install-phc install-tigers install-asir-doc install-asir-contrib \
1.136     takayama   84:         install-misc install-fep install-uuencoded
1.52      maekawa    85:
1.124     takayama   86: install-oxtags:
                     87:        (cd ../doc/OpenXM-web ; make install-exec)
                     88:
                     89: install-util: all-util
                     90:        (cd util; make install)
1.85      takayama   91:
                     92: install-gc : all-gc
1.124     takayama   93:        (cd gc; make install)
1.85      takayama   94:
                     95:
                     96: install-gmp : all-gmp
1.124     takayama   97:        (cd gmp; make install)
1.85      takayama   98:
1.52      maekawa    99: install-asir: all-asir
1.124     takayama  100:        (cd asir2000 ; make install) ; \
1.52      maekawa   101:
                    102: install-gnuplot: all-gnuplot
1.100     takayama  103:        -(cd gnuplot ; make install)
1.52      maekawa   104:
1.130     takayama  105: install-k097:  install-kxx all-k097 install-oxc
1.52      maekawa   106:        (cd k097 ; make install)
1.37      maekawa   107:
1.47      maekawa   108: install-kan96xx: all-kan96xx
1.57      takayama  109:        (cd kan96xx ; make install)
1.47      maekawa   110:
1.52      maekawa   111: install-kxx: all-kxx
1.58      takayama  112:        (cd kxx ; make install)
1.52      maekawa   113:
1.53      maekawa   114: install-openmath: all-openmath
1.110     takayama  115:        -@if ../misc/which.pl -s javac ; then \
1.66      takayama  116:                (cd OpenMath ; make install) ; \
                    117:        else \
                    118:                echo -n "Warning: javac (java compiler) is not found " ; \
                    119:                echo "in your search path. OpenMath will not be installed." ; \
                    120:        fi
                    121:
1.87      ohara     122: install-oxtoolkit: all-oxtoolkit
                    123:        (cd ox_toolkit; make install)
1.53      maekawa   124:
1.98      ohara     125: install-oxc: all-oxc
                    126:        (cd oxc; make install)
                    127:
1.124     takayama  128: install-oxmath: all-oxmath
1.114     ohara     129:        -@if test -d /usr/local/mathematica ; then \
1.100     takayama  130:                (cd ox_math ; make install) ; \
1.70      takayama  131:        else \
                    132:                echo -n "Warning: Mathematica is not found. " ; \
                    133:                echo "ox_math will not be installed." ; \
                    134:        fi
                    135:        -(cd ox_math/documents ; make install)
                    136:        -(cd ox_math/lib ; make install)
1.53      maekawa   137:
1.37      maekawa   138: install-pari: all-pari
1.45      maekawa   139:        (cd pari ; make install)
1.51      maekawa   140:
                    141: install-phc: all-phc
                    142:        (cd phc ; make install)
                    143:
                    144: install-tigers: all-tigers
                    145:        (cd tigers ; make install)
1.37      maekawa   146:
1.143     takayama  147: install-asir-contrib: configure-asir-contrib install-asir-contrib-asir-progs \
1.127     takayama  148:                       install-asir-contrib-oxservers
                    149: install-asir-contrib-oxservers: install-asir install-util \
                    150:                 install-k097 install-kxx install-openmath install-oxmath \
                    151:                 install-phc install-tigers install-uuencoded install-gnuplot
                    152: install-asir-contrib-asir-progs: install-asir install-util
1.59      takayama  153:        (cd asir-contrib ; make install)
1.127     takayama  154:
1.145   ! ohara     155: install-asir-doc: configure-asir-doc
1.142     takayama  156:        -(cd asir-doc ; make install)
1.83      takayama  157:
                    158: install-misc:
1.139     takayama  159:        (cd ../rc ; make install-man)
1.59      takayama  160:
1.113     takayama  161: install-fep: all-fep
1.124     takayama  162:        -(cd ${OpenXM_contrib2}/fep ; make PREFIX=../../OpenXM install)
1.113     takayama  163:
1.104     takayama  164: install-rc: all-rc
                    165:        (cd ../rc ; make install)
                    166:
1.124     takayama  167: install-uuencoded:
                    168:        (cd uuencoded ; make install)
1.134     takayama  169:
                    170: install-asir-port:
                    171:        (cd asir-port ; make install)
1.124     takayama  172:
1.29      maekawa   173: clean:
1.101     takayama  174:        -rm ./.configure-links-done
1.124     takayama  175:        -rm ${OpenXM_contrib}/gmp/.gmp_*
                    176:        -rm ${OpenXM_contrib}/gc/.gc_*
1.132     takayama  177:        -(cd gmp ; make clean)
                    178:        -(cd gc ; make clean ; /bin/rm -f *.a)
1.124     takayama  179:        -(cd asir2000 ; make clean)
                    180:        -(cd gnuplot ; make clean)
                    181:        -(cd k097 ; make clean)
                    182:        -(cd kan96xx ; make clean)
1.77      takayama  183:        -(cd kxx ; make clean)
1.124     takayama  184:        -(cd OpenMath ; make clean)
1.77      takayama  185:        -(cd ox_math ; make clean)
1.124     takayama  186:        -(cd pari ; make clean)
                    187:        -(cd phc ; make clean)
                    188:        -(cd tigers ; make clean)
                    189:        -(cd asir-doc ; make clean)
                    190:        -(cd asir-contrib ; make clean)
                    191:        -(cd ${OpenXM_contrib2}/fep ; make clean)
                    192:        -(cd util ; make clean)
1.131     takayama  193:        -(cd ox_toolkit ; make clean)
                    194:        -(cd oxc ; make clean)
                    195:
1.11      takayama  196:
1.39      maekawa   197: distclean: clean
1.108     takayama  198:        (cd uuencoded ; make distclean)
1.132     takayama  199:        -(cd gmp ; make distclean)
                    200:        -(cd gc ; make distclean ; /bin/rm -f *.a)
1.46      maekawa   201:        (cd asir2000 ; make distclean)
1.40      maekawa   202:        (cd gnuplot ; make distclean)
1.36      maekawa   203:        (cd kan96xx ; make distclean)
1.77      takayama  204:        -(cd kxx ; make distclean)
1.60      tam       205:        (cd OpenMath ; make distclean)
1.38      maekawa   206:        (cd pari ; make distclean)
1.44      maekawa   207:        (cd phc ; make distclean)
1.40      maekawa   208:        (cd tigers ; make distclean)
1.89      ohara     209:        -(cd ox_toolkit ; make distclean)
                    210:        -(cd ox_math ; make distclean)
1.131     takayama  211:        -(cd oxc ; make distclean)
1.56      maekawa   212:        rm -rf $(BINDIR)/d0 $(BINDIR)/k0 $(BINDIR)/ox $(BINDIR)/ox_sm1 \
1.53      maekawa   213:               $(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \
1.132     takayama  214:               $(LIBDIR)/k097 $(LIBDIR)/sm1
1.11      takayama  215:
1.138     takayama  216: configure: configure-util configure-asir \
1.62      takayama  217:           configure-gnuplot \
1.50      maekawa   218:           configure-k097 configure-kan96xx configure-kxx configure-oxmath \
1.143     takayama  219:           configure-pari configure-gmp configure-asir-doc configure-asir-contrib
1.138     takayama  220:
                    221: configure-util:
                    222:        (cd util; ./make-configure)
1.111     takayama  223:
1.137     takayama  224: configure-gmp: install-util
1.124     takayama  225:        (cd gmp; make configure)
1.101     takayama  226:
1.124     takayama  227: configure-asir:
                    228:        (cd asir2000 ; make configure)
1.143     takayama  229:
                    230: configure-asir-contrib:
                    231:        -(cd asir-contrib ; ./make-configure)
1.142     takayama  232:
                    233: configure-asir-doc:
                    234:        -(cd asir-doc ; ./make-configure)
1.45      maekawa   235:
1.41      maekawa   236: configure-gnuplot:
1.100     takayama  237:        -(cd gnuplot ; make configure)
1.48      maekawa   238:
1.124     takayama  239: configure-k097:
1.125     takayama  240:        (cd k097 ; ./make-configure)
1.37      maekawa   241:
1.124     takayama  242: configure-kan96xx:
1.140     takayama  243:        (cd kan96xx ; ./make-configure)
1.45      maekawa   244:
1.124     takayama  245: configure-kxx:
1.77      takayama  246:        ( cd kxx ; ./make-configure)
1.45      maekawa   247:
1.124     takayama  248: configure-oxtoolkit:
1.87      ohara     249:        (cd ox_toolkit; ./make-configure)
1.98      ohara     250:
1.124     takayama  251: configure-oxc:
1.98      ohara     252:        (cd oxc; ./make-configure)
1.45      maekawa   253:
1.124     takayama  254: configure-oxmath:
1.129     ohara     255:        -@if test -d /usr/local/mathematica ; then \
                    256:                (cd ox_math; ./make-configure) ; \
                    257:        else \
                    258:                echo -n "Warning: Mathematica is not found. " ; \
                    259:                echo "ox_math will not be compiled." ; \
                    260:        fi
1.37      maekawa   261:
                    262: configure-pari:
1.36      maekawa   263:        (cd pari ; make configure)
1.78      takayama  264:
1.67      takayama  265:
1.68      takayama  266: clean-rc :
                    267:        (cd $(RCDIR) ; make clean )
1.69      takayama  268: all-Copyright :
                    269:        (cd $(COPYRIGHTDIR) ; make copy-copyright )
1.68      takayama  270:
1.93      takayama  271: install-all-asir-lib:
                    272:        (cd asir2000 ; make install-lib-small)
                    273:
1.135     takayama  274: install-document: install-document-kan96xx install-document-asir-contrib
                    275:
                    276: install-document-kan96xx: install-kan96xx
                    277:        (cd kan96xx ; make install-document)
                    278: install-document-asir-contrib: install-asir-contrib
                    279:        (cd asir-contrib; make install-document)
1.74      takayama  280:
1.103     takayama  281: ## Targets for debugging
                    282: install-for-debug:
                    283:        (cd kan96xx; make install-for-debug)
                    284:        (cd kxx; make install-for-debug)
                    285:        (cd k097 ; make install-for-debug)
1.105     takayama  286:        (cd ../bin ; rm -f asir ; ln -s ../../OpenXM_contrib2/asir2000/asir .)
1.103     takayama  287:
1.105     takayama  288:

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