Annotation of OpenXM/src/Makefile, Revision 1.58
1.58 ! takayama 1: ## $OpenXM: OpenXM/src/Makefile,v 1.57 2000/01/15 22:19:06 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 \
27: (cd OpenMath ; make) ; \
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 \
52: install-phc install-tigers
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
70:
71: install-oxmath: all-oxmath
72:
1.37 maekawa 73: install-pari: all-pari
1.45 maekawa 74: (cd pari ; make install)
1.51 maekawa 75:
76: install-phc: all-phc
77: (cd phc ; make install)
78:
79: install-tigers: all-tigers
80: (cd tigers ; make install)
1.37 maekawa 81:
1.29 maekawa 82: clean:
1.52 maekawa 83: (cd asir2000 ; make clean)
84: (cd gnuplot ; make clean)
85: (cd k097 ; make clean)
1.36 maekawa 86: (cd kan96xx ; make clean)
1.1 maekawa 87: (cd kxx ; make clean)
1.52 maekawa 88: # (cd ox_math ; make clean)
1.38 maekawa 89: (cd pari ; make clean)
1.36 maekawa 90: (cd phc ; make clean)
1.52 maekawa 91: (cd tigers ; make clean)
1.11 takayama 92:
1.39 maekawa 93: distclean: clean
1.56 maekawa 94: (cd $(BINDIR) ; make distclean)
1.46 maekawa 95: (cd asir2000 ; make distclean)
1.40 maekawa 96: (cd gnuplot ; make distclean)
1.36 maekawa 97: (cd kan96xx ; make distclean)
1.38 maekawa 98: (cd pari ; make distclean)
1.44 maekawa 99: (cd phc ; make distclean)
1.40 maekawa 100: (cd tigers ; make distclean)
1.56 maekawa 101: rm -rf $(BINDIR)/d0 $(BINDIR)/k0 $(BINDIR)/ox $(BINDIR)/ox_sm1 \
1.53 maekawa 102: $(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \
103: $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp
1.11 takayama 104:
1.53 maekawa 105: configure: configure-links configure-bin configure-asir configure-gnuplot \
1.50 maekawa 106: configure-k097 configure-kan96xx configure-kxx configure-oxmath \
107: configure-pari
1.37 maekawa 108:
1.52 maekawa 109: configure-asir:
1.42 maekawa 110: (cd asir2000; make configure)
1.41 maekawa 111:
1.45 maekawa 112: configure-bin:
1.56 maekawa 113: (cd $(BINDIR) ; make configure)
1.45 maekawa 114:
1.41 maekawa 115: configure-gnuplot:
116: (cd gnuplot ; make configure)
1.48 maekawa 117:
118: configure-k097: install-kan96xx
1.37 maekawa 119:
1.45 maekawa 120: configure-kan96xx:
121: (cd kan96xx ; make configure)
122:
1.47 maekawa 123: configure-kxx: install-kan96xx
1.45 maekawa 124: (cd kxx ; make configure)
125:
1.37 maekawa 126: configure-links:
1.54 maekawa 127: rm -f $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp
128: (cd $(LIBDIR) ; ln -f -s ../src/k097 k097)
129: (cd $(LIBDIR) ; ln -f -s ../src/kan96xx/Doc sm1)
130: ln -f -s kan96xx SSkan
1.53 maekawa 131: ln -f -s $(BINDIR) bin
1.55 maekawa 132: ln -f -s $(OPENXM_CONTRIB)/gc gc
133: ln -f -s $(OPENXM_CONTRIB)/gmp gmp
1.45 maekawa 134:
135: configure-oxmath:
136: (cd ox_math; ./configure)
1.37 maekawa 137:
138: configure-pari:
1.36 maekawa 139: (cd pari ; make configure)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>