version 1.98, 2000/12/15 06:20:37 |
version 1.102, 2000/12/21 08:20:09 |
|
|
## $OpenXM: OpenXM/src/Makefile,v 1.97 2000/11/17 04:47:20 takayama Exp $ |
## $OpenXM: OpenXM/src/Makefile,v 1.101 2000/12/21 07:29:39 takayama Exp $ |
|
|
OpenXM_HOME=../../OpenXM |
OpenXM_HOME=../../OpenXM |
OPENXM_CONTRIB=../../OpenXM_contrib |
OPENXM_CONTRIB=../../OpenXM_contrib |
Line 36 all-asir: configure-asir |
|
Line 36 all-asir: configure-asir |
|
fi |
fi |
|
|
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 |
(cd k097 ; make all) |
(cd k097 ; make all) |
|
|
fi |
fi |
|
|
all-oxmath: configure-oxmath install-oxtoolkit |
all-oxmath: configure-oxmath install-oxtoolkit |
@if test -x /usr/local/bin/math ; then \ |
-@if test -x /usr/local/bin/math ; 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-misc : |
all-misc : |
(cd ../rc ; make repl) |
(cd ../rc ; make repl) |
(cd ../doc ; make all-install) |
(cd ../doc ; make all-install) |
Line 108 install-asir: all-asir |
|
Line 109 install-asir: all-asir |
|
fi |
fi |
|
|
install-gnuplot: all-gnuplot |
install-gnuplot: all-gnuplot |
(cd gnuplot ; make install) |
-(cd gnuplot ; make install) |
|
|
install-k097: all-k097 |
install-k097: all-k097 |
(cd k097 ; make install) |
(cd k097 ; make install) |
Line 134 install-oxc: all-oxc |
|
Line 135 install-oxc: all-oxc |
|
(cd oxc; make install) |
(cd oxc; make install) |
|
|
install-oxmath: all-oxmath install-kxx |
install-oxmath: all-oxmath install-kxx |
@if test -x /usr/local/bin/math ; then \ |
-@if test -x /usr/local/bin/math ; 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. " ; \ |
|
|
(cd ../rc ; make install.man) |
(cd ../rc ; make install.man) |
|
|
clean: |
clean: |
|
-rm ./.configure-links-done |
-rm $(OPENXM_CONTRIB)/gmp/.gmp_* |
-rm $(OPENXM_CONTRIB)/gmp/.gmp_* |
-rm $(OPENXM_CONTRIB)/gc/.gc_* |
-rm $(OPENXM_CONTRIB)/gc/.gc_* |
-(cd $(OPENXM_CONTRIB)/gmp ; make clean) |
-(cd $(OPENXM_CONTRIB)/gmp ; make clean) |
Line 202 configure: configure-links configure-include configure |
|
Line 204 configure: configure-links configure-include configure |
|
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-include: |
configure-include: configure-include-make-dir ../include/ox/cmotag.h ../include/ox/oxMessageTag.h ../include/ox/smCommand.h |
|
|
|
configure-include-make-dir: |
@if test ! -d ../include ; \ |
@if test ! -d ../include ; \ |
then \ |
then \ |
mkdir ../include ; \ |
mkdir ../include ; \ |
Line 211 configure-include: |
|
Line 215 configure-include: |
|
then \ |
then \ |
mkdir ../include/ox ; \ |
mkdir ../include/ox ; \ |
fi |
fi |
@if test -d ../include/ox ; \ |
../include/ox/cmotag.h : ../doc/OpenXM-web/cmotag.h |
then \ |
cp ../doc/OpenXM-web/cmotag.h ../include/ox |
cp ../doc/OpenXM-web/cmotag.h ../include/ox ; \ |
../include/ox/oxMessageTag.h : ../doc/OpenXM-web/oxMessageTag.h |
cp ../doc/OpenXM-web/oxMessageTag.h ../include/ox ; \ |
cp ../doc/OpenXM-web/oxMessageTag.h ../include/ox |
cp ../doc/OpenXM-web/smCommand.h ../include/ox ; \ |
../include/ox/smCommand.h : ../doc/OpenXM-web/smCommand.h |
fi |
cp ../doc/OpenXM-web/smCommand.h ../include/ox |
|
|
configure-gmp: configure-links |
configure-gmp: configure-links |
@if test -f gmp/.gmp_configured ; \ |
@if test -f gmp/.gmp_configured ; \ |
|
|
(cd $(BINDIR) ; make configure) |
(cd $(BINDIR) ; make configure) |
|
|
configure-gnuplot: |
configure-gnuplot: |
(cd gnuplot ; make configure) |
-(cd gnuplot ; make configure) |
|
|
configure-k097: |
configure-k097: configure-links |
|
|
configure-kan96xx: |
configure-kan96xx: configure-links |
(cd kan96xx ; make configure) |
(cd kan96xx ; make configure) |
|
|
configure-kxx: |
configure-kxx: |
( cd kxx ; ./make-configure) |
( cd kxx ; ./make-configure) |
|
|
configure-links: |
configure-links: |
rm -f -r $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp |
-@if [ ! -f ./.configure-links-done ] ; then \ |
(cd $(LIBDIR) ; ln -f -s ../src/k097 k097) |
rm -f -r $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp ; \ |
(cd $(LIBDIR) ; ln -f -s ../src/kan96xx/Doc sm1) |
(cd $(LIBDIR) ; ln -f -s ../src/k097 k097) ; \ |
ln -f -s kan96xx SSkan |
(cd $(LIBDIR) ; ln -f -s ../src/kan96xx/Doc sm1) ; \ |
ln -f -s $(BINDIR) bin |
ln -f -s kan96xx SSkan ; \ |
ln -f -s $(OPENXM_CONTRIB)/gc gc |
ln -f -s $(BINDIR) bin ; \ |
ln -f -s $(OPENXM_CONTRIB)/gmp gmp |
ln -f -s $(OPENXM_CONTRIB)/gc gc ; \ |
-mkdir ${OpenXM_HOME}/libexec |
ln -f -s $(OPENXM_CONTRIB)/gmp gmp ; \ |
|
mkdir ${OpenXM_HOME}/libexec ; \ |
|
touch ./.configure-links-done ;\ |
|
fi |
|
|
configure-oxtoolkit: |
configure-oxtoolkit: configure-include |
(cd ox_toolkit; ./make-configure) |
(cd ox_toolkit; ./make-configure) |
|
|
configure-oxc: |
configure-oxc: configure-include |
(cd oxc; ./make-configure) |
(cd oxc; ./make-configure) |
|
|
configure-oxmath: |
configure-oxmath: configure-include |
(cd ox_math; ./make-configure) |
(cd ox_math; ./make-configure) |
|
|
configure-pari: |
configure-pari: |
Line 301 install-all-asir-lib: |
|
Line 308 install-all-asir-lib: |
|
|
|
binary-dist : all-Copyright clean-rc all all-misc post-install-correction install-all-asir-lib |
binary-dist : all-Copyright clean-rc all all-misc post-install-correction install-all-asir-lib |
|
|
|
## Sub binary packages |
|
## 1: asir: asir only. target: all-asir install-asir |
|
|
|
## 2: k0-ox: k0 and sm1 with OpenXM. target: all-k0-ox install-k0-ox |
|
configure-all-k0-ox : configure-links configure-include configure-asir \ |
|
configure-kan96xx configure-kxx configure-k097 \ |
|
configure-oxc |
|
all-k0-ox: configure-all-k0-ox all-asir all-kan96xx all-kxx all-k097 all-oxc |
|
install-k0-ox: all-k0-ox install-asir install-kan96xx install-kxx install-k097 |