version 1.107, 2001/05/31 08:04:34 |
version 1.112, 2002/04/05 01:43:48 |
|
|
## $OpenXM: OpenXM/src/Makefile,v 1.106 2001/05/20 09:19:16 takayama Exp $ |
## $OpenXM: OpenXM/src/Makefile,v 1.111 2002/04/05 01:28:46 takayama Exp $ |
|
|
OpenXM_HOME=../../OpenXM |
OpenXM_HOME=../../OpenXM |
OPENXM_CONTRIB=../../OpenXM_contrib |
OPENXM_CONTRIB=../../OpenXM_contrib |
|
|
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 48 all-kxx: configure-kxx all-kan96xx |
|
Line 48 all-kxx: configure-kxx all-kan96xx |
|
(cd kxx ; make all) |
(cd kxx ; make all) |
|
|
all-openmath: |
all-openmath: |
@if ../misc/which.pl -s javac ; then \ |
-@if ../misc/which.pl -s javac ; then \ |
(cd OpenMath ; make all) ; \ |
(cd OpenMath ; make all) ; \ |
else \ |
else \ |
echo -n "Warning: javac (java compiler) is not found " ; \ |
echo -n "Warning: javac (java compiler) is not found " ; \ |
Line 124 install-kxx: all-kxx |
|
Line 124 install-kxx: all-kxx |
|
(cd kxx ; make install) |
(cd kxx ; make install) |
|
|
install-openmath: all-openmath |
install-openmath: all-openmath |
@if ../misc/which.pl -s javac ; then \ |
-@if ../misc/which.pl -s javac ; then \ |
(cd OpenMath ; make install) ; \ |
(cd OpenMath ; make install) ; \ |
else \ |
else \ |
echo -n "Warning: javac (java compiler) is not found " ; \ |
echo -n "Warning: javac (java compiler) is not found " ; \ |
Line 137 install-oxtoolkit: all-oxtoolkit |
|
Line 137 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 -x /usr/local/bin/math ; then \ |
(cd ox_math ; make install) ; \ |
(cd ox_math ; make install) ; \ |
else \ |
else \ |
|
|
(cd asir-contrib ; make clean) |
(cd asir-contrib ; make clean) |
|
|
distclean: clean |
distclean: clean |
(cd $(BINDIR) ; make distclean) |
(cd uuencoded ; make distclean) |
-(cd $(OPENXM_CONTRIB)/gmp ; make distclean) |
-(cd $(OPENXM_CONTRIB)/gmp ; make distclean) |
(cd $(OPENXM_CONTRIB)/gc ; make clean ; /bin/rm -f *.a) |
(cd $(OPENXM_CONTRIB)/gc ; make clean ; /bin/rm -f *.a) |
(cd asir2000 ; make distclean) |
(cd asir2000 ; make distclean) |
Line 205 distclean: clean |
|
Line 205 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: |
|
|
fi |
fi |
|
|
configure-bin: |
configure-bin: |
(cd $(BINDIR) ; make configure) |
(cd uuencoded ; make configure) |
|
|
configure-gnuplot: |
configure-gnuplot: |
-(cd gnuplot ; make configure) |
-(cd gnuplot ; make configure) |
Line 255 configure-k097: configure-links |
|
Line 259 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-links: configure-directory |
-@if [ ! -f ./.configure-links-done ] ; then \ |
-@if [ ! -f ./.configure-links-done ] ; then \ |
rm -f -r $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp ; \ |
rm -f -r $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp ; \ |
(cd $(LIBDIR) ; ln -f -s ../src/k097 k097) ; \ |
(cd $(LIBDIR) ; ln -f -s ../src/k097 k097) ; \ |
Line 269 configure-links: |
|
Line 273 configure-links: |
|
ln -f -s $(OPENXM_CONTRIB)/gmp gmp ; \ |
ln -f -s $(OPENXM_CONTRIB)/gmp gmp ; \ |
mkdir ${OpenXM_HOME}/libexec ; \ |
mkdir ${OpenXM_HOME}/libexec ; \ |
touch ./.configure-links-done ;\ |
touch ./.configure-links-done ;\ |
|
fi |
|
|
|
configure-directory: |
|
-@if [ ! -d ../bin ] ; then \ |
|
mkdir ../bin ; \ |
fi |
fi |
|
|
configure-oxtoolkit: configure-include |
configure-oxtoolkit: configure-include |