version 1.159, 2009/02/23 02:12:24 |
version 1.181, 2019/03/27 05:06:51 |
|
|
## $OpenXM: OpenXM/src/Makefile,v 1.158 2009/02/23 01:34:51 takayama Exp $ |
## $OpenXM: OpenXM/src/Makefile,v 1.180 2019/03/27 05:02:31 noro 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-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-oxmgraph all-pcc all-oxpari |
|
|
all-gc: install-util |
all-gc: install-util |
(cd gc; ${MAKE} all) |
(cd gc; ${MAKE} all) |
Line 18 all-gc: install-util |
|
Line 19 all-gc: install-util |
|
all-gmp: configure-gmp |
all-gmp: configure-gmp |
(cd gmp; ${MAKE} all) |
(cd gmp; ${MAKE} all) |
|
|
all-oxtoolkit: configure-oxtoolkit install-gmp install-gc install-util install-kan96xx |
all-mpfr: configure-mpfr |
|
(cd mpfr; ${MAKE} all) |
|
|
|
all-mpc: configure-mpc |
|
(cd mpc; ${MAKE} all) |
|
|
|
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 |
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 56 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 90 all-util-lib: configure-util |
|
Line 100 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: configure-oxpari |
|
-(cd ox_pari; ${MAKE} all) |
|
|
all-oxmgraph: configure-oxmgraph |
all-oxmgraph: configure-oxmgraph |
-(cd oxmgraph; ${MAKE} all) |
-(cd oxmgraph; ${MAKE} all) |
|
all-pcc: configure-pcc |
|
-(cd pcc; ${MAKE} all) |
|
|
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-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 121 install-gc: all-gc |
|
Line 138 install-gc: all-gc |
|
install-gmp: all-gmp |
install-gmp: all-gmp |
(cd gmp; ${MAKE} install) |
(cd gmp; ${MAKE} install) |
|
|
|
install-mpfr: all-mpfr |
|
(cd mpfr; ${MAKE} install) |
|
|
|
install-mpc: all-mpc |
|
(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 148 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 200 install-asir-port: |
|
Line 226 install-asir-port: |
|
install-oxcdd: all-oxcdd |
install-oxcdd: all-oxcdd |
-(cd ox_cdd; ${MAKE} install) |
-(cd ox_cdd; ${MAKE} install) |
|
|
|
install-oxpari: all-oxpari |
|
-(cd ox_pari; ${MAKE} install) |
|
|
install-oxmgraph: all-oxmgraph |
install-oxmgraph: all-oxmgraph |
-(cd oxmgraph; ${MAKE} install) |
-(cd oxmgraph; ${MAKE} install) |
|
|
|
install-pcc: all-pcc |
|
-(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 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 \ |
oxmgraph pcc mpfr \ |
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 gc gmp gnuplot kan96xx kxx ox_math \ |
ox_toolkit oxc pari phc phcpack tigers oxmgraph ; do \ |
ox_toolkit oxc pari phc phcpack tigers oxmgraph pcc \ |
|
asir-doc k097 ox_cdd util; 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 224 configure: configure-util configure-asir \ |
|
Line 260 configure: 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-asir-doc configure-asir-contrib \ |
configure-pari configure-gmp configure-asir-doc configure-asir-contrib \ |
configure-oxmgraph |
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 install-gmp |
|
(cd mpfr; ${MAKE} configure) |
|
|
|
configure-mpc: install-util install-gmp install-mpfr |
|
(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 273 configure-pari: install-util |
|
Line 332 configure-pari: install-util |
|
configure-oxmgraph: |
configure-oxmgraph: |
-(cd oxmgraph; ./make-configure) |
-(cd oxmgraph; ./make-configure) |
|
|
|
configure-pcc: |
|
-(cd pcc; ${MAKE} configure) |
|
|
configure-document-asir-contrib: install-util-bin install-asir-doc |
configure-document-asir-contrib: install-util-bin install-asir-doc |
(cd asir-contrib/packages/doc; ./make-configure) |
(cd asir-contrib/packages/doc; ./make-configure) |
|
|
Line 289 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 \ |