version 1.110, 2002/02/25 08:18:40 |
version 1.115, 2003/02/02 01:36:31 |
|
|
## $OpenXM: OpenXM/src/Makefile,v 1.109 2001/12/18 04:24:04 takayama Exp $ |
## $OpenXM: OpenXM/src/Makefile,v 1.114 2003/01/13 14:10:59 ohara 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 |
|
|
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 ; \ |
fi |
fi |
@touch gc/.gc_installed |
@touch gc/.gc_installed |
Line 137 install-oxtoolkit: all-oxtoolkit |
|
Line 140 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 168 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 212 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 247 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 |
@if test -d $(OPENXM_CONTRIB2) ; then \ |
@if test -d $(OPENXM_CONTRIB2) ; then \ |
(cd asir2000 ; make configure) ; \ |
(cd asir2000 ; make configure) ; \ |
else \ |
else \ |
Line 255 configure-k097: configure-links |
|
Line 266 configure-k097: configure-links |
|
configure-kan96xx: configure-links |
configure-kan96xx: configure-links |
(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 293 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: |