version 1.113, 2002/09/03 01:05:28 |
version 1.122, 2003/08/26 05:04:40 |
|
|
## $OpenXM: OpenXM/src/Makefile,v 1.112 2002/04/05 01:43:48 takayama Exp $ |
## $OpenXM: OpenXM/src/Makefile,v 1.121 2003/08/25 14:24:45 ohara Exp $ |
|
|
OpenXM_HOME=../../OpenXM |
OpenXM_HOME=../../OpenXM |
OPENXM_CONTRIB=../../OpenXM_contrib |
OPENXM_CONTRIB=../../OpenXM_contrib |
|
|
@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. " ; \ |
Line 93 install: install-asir install-gnuplot install-k097 ins |
|
Line 96 install: install-asir install-gnuplot install-k097 ins |
|
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 \ |
(cd gmp; make install) ; \ |
(cd gmp; make install-exec) ; \ |
|
(cd gmp; cp gmp.h ../../OpenXM/include) ; \ |
fi |
fi |
@touch gmp/.gmp_installed |
@touch gmp/.gmp_installed |
|
|
Line 141 install-oxc: all-oxc |
|
Line 158 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 247 configure-gmp: configure-links |
|
Line 264 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 293 configure-oxtoolkit: configure-include |
|
Line 310 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: |