version 1.167, 2015/09/14 07:32:18 |
version 1.184, 2019/03/29 08:10:17 |
|
|
## $OpenXM: OpenXM/src/Makefile,v 1.166 2015/08/20 07:45:12 noro Exp $ |
## $OpenXM: OpenXM/src/Makefile,v 1.183 2019/03/29 08:07:32 takayama Exp $ |
|
|
OpenXM_HOME=.. |
OpenXM_HOME=.. |
OpenXM_contrib2=../../OpenXM_contrib2 |
OpenXM_contrib2=../../OpenXM_contrib2 |
|
|
BINDIR=../bin |
BINDIR=../bin |
DOCDIR=../doc |
DOCDIR=../doc |
RCDIR=../rc |
RCDIR=../rc |
|
SHAREDIR=../share |
COPYRIGHTDIR=../Copyright |
COPYRIGHTDIR=../Copyright |
|
|
all: all-util all-gc all-gmp all-mpfr all-mpc all-asir all-gnuplot all-k097 all-kan96xx \ |
all: all-util all-gc all-gmp all-mpfr all-mpc all-asir all-asir2000 all-gnuplot all-k097 all-kan96xx \ |
all-kxx all-pari all-phc all-openmath all-oxmath all-tigers all-fep all-phcpack all-oxcdd \ |
all-kxx all-pari all-phc all-openmath all-oxmath all-tigers all-fep all-phcpack all-oxcdd \ |
all-oxmgraph all-pcc all-oxpari |
all-oxmgraph all-pcc all-oxpari |
|
|
Line 24 all-mpfr: configure-mpfr |
|
Line 25 all-mpfr: configure-mpfr |
|
all-mpc: configure-mpc |
all-mpc: configure-mpc |
(cd mpc; ${MAKE} all) |
(cd mpc; ${MAKE} all) |
|
|
all-oxtoolkit: configure-oxtoolkit install-gmp install-mpfr install-mpc install-gc install-util install-kan96xx |
all-oxtoolkit: configure-oxtoolkit install-gmp install-mpfr install-mpc install-gc install-util install-oxtags |
(cd ox_toolkit; ${MAKE} all) |
(cd ox_toolkit; ${MAKE} all) |
|
|
all-oxc: configure-oxc install-oxtoolkit |
all-oxc: configure-oxc install-oxtoolkit |
(cd oxc; ${MAKE} all) |
-(cd oxc; ${MAKE} all) |
|
|
all-asir: configure-asir install-pari install-gmp install-mpfr install-mpc |
all-asir: configure-asir install-pari install-gmp install-mpfr install-mpc |
|
(cd asir2018; ${MAKE} all) |
|
|
|
all-asir2000: configure-asir2000 install-pari install-gmp install-mpfr install-mpc |
(cd asir2000; ${MAKE} all) |
(cd asir2000; ${MAKE} all) |
|
|
all-gnuplot: configure-gnuplot |
all-gnuplot: configure-gnuplot |
Line 39 all-gnuplot: configure-gnuplot |
|
Line 43 all-gnuplot: configure-gnuplot |
|
all-k097: configure-k097 all-kan96xx all-kxx install-oxtags |
all-k097: configure-k097 all-kan96xx all-kxx install-oxtags |
(cd k097; ${MAKE} all) |
(cd k097; ${MAKE} all) |
|
|
all-kan96xx: configure-kan96xx install-gc install-gmp install-mpfr install-mpc install-util install-oxtags |
all-kan96xx: configure-kan96xx install-gc install-gmp install-util install-oxtags |
(cd kan96xx; ${MAKE} all) |
(cd kan96xx; ${MAKE} all) |
|
|
all-kxx: configure-kxx all-kan96xx install-util install-oxtags |
all-kxx: configure-kxx all-kan96xx install-util install-oxtags |
Line 62 all-oxmath: configure-oxmath install-oxtoolkit install |
|
Line 66 all-oxmath: configure-oxmath install-oxtoolkit install |
|
fi |
fi |
|
|
all-pari: configure-pari |
all-pari: configure-pari |
(cd pari; ${MAKE} all) |
(cd pari; ${MAKE} PERL_USE_UNSAFE_INC=1 all) |
|
|
all-phc: |
all-phc: |
(cd phc; ${MAKE} all) |
(cd phc; ${MAKE} all) |
Line 97 all-util-lib: configure-util |
|
Line 101 all-util-lib: configure-util |
|
all-oxcdd: install-oxtoolkit |
all-oxcdd: install-oxtoolkit |
-(cd ox_cdd; ${MAKE} all) |
-(cd ox_cdd; ${MAKE} all) |
|
|
all-oxpari: install-oxtoolkit |
all-oxpari: configure-oxpari |
-(cd ox_pari; ${MAKE} all) |
-(cd ox_pari; ${MAKE} all) |
|
|
all-oxmgraph: configure-oxmgraph |
all-oxmgraph: configure-oxmgraph |
Line 108 all-pcc: configure-pcc |
|
Line 112 all-pcc: configure-pcc |
|
all-document-asir-contrib: configure-document-asir-contrib |
all-document-asir-contrib: configure-document-asir-contrib |
(cd asir-contrib/packages/doc; ${MAKE} all) |
(cd asir-contrib/packages/doc; ${MAKE} all) |
|
|
install: install-oxtags install-util install-asir install-gnuplot \ |
install: install-oxtags install-util install-asir install-asir2000 install-gnuplot \ |
install-k097 install-kan96xx \ |
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-fep install-phcpack install-oxcdd \ |
install-misc install-fep install-phcpack install-oxcdd \ |
install-oxmgraph install-pcc install-oxpari |
install-oxmgraph install-pcc install-oxpari \ |
|
install-asir-mode |
|
|
install-oxtags: |
install-oxtags: |
(cd ../doc/OpenXM-web; ${MAKE} install-exec) |
(cd ../doc/OpenXM-web; ${MAKE} install-exec) |
Line 140 install-mpc: all-mpc |
|
Line 145 install-mpc: all-mpc |
|
(cd mpc; ${MAKE} install) |
(cd mpc; ${MAKE} install) |
|
|
install-asir: all-asir |
install-asir: all-asir |
(cd asir2000; ${MAKE} install) |
-(cd asir2018; ${MAKE} install) |
|
|
|
install-asir2000: all-asir2000 |
|
-(cd asir2000; ${MAKE} install) |
|
|
install-gnuplot: all-gnuplot |
install-gnuplot: all-gnuplot |
-(cd gnuplot; ${MAKE} install) |
-(cd gnuplot; ${MAKE} install) |
|
|
Line 166 install-oxtoolkit: all-oxtoolkit |
|
Line 174 install-oxtoolkit: all-oxtoolkit |
|
(cd ox_toolkit; ${MAKE} install) |
(cd ox_toolkit; ${MAKE} install) |
|
|
install-oxc: all-oxc |
install-oxc: all-oxc |
(cd oxc; ${MAKE} install) |
-(cd oxc; ${MAKE} install) |
|
|
install-oxmath: all-oxmath |
install-oxmath: all-oxmath |
-@if test -d /usr/local/mathematica; then \ |
-@if test -d /usr/local/mathematica; then \ |
Line 227 install-oxmgraph: all-oxmgraph |
|
Line 235 install-oxmgraph: all-oxmgraph |
|
install-pcc: all-pcc |
install-pcc: all-pcc |
-(cd pcc; ${MAKE} install) |
-(cd pcc; ${MAKE} install) |
|
|
|
install-asir-mode: |
|
-(cd asir-mode; ${MAKE} install) |
|
|
clean: |
clean: |
-rm ./.configure-links-done |
-rm ./.configure-links-done |
-@for i in OpenMath asir-contrib asir-doc asir2000 gc gmp gnuplot \ |
-@for i in OpenMath asir-contrib asir-doc asir2000 asir2018 gc gmp gnuplot \ |
k097 kan96xx kxx ox_math ox_toolkit oxc pari phc phcpack tigers \ |
k097 kan96xx kxx ox_math ox_toolkit oxc pari phc phcpack tigers \ |
oxmgraph pcc \ |
oxmgraph pcc mpfr ox_cdd ox_pari \ |
util ${OpenXM_contrib2}/fep ; do \ |
util ${OpenXM_contrib2}/fep ; do \ |
(cd $$i; ${MAKE} clean); \ |
(cd $$i; ${MAKE} clean); \ |
done |
done |
|
|
distclean: clean |
distclean: clean |
-@for i in OpenMath asir2000 gc gmp gnuplot kan96xx kxx ox_math \ |
-@for i in OpenMath asir2000 asir2018 gc gmp gnuplot kan96xx kxx ox_math \ |
ox_toolkit oxc pari phc phcpack tigers oxmgraph pcc \ |
ox_toolkit oxc pari phc phcpack tigers oxmgraph pcc \ |
asir-doc k097 ox_cdd util; do \ |
asir-doc k097 ox_cdd util mpc mpfr ox_pari ; do \ |
(cd $$i; ${MAKE} distclean); \ |
(cd $$i; ${MAKE} distclean); \ |
done |
done |
-(cd ${BINDIR} && rm -f d0 k0 ox ox_sm1 oxlog oxweave sm1) |
-(cd ${BINDIR} && rm -f d0 k0 ox ox_sm1 oxlog oxweave sm1) |
Line 250 configure: configure-util configure-asir \ |
|
Line 261 configure: configure-util configure-asir \ |
|
configure-k097 configure-kan96xx configure-kxx configure-oxmath \ |
configure-k097 configure-kan96xx configure-kxx configure-oxmath \ |
configure-pari configure-gmp configure-asir-doc configure-asir-contrib \ |
configure-pari configure-gmp configure-asir-doc configure-asir-contrib \ |
configure-oxmgraph configure-pcc |
configure-oxmgraph configure-pcc |
|
configure-static: configure |
|
make configure-asir-static |
|
make configure-oxpari-static |
|
make configure-oxc-static |
|
|
configure-util: |
configure-util: |
(cd util; ./make-configure) |
(cd util; ./make-configure) |
|
|
configure-gmp: install-util |
configure-gmp: install-util |
(cd gmp; ${MAKE} configure) |
(cd gmp; ${MAKE} configure) |
|
|
configure-mpfr: install-util |
configure-mpfr: install-util install-gmp |
(cd mpfr; ${MAKE} configure) |
(cd mpfr; ${MAKE} configure) |
|
|
configure-mpc: install-util install-gmp install-mpfr |
configure-mpc: install-util install-gmp install-mpfr |
(cd mpc; ${MAKE} configure) |
(cd mpc; ${MAKE} configure) |
|
|
configure-asir: install-util |
configure-asir: install-util |
|
(cd asir2018; ${MAKE} configure) |
|
|
|
configure-asir2000: install-util |
(cd asir2000; ${MAKE} configure) |
(cd asir2000; ${MAKE} configure) |
|
|
|
configure-asir-static: install-util |
|
(cd asir2018; rm -f .configure_done; ${MAKE} configure-static) |
|
|
configure-asir-contrib: |
configure-asir-contrib: |
-(cd asir-contrib; ./make-configure) |
-(cd asir-contrib; ./make-configure) |
|
|
|
|
configure-oxtoolkit: |
configure-oxtoolkit: |
(cd ox_toolkit; ./make-configure) |
(cd ox_toolkit; ./make-configure) |
|
|
|
configure-oxpari: install-oxtoolkit install-pari |
|
(cd ox_pari; ./make-configure) |
|
configure-oxpari-static: install-oxtoolkit install-pari |
|
(cd ox_pari; rm -f .configure_done ; ./make-configure --disable-shared) |
|
|
configure-oxc: |
configure-oxc: |
(cd oxc; ./make-configure) |
(cd oxc; ./make-configure) |
|
configure-oxc-static: |
|
(cd oxc; rm -f .configure_done ; ./make-configure --disable-shared) |
|
|
configure-oxmath: |
configure-oxmath: |
-@if test -d /usr/local/mathematica; then \ |
-@if test -d /usr/local/mathematica; then \ |
Line 323 install-document-kan96xx: install-kan96xx |
|
Line 351 install-document-kan96xx: install-kan96xx |
|
|
|
install-document-asir-contrib: all-document-asir-contrib |
install-document-asir-contrib: all-document-asir-contrib |
(cd asir-contrib/packages/doc; ${MAKE} install ; ${MAKE} install-document) |
(cd asir-contrib/packages/doc; ${MAKE} install ; ${MAKE} install-document) |
|
|
## Targets for debugging |
## Targets for debugging |
install-for-debug: |
install-for-debug: |
(cd kan96xx; ${MAKE} install-for-debug) |
(cd kan96xx; ${MAKE} install-for-debug) |
(cd kxx; ${MAKE} install-for-debug) |
(cd kxx; ${MAKE} install-for-debug) |
(cd k097; ${MAKE} install-for-debug) |
(cd k097; ${MAKE} install-for-debug) |
(cd ${BINDIR}; rm -f asir; ln -s ../../OpenXM_contrib2/asir2000/asir .) |
(cd ${BINDIR}; rm -f asir; ln -s ../../OpenXM_contrib2/asir2000/asir .) |
|
(cd ${BINDIR}; rm -f ox_pari; ln -s ../../OpenXM/src/ox_pari/ox_pari .) |
|
|
fetch: |
fetch: |
-@for i in gc gmp gnuplot pari tigers; do \ |
-@for i in gc gmp gnuplot pari tigers; do \ |