version 1.85, 2000/03/06 14:58:00 |
version 1.92, 2000/03/10 03:15:57 |
|
|
## $OpenXM: OpenXM/src/Makefile,v 1.84 2000/03/06 04:30:39 takayama Exp $ |
## $OpenXM: OpenXM/src/Makefile,v 1.91 2000/03/10 02:35:53 takayama Exp $ |
|
|
OPENXM_CONTRIB=../../OpenXM_contrib |
OPENXM_CONTRIB=../../OpenXM_contrib |
OPENXM_CONTRIB2=../../OpenXM_contrib2 |
OPENXM_CONTRIB2=../../OpenXM_contrib2 |
Line 27 all-gmp: configure-gmp |
|
Line 27 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) ; \ |
fi |
fi |
|
|
|
all-oxtoolkit: configure-oxtoolkit install-gmp install-kxx |
|
(cd ox_toolkit; make) |
|
|
all-asir: configure-asir |
all-asir: configure-asir |
@if test -d $(OPENXM_CONTRIB2) ; then \ |
@if test -d $(OPENXM_CONTRIB2) ; then \ |
(cd asir2000 ; make all) ; \ |
(cd asir2000 ; make all) ; \ |
|
|
echo "in your search path. OpenMath will not be compiled." ; \ |
echo "in your search path. OpenMath will not be compiled." ; \ |
fi |
fi |
|
|
all-oxmath: configure-oxmath |
all-oxmath: configure-oxmath install-oxtoolkit |
@if test -d /usr/local/mathematica ; 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. " ; \ |
Line 130 install-openmath: all-openmath |
|
Line 133 install-openmath: all-openmath |
|
echo "in your search path. OpenMath will not be installed." ; \ |
echo "in your search path. OpenMath will not be installed." ; \ |
fi |
fi |
|
|
|
install-oxtoolkit: all-oxtoolkit |
|
(cd ox_toolkit; make install) |
|
|
install-oxmath: all-oxmath |
install-oxmath: all-oxmath install-kxx |
@if test -d /usr/local/mathematica ; 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. " ; \ |
Line 189 distclean: clean |
|
Line 194 distclean: clean |
|
(cd pari ; make distclean) |
(cd pari ; make distclean) |
(cd phc ; make distclean) |
(cd phc ; make distclean) |
(cd tigers ; make distclean) |
(cd tigers ; make distclean) |
|
-(cd ox_toolkit ; make distclean) |
|
-(cd ox_math ; make distclean) |
rm -rf $(BINDIR)/d0 $(BINDIR)/k0 $(BINDIR)/ox $(BINDIR)/ox_sm1 \ |
rm -rf $(BINDIR)/d0 $(BINDIR)/k0 $(BINDIR)/ox $(BINDIR)/ox_sm1 \ |
$(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 |
Line 237 configure-links: |
|
Line 244 configure-links: |
|
ln -f -s $(OPENXM_CONTRIB)/gc gc |
ln -f -s $(OPENXM_CONTRIB)/gc gc |
ln -f -s $(OPENXM_CONTRIB)/gmp gmp |
ln -f -s $(OPENXM_CONTRIB)/gmp gmp |
|
|
|
configure-oxtoolkit: |
|
(cd ox_toolkit; ./make-configure) |
|
|
configure-oxmath: |
configure-oxmath: |
(cd ox_math; ./make-configure) |
(cd ox_math; ./make-configure) |
|
|
|
|
(cd $(COPYRIGHTDIR) ; make copy-copyright ) |
(cd $(COPYRIGHTDIR) ; make copy-copyright ) |
|
|
post-install-correction: install |
post-install-correction: install |
(cd ../bin ; rm -f asir ; ln -s ./ox_asir asir) |
# I think that we no longer need post-install-correction-for-asir |
(cd ../lib/asir ; rm -f ox_asir ox_launch ox_plot help ; ln -s ./asir ox_asir ; ln -s ./asir ox_launch ; ln -s ./asir ox_plot ; ln -s ./help-eg help) |
# post-install-corrections-other |
(cd ../rc ; make install.man) |
(cd ../rc ; make install.man) |
|
|
|
post-install-correction-for-asir: |
|
(cd ../bin ; rm -f asir ox_asir ) |
|
cp ../lib/asir/asir ../bin/asir |
|
(cd ../bin ; ln -s ./asir ox_asir) |
|
(cd ../lib/asir ; rm -f asir ; ln -s ../../bin/asir asir) |
|
(cd ../lib/asir ; rm -f ox_asir ox_launch ox_plot help ; ln -s ./asir ox_asir ; ln -s ./asir ox_launch ; ln -s ./asir ox_plot ; ln -s ./help-eg help) |
|
|
binary-dist : all-Copyright clean-rc all all-misc post-install-correction |
binary-dist : all-Copyright clean-rc all all-misc post-install-correction |
|
|