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