Annotation of OpenXM/src/Makefile, Revision 1.62
1.62 ! takayama 1: ## $OpenXM: OpenXM/src/Makefile,v 1.61 2000/01/18 02:03:42 noro Exp $
1.33 maekawa 2:
1.55 maekawa 3: OPENXM_CONTRIB=../../OpenXM_contrib
1.53 maekawa 4: LIBDIR=../lib
5: BINDIR=../bin
6:
7: all: configure all-asir all-gnuplot all-k097 all-kan96xx all-kxx \
8: all-pari all-phc all-openmath all-oxmath all-tigers
1.26 maekawa 9:
1.41 maekawa 10: all-asir: configure-asir
1.52 maekawa 11: (cd asir2000 ; make all)
1.21 maekawa 12:
1.41 maekawa 13: all-gnuplot: configure-gnuplot
1.52 maekawa 14: (cd gnuplot ; make all)
1.32 maekawa 15:
1.49 maekawa 16: all-k097: configure-k097
1.52 maekawa 17: (cd k097 ; make all)
1.49 maekawa 18:
1.45 maekawa 19: all-kan96xx: configure-kan96xx
1.47 maekawa 20: (cd kan96xx ; make all)
1.32 maekawa 21:
1.45 maekawa 22: all-kxx: configure-kxx
1.52 maekawa 23: (cd kxx ; make all)
1.31 maekawa 24:
1.30 maekawa 25: all-openmath:
26: @if ../misc/which.pl -s javac ; then \
1.60 tam 27: (cd OpenMath ; make all) ; \
1.30 maekawa 28: else \
29: echo -n "Warning: javac (java compiler) is not found " ; \
30: echo "in your search path. OpenMath will not be compiled." ; \
31: fi
32:
1.45 maekawa 33: all-oxmath: configure-oxmath
1.27 maekawa 34: @if test -d /usr/local/mathematica ; then \
35: (cd ox_math ; make) ; \
36: else \
37: echo -n "Warning: Mathematica is not found. " ; \
38: echo "ox_math will not be compiled." ; \
1.23 maekawa 39: fi
40:
1.37 maekawa 41: all-pari: configure-pari
42: (cd pari ; make all)
1.25 maekawa 43:
1.22 maekawa 44: all-phc:
1.51 maekawa 45: (cd phc ; make all)
1.22 maekawa 46:
47: all-tigers:
1.51 maekawa 48: (cd tigers ; make all)
1.1 maekawa 49:
1.52 maekawa 50: install: install-asir install-gnuplot install-k097 install-kan96xx \
1.53 maekawa 51: install-kxx install-openmath install-oxmath install-pari \
1.59 takayama 52: install-phc install-tigers install-asir-contrib
1.52 maekawa 53:
54: install-asir: all-asir
55: (cd asir2000 ; make install)
56:
57: install-gnuplot: all-gnuplot
58: (cd gnuplot ; make install)
59:
60: install-k097: all-k097
61: (cd k097 ; make install)
1.37 maekawa 62:
1.47 maekawa 63: install-kan96xx: all-kan96xx
1.57 takayama 64: (cd kan96xx ; make install)
1.47 maekawa 65:
1.52 maekawa 66: install-kxx: all-kxx
1.58 takayama 67: (cd kxx ; make install)
1.52 maekawa 68:
1.53 maekawa 69: install-openmath: all-openmath
1.60 tam 70: (cd OpenMath ; make install)
1.53 maekawa 71:
72: install-oxmath: all-oxmath
73:
1.37 maekawa 74: install-pari: all-pari
1.45 maekawa 75: (cd pari ; make install)
1.51 maekawa 76:
77: install-phc: all-phc
78: (cd phc ; make install)
79:
80: install-tigers: all-tigers
81: (cd tigers ; make install)
1.37 maekawa 82:
1.59 takayama 83: install-asir-contrib: install-asir
84: (cd asir-contrib ; make install)
85:
1.29 maekawa 86: clean:
1.52 maekawa 87: (cd asir2000 ; make clean)
88: (cd gnuplot ; make clean)
89: (cd k097 ; make clean)
1.36 maekawa 90: (cd kan96xx ; make clean)
1.1 maekawa 91: (cd kxx ; make clean)
1.60 tam 92: (cd OpenMath ; make clean)
1.52 maekawa 93: # (cd ox_math ; make clean)
1.38 maekawa 94: (cd pari ; make clean)
1.36 maekawa 95: (cd phc ; make clean)
1.52 maekawa 96: (cd tigers ; make clean)
1.59 takayama 97: (cd asir-contrib ; make clean)
1.11 takayama 98:
1.39 maekawa 99: distclean: clean
1.56 maekawa 100: (cd $(BINDIR) ; make distclean)
1.46 maekawa 101: (cd asir2000 ; make distclean)
1.40 maekawa 102: (cd gnuplot ; make distclean)
1.36 maekawa 103: (cd kan96xx ; make distclean)
1.60 tam 104: (cd OpenMath ; make distclean)
1.38 maekawa 105: (cd pari ; make distclean)
1.44 maekawa 106: (cd phc ; make distclean)
1.40 maekawa 107: (cd tigers ; make distclean)
1.56 maekawa 108: rm -rf $(BINDIR)/d0 $(BINDIR)/k0 $(BINDIR)/ox $(BINDIR)/ox_sm1 \
1.53 maekawa 109: $(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \
110: $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp
1.11 takayama 111:
1.62 ! takayama 112: configure: configure-links configure-gmp configure-bin configure-asir \
! 113: configure-gnuplot \
1.50 maekawa 114: configure-k097 configure-kan96xx configure-kxx configure-oxmath \
115: configure-pari
1.37 maekawa 116:
1.52 maekawa 117: configure-asir:
1.42 maekawa 118: (cd asir2000; make configure)
1.41 maekawa 119:
1.45 maekawa 120: configure-bin:
1.56 maekawa 121: (cd $(BINDIR) ; make configure)
1.45 maekawa 122:
1.41 maekawa 123: configure-gnuplot:
124: (cd gnuplot ; make configure)
1.48 maekawa 125:
126: configure-k097: install-kan96xx
1.37 maekawa 127:
1.45 maekawa 128: configure-kan96xx:
129: (cd kan96xx ; make configure)
130:
1.47 maekawa 131: configure-kxx: install-kan96xx
1.45 maekawa 132: (cd kxx ; make configure)
133:
1.37 maekawa 134: configure-links:
1.61 noro 135: rm -f -r $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp
1.54 maekawa 136: (cd $(LIBDIR) ; ln -f -s ../src/k097 k097)
137: (cd $(LIBDIR) ; ln -f -s ../src/kan96xx/Doc sm1)
138: ln -f -s kan96xx SSkan
1.53 maekawa 139: ln -f -s $(BINDIR) bin
1.55 maekawa 140: ln -f -s $(OPENXM_CONTRIB)/gc gc
141: ln -f -s $(OPENXM_CONTRIB)/gmp gmp
1.45 maekawa 142:
143: configure-oxmath:
144: (cd ox_math; ./configure)
1.37 maekawa 145:
146: configure-pari:
1.36 maekawa 147: (cd pari ; make configure)
1.62 ! takayama 148:
! 149: configure-gmp:
! 150: (cd $(OPENXM_CONTRIB)/gmp ; rm -f .gmp_configured)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>