version 1.110, 2002/02/25 08:18:40 |
version 1.120, 2003/07/21 11:36:09 |
|
|
## $OpenXM: OpenXM/src/Makefile,v 1.109 2001/12/18 04:24:04 takayama Exp $ |
## $OpenXM: OpenXM/src/Makefile,v 1.119 2003/06/26 08:59:12 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 ; \ |
|
|
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_make_done ; then cd gmp ; make ; touch .gmp_make_done ; fi) ; |
|
|
all-oxtoolkit: configure-oxtoolkit install-gmp install-gc install-kxx |
all-oxtoolkit: configure-oxtoolkit install-gmp install-gc configure-util |
(cd ox_toolkit; make) |
(cd ox_toolkit; make) |
|
|
all-oxc: configure-oxc install-oxtoolkit |
all-oxc: configure-oxc install-oxtoolkit |
Line 38 all-asir: configure-asir |
|
Line 38 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 137 install-oxtoolkit: all-oxtoolkit |
|
Line 153 install-oxtoolkit: all-oxtoolkit |
|
install-oxc: all-oxc |
install-oxc: all-oxc |
(cd oxc; make install) |
(cd oxc; make install) |
|
|
install-oxmath: all-oxmath install-kxx |
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 181 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 205 distclean: clean |
|
Line 225 distclean: clean |
|
$(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \ |
$(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \ |
$(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp |
$(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp |
|
|
configure: configure-links configure-include configure-bin configure-asir \ |
configure: configure-links configure-include configure-bin 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-pari configure-gmp |
|
|
|
configure-util: configure-directory |
|
(cd util; make install) |
|
|
configure-include: configure-include-make-dir ../include/ox/cmotag.h ../include/ox/oxMessageTag.h ../include/ox/smCommand.h |
configure-include: configure-include-make-dir ../include/ox/cmotag.h ../include/ox/oxMessageTag.h ../include/ox/smCommand.h |
|
|
configure-include-make-dir: |
configure-include-make-dir: |
Line 236 configure-gmp: configure-links |
|
Line 260 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-kxx: configure-util |
( cd kxx ; ./make-configure) |
( cd kxx ; ./make-configure) |
|
|
configure-links: configure-directory |
configure-links: configure-directory |
Line 282 configure-oxtoolkit: configure-include |
|
Line 306 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: |