=================================================================== RCS file: /home/cvs/OpenXM/src/Makefile,v retrieving revision 1.128 retrieving revision 1.131 diff -u -p -r1.128 -r1.131 --- OpenXM/src/Makefile 2003/09/06 11:43:52 1.128 +++ OpenXM/src/Makefile 2003/09/11 00:46:18 1.131 @@ -1,4 +1,4 @@ -## $OpenXM: OpenXM/src/Makefile,v 1.127 2003/09/03 02:03:23 takayama Exp $ +## $OpenXM: OpenXM/src/Makefile,v 1.130 2003/09/11 00:43:16 takayama Exp $ OpenXM_HOME=.. OpenXM_contrib=../../OpenXM_contrib @@ -20,7 +20,7 @@ all-gmp: configure-gmp all-oxtoolkit: configure-oxtoolkit install-gmp install-gc install-util (cd ox_toolkit; make) -all-oxc: configure-oxc install-oxtoolkit +all-oxc: configure-oxc install-oxtoolkit (cd oxc; make) all-asir: configure-asir install-pari @@ -46,7 +46,7 @@ all-openmath: echo "in your search path. OpenMath will not be compiled." ; \ fi -all-oxmath: configure-oxmath install-oxtoolkit +all-oxmath: configure-oxmath install-oxtoolkit install-gc -@if test -d /usr/local/mathematica ; then \ (cd ox_math ; make) ; \ else \ @@ -102,7 +102,7 @@ install-asir: all-asir install-gnuplot: all-gnuplot -(cd gnuplot ; make install) -install-k097: install-kxx all-k097 +install-k097: install-kxx all-k097 install-oxc (cd k097 ; make install) install-kan96xx: all-kan96xx @@ -188,7 +188,10 @@ clean: -(cd asir-contrib ; make clean) -(cd ${OpenXM_contrib2}/fep ; make clean) -(cd util ; make clean) + -(cd ox_toolkit ; make clean) + -(cd oxc ; make clean) + distclean: clean (cd uuencoded ; make distclean) -(cd ${OpenXM_contrib}/gmp ; make distclean) @@ -203,6 +206,7 @@ distclean: clean (cd tigers ; make distclean) -(cd ox_toolkit ; make distclean) -(cd ox_math ; make distclean) + -(cd oxc ; make distclean) rm -rf $(BINDIR)/d0 $(BINDIR)/k0 $(BINDIR)/ox $(BINDIR)/ox_sm1 \ $(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \ $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp @@ -237,7 +241,12 @@ configure-oxc: (cd oxc; ./make-configure) configure-oxmath: - (cd ox_math; ./make-configure) + -@if test -d /usr/local/mathematica ; then \ + (cd ox_math; ./make-configure) ; \ + else \ + echo -n "Warning: Mathematica is not found. " ; \ + echo "ox_math will not be compiled." ; \ + fi configure-pari: (cd pari ; make configure)