Annotation of OpenXM/src/Makefile, Revision 1.125
1.125 ! takayama 1: ## $OpenXM: OpenXM/src/Makefile,v 1.124 2003/09/02 15:15:58 takayama Exp $
1.33 maekawa 2:
1.124 takayama 3: OpenXM_HOME=..
4: OpenXM_contrib=../../OpenXM_contrib
5: OpenXM_contrib2=../../OpenXM_contrib2
1.53 maekawa 6: LIBDIR=../lib
7: BINDIR=../bin
1.68 takayama 8: RCDIR=../rc
1.69 takayama 9: COPYRIGHTDIR=../Copyright
1.53 maekawa 10:
1.124 takayama 11: all: all-util all-gc all-gmp all-asir all-gnuplot all-k097 all-kan96xx \
1.113 takayama 12: all-kxx all-pari all-phc all-openmath all-oxmath all-tigers all-fep
1.85 takayama 13:
14: all-gc:
1.124 takayama 15: (cd gc; make all)
1.85 takayama 16:
17: all-gmp: configure-gmp
1.124 takayama 18: (cd gmp; make all)
1.26 maekawa 19:
1.124 takayama 20: all-oxtoolkit: configure-oxtoolkit install-gmp install-gc install-util
1.87 ohara 21: (cd ox_toolkit; make)
22:
1.98 ohara 23: all-oxc: configure-oxc install-oxtoolkit
24: (cd oxc; make)
25:
1.124 takayama 26: all-asir: configure-asir install-pari
27: (cd asir2000 ; make all)
1.21 maekawa 28:
1.41 maekawa 29: all-gnuplot: configure-gnuplot
1.100 takayama 30: -(cd gnuplot ; make all)
1.32 maekawa 31:
1.124 takayama 32: all-k097: configure-k097 all-kan96xx all-kxx install-oxtags
1.52 maekawa 33: (cd k097 ; make all)
1.49 maekawa 34:
1.124 takayama 35: all-kan96xx: configure-kan96xx install-gc install-gmp install-util install-oxtags
1.47 maekawa 36: (cd kan96xx ; make all)
1.32 maekawa 37:
1.124 takayama 38: all-kxx: configure-kxx all-kan96xx install-util install-oxtags
1.52 maekawa 39: (cd kxx ; make all)
1.31 maekawa 40:
1.30 maekawa 41: all-openmath:
1.110 takayama 42: -@if ../misc/which.pl -s javac ; then \
1.60 tam 43: (cd OpenMath ; make all) ; \
1.30 maekawa 44: else \
45: echo -n "Warning: javac (java compiler) is not found " ; \
46: echo "in your search path. OpenMath will not be compiled." ; \
47: fi
48:
1.88 ohara 49: all-oxmath: configure-oxmath install-oxtoolkit
1.114 ohara 50: -@if test -d /usr/local/mathematica ; then \
1.100 takayama 51: (cd ox_math ; make) ; \
1.27 maekawa 52: else \
53: echo -n "Warning: Mathematica is not found. " ; \
54: echo "ox_math will not be compiled." ; \
1.23 maekawa 55: fi
56:
1.37 maekawa 57: all-pari: configure-pari
58: (cd pari ; make all)
1.25 maekawa 59:
1.22 maekawa 60: all-phc:
1.51 maekawa 61: (cd phc ; make all)
1.22 maekawa 62:
63: all-tigers:
1.51 maekawa 64: (cd tigers ; make all)
1.1 maekawa 65:
1.113 takayama 66: all-fep:
1.124 takayama 67: -(cd ${OpenXM_contrib2}/fep ; make all)
1.113 takayama 68:
1.102 takayama 69:
1.124 takayama 70: all-misc : install-util
1.67 takayama 71: (cd ../rc ; make repl)
1.71 takayama 72: (cd ../doc ; make all-install)
73: (cd ../doc ; make all-spec)
1.67 takayama 74:
1.104 takayama 75: all-rc:
76: (cd ../rc ; make )
1.124 takayama 77: all-util:
78: (cd util ; make all)
1.104 takayama 79:
1.124 takayama 80: install: install-oxtags install-util install-asir install-gnuplot \
81: install-k097 install-kan96xx \
1.53 maekawa 82: install-kxx install-openmath install-oxmath install-pari \
1.83 takayama 83: install-phc install-tigers install-asir-doc install-asir-contrib \
1.124 takayama 84: install-misc install-fep install-uuencoded
1.52 maekawa 85:
1.124 takayama 86: install-oxtags:
87: (cd ../doc/OpenXM-web ; make install-exec)
88:
89: install-util: all-util
90: (cd util; make install)
1.85 takayama 91:
92: install-gc : all-gc
1.124 takayama 93: (cd gc; make install)
1.85 takayama 94:
95:
96: install-gmp : all-gmp
1.124 takayama 97: (cd gmp; make install)
1.85 takayama 98:
1.52 maekawa 99: install-asir: all-asir
1.124 takayama 100: (cd asir2000 ; make install) ; \
1.52 maekawa 101:
102: install-gnuplot: all-gnuplot
1.100 takayama 103: -(cd gnuplot ; make install)
1.52 maekawa 104:
105: install-k097: all-k097
106: (cd k097 ; make install)
1.37 maekawa 107:
1.47 maekawa 108: install-kan96xx: all-kan96xx
1.57 takayama 109: (cd kan96xx ; make install)
1.47 maekawa 110:
1.52 maekawa 111: install-kxx: all-kxx
1.58 takayama 112: (cd kxx ; make install)
1.52 maekawa 113:
1.53 maekawa 114: install-openmath: all-openmath
1.110 takayama 115: -@if ../misc/which.pl -s javac ; then \
1.66 takayama 116: (cd OpenMath ; make install) ; \
117: else \
118: echo -n "Warning: javac (java compiler) is not found " ; \
119: echo "in your search path. OpenMath will not be installed." ; \
120: fi
121:
1.87 ohara 122: install-oxtoolkit: all-oxtoolkit
123: (cd ox_toolkit; make install)
1.53 maekawa 124:
1.98 ohara 125: install-oxc: all-oxc
126: (cd oxc; make install)
127:
1.124 takayama 128: install-oxmath: all-oxmath
1.114 ohara 129: -@if test -d /usr/local/mathematica ; then \
1.100 takayama 130: (cd ox_math ; make install) ; \
1.70 takayama 131: else \
132: echo -n "Warning: Mathematica is not found. " ; \
133: echo "ox_math will not be installed." ; \
134: fi
135: -(cd ox_math/documents ; make install)
136: -(cd ox_math/lib ; make install)
1.53 maekawa 137:
1.37 maekawa 138: install-pari: all-pari
1.45 maekawa 139: (cd pari ; make install)
1.51 maekawa 140:
141: install-phc: all-phc
142: (cd phc ; make install)
143:
144: install-tigers: all-tigers
145: (cd tigers ; make install)
1.37 maekawa 146:
1.124 takayama 147: install-asir-contrib: install-asir install-kxx install-util
1.59 takayama 148: (cd asir-contrib ; make install)
1.63 noro 149:
150: install-asir-doc: install-asir
1.105 takayama 151: -(cd asir-doc ; make install)
1.83 takayama 152:
153: install-misc:
154: (cd ../rc ; make install.man)
1.59 takayama 155:
1.113 takayama 156: install-fep: all-fep
1.124 takayama 157: -(cd ${OpenXM_contrib2}/fep ; make PREFIX=../../OpenXM install)
1.113 takayama 158:
1.104 takayama 159: install-rc: all-rc
160: (cd ../rc ; make install)
161:
1.124 takayama 162: install-uuencoded:
163: (cd uuencoded ; make install)
164:
1.29 maekawa 165: clean:
1.101 takayama 166: -rm ./.configure-links-done
1.124 takayama 167: -rm ${OpenXM_contrib}/gmp/.gmp_*
168: -rm ${OpenXM_contrib}/gc/.gc_*
169: -(cd ${OpenXM_contrib}/gmp ; make clean)
170: -(cd ${OpenXM_contrib}/gc ; make clean ; /bin/rm -f *.a)
171: -(cd asir2000 ; make clean)
172: -(cd gnuplot ; make clean)
173: -(cd k097 ; make clean)
174: -(cd kan96xx ; make clean)
1.77 takayama 175: -(cd kxx ; make clean)
1.124 takayama 176: -(cd OpenMath ; make clean)
1.77 takayama 177: -(cd ox_math ; make clean)
1.124 takayama 178: -(cd pari ; make clean)
179: -(cd phc ; make clean)
180: -(cd tigers ; make clean)
181: -(cd asir-doc ; make clean)
182: -(cd asir-contrib ; make clean)
183: -(cd ${OpenXM_contrib2}/fep ; make clean)
184: -(cd util ; make clean)
1.11 takayama 185:
1.39 maekawa 186: distclean: clean
1.108 takayama 187: (cd uuencoded ; make distclean)
1.124 takayama 188: -(cd ${OpenXM_contrib}/gmp ; make distclean)
189: (cd ${OpenXM_contrib}/gc ; make clean ; /bin/rm -f *.a)
1.46 maekawa 190: (cd asir2000 ; make distclean)
1.40 maekawa 191: (cd gnuplot ; make distclean)
1.36 maekawa 192: (cd kan96xx ; make distclean)
1.77 takayama 193: -(cd kxx ; make distclean)
1.60 tam 194: (cd OpenMath ; make distclean)
1.38 maekawa 195: (cd pari ; make distclean)
1.44 maekawa 196: (cd phc ; make distclean)
1.40 maekawa 197: (cd tigers ; make distclean)
1.89 ohara 198: -(cd ox_toolkit ; make distclean)
199: -(cd ox_math ; make distclean)
1.56 maekawa 200: rm -rf $(BINDIR)/d0 $(BINDIR)/k0 $(BINDIR)/ox $(BINDIR)/ox_sm1 \
1.53 maekawa 201: $(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \
202: $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp
1.11 takayama 203:
1.124 takayama 204: configure: configure-asir \
1.62 takayama 205: configure-gnuplot \
1.50 maekawa 206: configure-k097 configure-kan96xx configure-kxx configure-oxmath \
1.85 takayama 207: configure-pari configure-gmp
1.111 takayama 208:
1.124 takayama 209: configure-gmp:
210: (cd gmp; make configure)
1.101 takayama 211:
1.124 takayama 212: configure-asir:
213: (cd asir2000 ; make configure)
1.45 maekawa 214:
1.41 maekawa 215: configure-gnuplot:
1.100 takayama 216: -(cd gnuplot ; make configure)
1.48 maekawa 217:
1.124 takayama 218: configure-k097:
1.125 ! takayama 219: (cd k097 ; ./make-configure)
1.37 maekawa 220:
1.124 takayama 221: configure-kan96xx:
1.45 maekawa 222: (cd kan96xx ; make configure)
223:
1.124 takayama 224: configure-kxx:
1.77 takayama 225: ( cd kxx ; ./make-configure)
1.45 maekawa 226:
1.124 takayama 227: configure-oxtoolkit:
1.87 ohara 228: (cd ox_toolkit; ./make-configure)
1.98 ohara 229:
1.124 takayama 230: configure-oxc:
1.98 ohara 231: (cd oxc; ./make-configure)
1.45 maekawa 232:
1.124 takayama 233: configure-oxmath:
1.80 ohara 234: (cd ox_math; ./make-configure)
1.37 maekawa 235:
236: configure-pari:
1.36 maekawa 237: (cd pari ; make configure)
1.78 takayama 238:
1.79 takayama 239: generate-source-distribution : generate-source-distribution-kxx \
240: generate-source-distribution-ox_toolkit
1.78 takayama 241:
242: generate-source-distribution-kxx :
1.95 takayama 243: (cd kxx ; rm -f .configure_done Makefile )
244:
1.79 takayama 245: generate-source-distribution-ox_toolkit :
246: (cd ox_toolkit ; rm -f Makefile ; autoconf)
1.67 takayama 247:
1.68 takayama 248: clean-rc :
249: (cd $(RCDIR) ; make clean )
1.69 takayama 250: all-Copyright :
251: (cd $(COPYRIGHTDIR) ; make copy-copyright )
1.68 takayama 252:
1.82 takayama 253: post-install-correction: install
1.92 takayama 254: # I think that we no longer need post-install-correction-for-asir
255: # post-install-corrections-other
256: (cd ../rc ; make install.man)
257:
258: post-install-correction-for-asir:
1.91 takayama 259: (cd ../bin ; rm -f asir ox_asir )
260: cp ../lib/asir/asir ../bin/asir
261: (cd ../bin ; ln -s ./asir ox_asir)
262: (cd ../lib/asir ; rm -f asir ; ln -s ../../bin/asir asir)
1.74 takayama 263: (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.106 takayama 264: -(cd asir-doc ; make install-man-pages)
1.82 takayama 265:
1.93 takayama 266: install-all-asir-lib:
267: (cd asir2000 ; make install-lib-small)
268:
269: binary-dist : all-Copyright clean-rc all all-misc post-install-correction install-all-asir-lib
1.74 takayama 270:
1.103 takayama 271: ## Targets for debugging
272: install-for-debug:
273: (cd kan96xx; make install-for-debug)
274: (cd kxx; make install-for-debug)
275: (cd k097 ; make install-for-debug)
1.105 takayama 276: (cd ../bin ; rm -f asir ; ln -s ../../OpenXM_contrib2/asir2000/asir .)
1.103 takayama 277:
278:
1.102 takayama 279: ## Sub binary packages
1.105 takayama 280: ## 1: asir: asir only. target: all-asir install-asir install-asir-doc
1.62 takayama 281:
1.105 takayama 282: ## 2: kan-ox: k0 and sm1 with ox_asir. target: all-kan-ox install-kan-ox
283: configure-all-kan-ox : configure-links configure-include configure-asir \
1.102 takayama 284: configure-kan96xx configure-kxx configure-k097 \
285: configure-oxc
1.105 takayama 286: all-kan-ox: configure-all-kan-ox all-asir all-kan96xx all-kxx all-k097 all-oxc
287: install-kan-ox: all-kan-ox install-asir install-kan96xx install-kxx \
288: install-k097 install-oxc install-asir-doc \
289: post-install-kan-ox
290: post-install-kan-ox:
291: (cd ../bin ; /bin/rm -f ox_asir; ln -s ./asir ox_asir)
292:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>