Annotation of OpenXM/src/Makefile, Revision 1.66
1.66 ! takayama 1: ## $OpenXM: OpenXM/src/Makefile,v 1.65 2000/01/19 06:06:30 takayama 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.63 noro 52: install-phc install-tigers install-asir-doc 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.66 ! takayama 70: @if ../misc/which.pl -s javac ; then \
! 71: (cd OpenMath ; make install) ; \
! 72: else \
! 73: echo -n "Warning: javac (java compiler) is not found " ; \
! 74: echo "in your search path. OpenMath will not be installed." ; \
! 75: fi
! 76:
1.53 maekawa 77:
78: install-oxmath: all-oxmath
79:
1.37 maekawa 80: install-pari: all-pari
1.45 maekawa 81: (cd pari ; make install)
1.51 maekawa 82:
83: install-phc: all-phc
84: (cd phc ; make install)
85:
86: install-tigers: all-tigers
87: (cd tigers ; make install)
1.37 maekawa 88:
1.59 takayama 89: install-asir-contrib: install-asir
90: (cd asir-contrib ; make install)
1.63 noro 91:
92: install-asir-doc: install-asir
93: (cd asir-doc ; make install)
1.59 takayama 94:
1.29 maekawa 95: clean:
1.52 maekawa 96: (cd asir2000 ; make clean)
97: (cd gnuplot ; make clean)
98: (cd k097 ; make clean)
1.36 maekawa 99: (cd kan96xx ; make clean)
1.1 maekawa 100: (cd kxx ; make clean)
1.60 tam 101: (cd OpenMath ; make clean)
1.52 maekawa 102: # (cd ox_math ; make clean)
1.38 maekawa 103: (cd pari ; make clean)
1.36 maekawa 104: (cd phc ; make clean)
1.52 maekawa 105: (cd tigers ; make clean)
1.64 noro 106: (cd asir-doc ; make clean)
1.59 takayama 107: (cd asir-contrib ; make clean)
1.11 takayama 108:
1.39 maekawa 109: distclean: clean
1.56 maekawa 110: (cd $(BINDIR) ; make distclean)
1.46 maekawa 111: (cd asir2000 ; make distclean)
1.40 maekawa 112: (cd gnuplot ; make distclean)
1.36 maekawa 113: (cd kan96xx ; make distclean)
1.60 tam 114: (cd OpenMath ; make distclean)
1.38 maekawa 115: (cd pari ; make distclean)
1.44 maekawa 116: (cd phc ; make distclean)
1.40 maekawa 117: (cd tigers ; make distclean)
1.56 maekawa 118: rm -rf $(BINDIR)/d0 $(BINDIR)/k0 $(BINDIR)/ox $(BINDIR)/ox_sm1 \
1.53 maekawa 119: $(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \
120: $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp
1.11 takayama 121:
1.65 takayama 122: configure: configure-links configure-bin configure-asir \
1.62 takayama 123: configure-gnuplot \
1.50 maekawa 124: configure-k097 configure-kan96xx configure-kxx configure-oxmath \
125: configure-pari
1.37 maekawa 126:
1.52 maekawa 127: configure-asir:
1.42 maekawa 128: (cd asir2000; make configure)
1.41 maekawa 129:
1.45 maekawa 130: configure-bin:
1.56 maekawa 131: (cd $(BINDIR) ; make configure)
1.45 maekawa 132:
1.41 maekawa 133: configure-gnuplot:
134: (cd gnuplot ; make configure)
1.48 maekawa 135:
136: configure-k097: install-kan96xx
1.37 maekawa 137:
1.45 maekawa 138: configure-kan96xx:
139: (cd kan96xx ; make configure)
140:
1.47 maekawa 141: configure-kxx: install-kan96xx
1.45 maekawa 142: (cd kxx ; make configure)
143:
1.37 maekawa 144: configure-links:
1.61 noro 145: rm -f -r $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp
1.54 maekawa 146: (cd $(LIBDIR) ; ln -f -s ../src/k097 k097)
147: (cd $(LIBDIR) ; ln -f -s ../src/kan96xx/Doc sm1)
148: ln -f -s kan96xx SSkan
1.53 maekawa 149: ln -f -s $(BINDIR) bin
1.55 maekawa 150: ln -f -s $(OPENXM_CONTRIB)/gc gc
151: ln -f -s $(OPENXM_CONTRIB)/gmp gmp
1.45 maekawa 152:
153: configure-oxmath:
154: (cd ox_math; ./configure)
1.37 maekawa 155:
156: configure-pari:
1.36 maekawa 157: (cd pari ; make configure)
1.62 takayama 158:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>