=================================================================== RCS file: /home/cvs/OpenXM/src/Makefile,v retrieving revision 1.107 retrieving revision 1.111 diff -u -p -r1.107 -r1.111 --- OpenXM/src/Makefile 2001/05/31 08:04:34 1.107 +++ OpenXM/src/Makefile 2002/04/05 01:28:46 1.111 @@ -1,4 +1,4 @@ -## $OpenXM: OpenXM/src/Makefile,v 1.106 2001/05/20 09:19:16 takayama Exp $ +## $OpenXM: OpenXM/src/Makefile,v 1.110 2002/02/25 08:18:40 takayama Exp $ OpenXM_HOME=../../OpenXM OPENXM_CONTRIB=../../OpenXM_contrib @@ -21,7 +21,7 @@ all-gc: all-gmp: configure-gmp (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) all-oxc: configure-oxc install-oxtoolkit @@ -48,7 +48,7 @@ all-kxx: configure-kxx all-kan96xx (cd kxx ; make all) all-openmath: - @if ../misc/which.pl -s javac ; then \ + -@if ../misc/which.pl -s javac ; then \ (cd OpenMath ; make all) ; \ else \ echo -n "Warning: javac (java compiler) is not found " ; \ @@ -124,7 +124,7 @@ install-kxx: all-kxx (cd kxx ; make install) install-openmath: all-openmath - @if ../misc/which.pl -s javac ; then \ + -@if ../misc/which.pl -s javac ; then \ (cd OpenMath ; make install) ; \ else \ echo -n "Warning: javac (java compiler) is not found " ; \ @@ -188,7 +188,7 @@ clean: (cd asir-contrib ; make clean) distclean: clean - (cd $(BINDIR) ; make distclean) + (cd uuencoded ; make distclean) -(cd $(OPENXM_CONTRIB)/gmp ; make distclean) (cd $(OPENXM_CONTRIB)/gc ; make clean ; /bin/rm -f *.a) (cd asir2000 ; make distclean) @@ -205,11 +205,15 @@ distclean: clean $(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \ $(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-k097 configure-kan96xx configure-kxx configure-oxmath \ 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-make-dir: @@ -245,7 +249,7 @@ configure-asir: fi configure-bin: - (cd $(BINDIR) ; make configure) + (cd uuencoded ; make configure) configure-gnuplot: -(cd gnuplot ; make configure) @@ -258,7 +262,7 @@ configure-kan96xx: configure-links configure-kxx: ( cd kxx ; ./make-configure) -configure-links: +configure-links: configure-directory -@if [ ! -f ./.configure-links-done ] ; then \ rm -f -r $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp ; \ (cd $(LIBDIR) ; ln -f -s ../src/k097 k097) ; \ @@ -269,6 +273,11 @@ configure-links: ln -f -s $(OPENXM_CONTRIB)/gmp gmp ; \ mkdir ${OpenXM_HOME}/libexec ; \ touch ./.configure-links-done ;\ + fi + +configure-directory: + -@if [ ! -d ../bin ] ; then \ + mkdir ../bin ; \ fi configure-oxtoolkit: configure-include