version 1.112, 2002/04/05 01:43:48 |
version 1.121, 2003/08/25 14:24:45 |
|
|
## $OpenXM: OpenXM/src/Makefile,v 1.111 2002/04/05 01:28:46 takayama Exp $ |
## $OpenXM: OpenXM/src/Makefile,v 1.120 2003/07/21 11:36:09 takayama Exp $ |
|
|
OpenXM_HOME=../../OpenXM |
OpenXM_HOME=../../OpenXM |
OPENXM_CONTRIB=../../OpenXM_contrib |
OPENXM_CONTRIB=../../OpenXM_contrib |
|
|
COPYRIGHTDIR=../Copyright |
COPYRIGHTDIR=../Copyright |
|
|
all: configure all-gc all-gmp all-asir all-gnuplot all-k097 all-kan96xx \ |
all: configure all-gc all-gmp all-asir all-gnuplot all-k097 all-kan96xx \ |
all-kxx all-pari all-phc all-openmath all-oxmath all-tigers |
all-kxx all-pari all-phc all-openmath all-oxmath all-tigers all-fep |
|
|
all-gc: |
all-gc: |
@if test ! -f gc/.gc_make_done ; \ |
@if test ! -f gc/.gc_make_done ; \ |
|
|
@touch gc/.gc_make_done |
@touch gc/.gc_make_done |
|
|
all-gmp: configure-gmp |
all-gmp: configure-gmp |
(if test ! -f .gmp_make_done ; then cd gmp ; make ; touch .gmp_make_done ; fi) ; |
@if test ! -f gmp/.gmp_make_done ; then \ |
|
(cd gmp ; make) ; \ |
|
fi |
|
@touch gmp/.gmp_make_done |
|
|
all-oxtoolkit: configure-oxtoolkit install-gmp install-gc configure-util |
all-oxtoolkit: configure-oxtoolkit install-gmp install-gc configure-util |
(cd ox_toolkit; make) |
(cd ox_toolkit; make) |
Line 38 all-asir: configure-asir |
|
Line 41 all-asir: configure-asir |
|
all-gnuplot: configure-gnuplot |
all-gnuplot: configure-gnuplot |
-(cd gnuplot ; make all) |
-(cd gnuplot ; make all) |
|
|
all-k097: configure-k097 all-kan96xx |
all-k097: configure-k097 all-kan96xx all-kxx |
(cd k097 ; make all) |
(cd k097 ; make all) |
|
|
all-kan96xx: configure-kan96xx install-gc install-gmp |
all-kan96xx: configure-kan96xx install-gc install-gmp |
|
|
fi |
fi |
|
|
all-oxmath: configure-oxmath install-oxtoolkit |
all-oxmath: configure-oxmath install-oxtoolkit |
-@if test -x /usr/local/bin/math ; then \ |
-@if test -d /usr/local/mathematica ; then \ |
(cd ox_math ; make) ; \ |
(cd ox_math ; make) ; \ |
else \ |
else \ |
echo -n "Warning: Mathematica is not found. " ; \ |
echo -n "Warning: Mathematica is not found. " ; \ |
|
|
all-tigers: |
all-tigers: |
(cd tigers ; make all) |
(cd tigers ; make all) |
|
|
|
all-fep: |
|
-(cd ${OPENXM_CONTRIB2}/fep ; make all) |
|
|
|
|
all-misc : |
all-misc : |
(cd ../rc ; make repl) |
(cd ../rc ; make repl) |
(cd ../doc ; make all-install) |
(cd ../doc ; make all-install) |
|
|
install: install-asir install-gnuplot install-k097 install-kan96xx \ |
install: install-asir install-gnuplot 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-misc install-fep |
|
|
|
|
install-gc : all-gc |
install-gc : all-gc |
-@if test ! -f gc/.gc_installed ; \ |
-@if test ! -f gc/.gc_installed ; \ |
then \ |
then \ |
mkdir ../lib ; \ |
if test ! -d ../lib ; then mkdir ../lib ; fi ; \ |
cp gc/gc.a ../lib/libgc.a ; \ |
cp gc/gc.a ../lib/libgc.a ; \ |
|
if test ! -d ../include/gc ; then mkdir -p ../include/gc ; fi ; \ |
|
cp gc/include/gc.h gc/include/gc_cpp.h ../include/gc ; \ |
fi |
fi |
@touch gc/.gc_installed |
@touch gc/.gc_installed |
|
|
|
install-asir-gc : configure-asir |
|
@if test ! -f gc/.asir-gc_installed ; \ |
|
then \ |
|
if test ! -d ../lib ; then mkdir ../lib ; fi ; \ |
|
(cd asir2000 ; make install-libasir-gc) ; \ |
|
rm -f ../lib/libgc.a ; \ |
|
ln -s ../lib/libasir-gc.a ../lib/libgc.a ; \ |
|
echo "libasir-gc.a (modifed for asir) is installed as libgc.a instead of libgc.a" ; \ |
|
touch gc/.asir-gc_installed ; \ |
|
fi |
|
|
|
|
install-gmp : all-gmp |
install-gmp : all-gmp |
-@if test ! -f gmp/.gmp_installed ; \ |
-@if test ! -f gmp/.gmp_installed ; \ |
then \ |
then \ |
Line 138 install-oxc: all-oxc |
|
Line 157 install-oxc: all-oxc |
|
(cd oxc; make install) |
(cd oxc; make install) |
|
|
install-oxmath: all-oxmath configure-util |
install-oxmath: all-oxmath configure-util |
-@if test -x /usr/local/bin/math ; then \ |
-@if test -d /usr/local/mathematica ; then \ |
(cd ox_math ; make install) ; \ |
(cd ox_math ; make install) ; \ |
else \ |
else \ |
echo -n "Warning: Mathematica is not found. " ; \ |
echo -n "Warning: Mathematica is not found. " ; \ |
Line 165 install-asir-doc: install-asir |
|
Line 184 install-asir-doc: install-asir |
|
install-misc: |
install-misc: |
(cd ../rc ; make install.man) |
(cd ../rc ; make install.man) |
|
|
|
install-fep: all-fep |
|
-(cd ${OPENXM_CONTRIB2}/fep ; make PREFIX=../../OpenXM install) |
|
|
install-rc: all-rc |
install-rc: all-rc |
(cd ../rc ; make install) |
(cd ../rc ; make install) |
|
|
|
|
(cd tigers ; make clean) |
(cd tigers ; make clean) |
(cd asir-doc ; make clean) |
(cd asir-doc ; make clean) |
(cd asir-contrib ; make clean) |
(cd asir-contrib ; make clean) |
|
-(cd ${OPENXM_CONTRIB2}/fep ; make clean) |
|
|
distclean: clean |
distclean: clean |
(cd uuencoded ; make distclean) |
(cd uuencoded ; make distclean) |
Line 240 configure-gmp: configure-links |
|
Line 263 configure-gmp: configure-links |
|
(cd gmp ; ./configure --prefix=`pwd`/../../OpenXM; touch .gmp_configured) ; \ |
(cd gmp ; ./configure --prefix=`pwd`/../../OpenXM; touch .gmp_configured) ; \ |
fi |
fi |
|
|
configure-asir: |
configure-asir: configure-directory configure-util |
@if test -d $(OPENXM_CONTRIB2) ; then \ |
@if test -d $(OPENXM_CONTRIB2) ; then \ |
(cd asir2000 ; make configure) ; \ |
(cd asir2000 ; make configure) ; \ |
else \ |
else \ |
|
|
configure-gnuplot: |
configure-gnuplot: |
-(cd gnuplot ; make configure) |
-(cd gnuplot ; make configure) |
|
|
configure-k097: configure-links |
configure-k097: configure-links configure-util |
|
|
configure-kan96xx: configure-links |
configure-kan96xx: configure-links configure-util |
(cd kan96xx ; make configure) |
(cd kan96xx ; make configure) |
|
|
configure-kxx: configure-util |
configure-kxx: configure-util |
Line 286 configure-oxtoolkit: configure-include |
|
Line 309 configure-oxtoolkit: configure-include |
|
configure-oxc: configure-include |
configure-oxc: configure-include |
(cd oxc; ./make-configure) |
(cd oxc; ./make-configure) |
|
|
configure-oxmath: configure-include |
configure-oxmath: configure-include configure-directory |
(cd ox_math; ./make-configure) |
(cd ox_math; ./make-configure) |
|
|
configure-pari: |
configure-pari: |