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