=================================================================== RCS file: /home/cvs/OpenXM/src/Makefile,v retrieving revision 1.112 retrieving revision 1.117 diff -u -p -r1.112 -r1.117 --- OpenXM/src/Makefile 2002/04/05 01:43:48 1.112 +++ OpenXM/src/Makefile 2003/05/17 08:24:56 1.117 @@ -1,4 +1,4 @@ -## $OpenXM: OpenXM/src/Makefile,v 1.111 2002/04/05 01:28:46 takayama Exp $ +## $OpenXM: OpenXM/src/Makefile,v 1.116 2003/03/06 10:36:03 ohara Exp $ OpenXM_HOME=../../OpenXM OPENXM_CONTRIB=../../OpenXM_contrib @@ -9,7 +9,7 @@ RCDIR=../rc COPYRIGHTDIR=../Copyright all: configure all-gc all-gmp all-asir all-gnuplot all-k097 all-kan96xx \ - all-kxx all-pari all-phc all-openmath all-oxmath all-tigers + all-kxx all-pari all-phc all-openmath all-oxmath all-tigers all-fep all-gc: @if test ! -f gc/.gc_make_done ; \ @@ -38,7 +38,7 @@ all-asir: configure-asir all-gnuplot: configure-gnuplot -(cd gnuplot ; make all) -all-k097: configure-k097 all-kan96xx +all-k097: configure-k097 all-kan96xx all-kxx (cd k097 ; make all) all-kan96xx: configure-kan96xx install-gc install-gmp @@ -56,7 +56,7 @@ all-openmath: fi all-oxmath: configure-oxmath install-oxtoolkit - -@if test -x /usr/local/bin/math ; then \ + -@if test -d /usr/local/mathematica ; then \ (cd ox_math ; make) ; \ else \ echo -n "Warning: Mathematica is not found. " ; \ @@ -72,7 +72,10 @@ all-phc: all-tigers: (cd tigers ; make all) +all-fep: + -(cd ${OPENXM_CONTRIB2}/fep ; make all) + all-misc : (cd ../rc ; make repl) (cd ../doc ; make all-install) @@ -84,13 +87,13 @@ all-rc: install: install-asir install-gnuplot install-k097 install-kan96xx \ install-kxx install-openmath install-oxmath install-pari \ install-phc install-tigers install-asir-doc install-asir-contrib \ - install-misc + install-misc install-fep install-gc : all-gc -@if test ! -f gc/.gc_installed ; \ then \ - mkdir ../lib ; \ + if test ! -d ../lib ; then mkdir ../lib ; fi ; \ cp gc/gc.a ../lib/libgc.a ; \ fi @touch gc/.gc_installed @@ -138,7 +141,7 @@ install-oxc: all-oxc (cd oxc; make install) install-oxmath: all-oxmath configure-util - -@if test -x /usr/local/bin/math ; then \ + -@if test -d /usr/local/mathematica ; then \ (cd ox_math ; make install) ; \ else \ echo -n "Warning: Mathematica is not found. " ; \ @@ -165,6 +168,9 @@ install-asir-doc: install-asir install-misc: (cd ../rc ; make install.man) +install-fep: all-fep + -(cd ${OPENXM_CONTRIB2}/fep ; make PREFIX=../../OpenXM install) + install-rc: all-rc (cd ../rc ; make install) @@ -186,6 +192,7 @@ clean: (cd tigers ; make clean) (cd asir-doc ; make clean) (cd asir-contrib ; make clean) + -(cd ${OPENXM_CONTRIB2}/fep ; make clean) distclean: clean (cd uuencoded ; make distclean) @@ -240,7 +247,7 @@ configure-gmp: configure-links (cd gmp ; ./configure --prefix=`pwd`/../../OpenXM; touch .gmp_configured) ; \ fi -configure-asir: +configure-asir: configure-directory configure-util @if test -d $(OPENXM_CONTRIB2) ; then \ (cd asir2000 ; make configure) ; \ else \ @@ -286,7 +293,7 @@ configure-oxtoolkit: configure-include configure-oxc: configure-include (cd oxc; ./make-configure) -configure-oxmath: configure-include +configure-oxmath: configure-include configure-directory (cd ox_math; ./make-configure) configure-pari: