Annotation of OpenXM/src/Makefile, Revision 1.63
1.63 ! noro 1: ## $OpenXM: OpenXM/src/Makefile,v 1.62 2000/01/19 00:26:20 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.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)
1.63 ! noro 85:
! 86: install-asir-doc: install-asir
! 87: (cd asir-doc ; make install)
1.59 takayama 88:
1.29 maekawa 89: clean:
1.52 maekawa 90: (cd asir2000 ; make clean)
91: (cd gnuplot ; make clean)
92: (cd k097 ; make clean)
1.36 maekawa 93: (cd kan96xx ; make clean)
1.1 maekawa 94: (cd kxx ; make clean)
1.60 tam 95: (cd OpenMath ; make clean)
1.52 maekawa 96: # (cd ox_math ; make clean)
1.38 maekawa 97: (cd pari ; make clean)
1.36 maekawa 98: (cd phc ; make clean)
1.52 maekawa 99: (cd tigers ; make clean)
1.59 takayama 100: (cd asir-contrib ; make clean)
1.11 takayama 101:
1.39 maekawa 102: distclean: clean
1.56 maekawa 103: (cd $(BINDIR) ; make distclean)
1.46 maekawa 104: (cd asir2000 ; make distclean)
1.40 maekawa 105: (cd gnuplot ; make distclean)
1.36 maekawa 106: (cd kan96xx ; make distclean)
1.60 tam 107: (cd OpenMath ; make distclean)
1.38 maekawa 108: (cd pari ; make distclean)
1.44 maekawa 109: (cd phc ; make distclean)
1.40 maekawa 110: (cd tigers ; make distclean)
1.56 maekawa 111: rm -rf $(BINDIR)/d0 $(BINDIR)/k0 $(BINDIR)/ox $(BINDIR)/ox_sm1 \
1.53 maekawa 112: $(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \
113: $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp
1.11 takayama 114:
1.62 takayama 115: configure: configure-links configure-gmp configure-bin configure-asir \
116: configure-gnuplot \
1.50 maekawa 117: configure-k097 configure-kan96xx configure-kxx configure-oxmath \
118: configure-pari
1.37 maekawa 119:
1.52 maekawa 120: configure-asir:
1.42 maekawa 121: (cd asir2000; make configure)
1.41 maekawa 122:
1.45 maekawa 123: configure-bin:
1.56 maekawa 124: (cd $(BINDIR) ; make configure)
1.45 maekawa 125:
1.41 maekawa 126: configure-gnuplot:
127: (cd gnuplot ; make configure)
1.48 maekawa 128:
129: configure-k097: install-kan96xx
1.37 maekawa 130:
1.45 maekawa 131: configure-kan96xx:
132: (cd kan96xx ; make configure)
133:
1.47 maekawa 134: configure-kxx: install-kan96xx
1.45 maekawa 135: (cd kxx ; make configure)
136:
1.37 maekawa 137: configure-links:
1.61 noro 138: rm -f -r $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp
1.54 maekawa 139: (cd $(LIBDIR) ; ln -f -s ../src/k097 k097)
140: (cd $(LIBDIR) ; ln -f -s ../src/kan96xx/Doc sm1)
141: ln -f -s kan96xx SSkan
1.53 maekawa 142: ln -f -s $(BINDIR) bin
1.55 maekawa 143: ln -f -s $(OPENXM_CONTRIB)/gc gc
144: ln -f -s $(OPENXM_CONTRIB)/gmp gmp
1.45 maekawa 145:
146: configure-oxmath:
147: (cd ox_math; ./configure)
1.37 maekawa 148:
149: configure-pari:
1.36 maekawa 150: (cd pari ; make configure)
1.62 takayama 151:
152: configure-gmp:
153: (cd $(OPENXM_CONTRIB)/gmp ; rm -f .gmp_configured)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>