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