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