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