Annotation of OpenXM/src/Makefile, Revision 1.137
1.137 ! takayama 1: ## $OpenXM: OpenXM/src/Makefile,v 1.136 2004/02/26 23:29:46 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:
1.133 takayama 14: all-gc: install-util
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.130 takayama 23: all-oxc: configure-oxc install-oxtoolkit
1.98 ohara 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.130 takayama 49: all-oxmath: configure-oxmath install-oxtoolkit install-gc
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.136 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:
1.130 takayama 105: install-k097: install-kxx all-k097 install-oxc
1.52 maekawa 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.127 takayama 147: install-asir-contrib: install-asir-contrib-asir-progs \
148: install-asir-contrib-oxservers
149: install-asir-contrib-oxservers: install-asir install-util \
150: install-k097 install-kxx install-openmath install-oxmath \
151: install-phc install-tigers install-uuencoded install-gnuplot
152: install-asir-contrib-asir-progs: install-asir install-util
1.59 takayama 153: (cd asir-contrib ; make install)
1.127 takayama 154:
1.63 noro 155:
156: install-asir-doc: install-asir
1.105 takayama 157: -(cd asir-doc ; make install)
1.83 takayama 158:
159: install-misc:
160: (cd ../rc ; make install.man)
1.59 takayama 161:
1.113 takayama 162: install-fep: all-fep
1.124 takayama 163: -(cd ${OpenXM_contrib2}/fep ; make PREFIX=../../OpenXM install)
1.113 takayama 164:
1.104 takayama 165: install-rc: all-rc
166: (cd ../rc ; make install)
167:
1.124 takayama 168: install-uuencoded:
169: (cd uuencoded ; make install)
1.134 takayama 170:
171: install-asir-port:
172: (cd asir-port ; make install)
1.124 takayama 173:
1.29 maekawa 174: clean:
1.101 takayama 175: -rm ./.configure-links-done
1.124 takayama 176: -rm ${OpenXM_contrib}/gmp/.gmp_*
177: -rm ${OpenXM_contrib}/gc/.gc_*
1.132 takayama 178: -(cd gmp ; make clean)
179: -(cd gc ; make clean ; /bin/rm -f *.a)
1.124 takayama 180: -(cd asir2000 ; make clean)
181: -(cd gnuplot ; make clean)
182: -(cd k097 ; make clean)
183: -(cd kan96xx ; make clean)
1.77 takayama 184: -(cd kxx ; make clean)
1.124 takayama 185: -(cd OpenMath ; make clean)
1.77 takayama 186: -(cd ox_math ; make clean)
1.124 takayama 187: -(cd pari ; make clean)
188: -(cd phc ; make clean)
189: -(cd tigers ; make clean)
190: -(cd asir-doc ; make clean)
191: -(cd asir-contrib ; make clean)
192: -(cd ${OpenXM_contrib2}/fep ; make clean)
193: -(cd util ; make clean)
1.131 takayama 194: -(cd ox_toolkit ; make clean)
195: -(cd oxc ; make clean)
196:
1.11 takayama 197:
1.39 maekawa 198: distclean: clean
1.108 takayama 199: (cd uuencoded ; make distclean)
1.132 takayama 200: -(cd gmp ; make distclean)
201: -(cd gc ; make distclean ; /bin/rm -f *.a)
1.46 maekawa 202: (cd asir2000 ; make distclean)
1.40 maekawa 203: (cd gnuplot ; make distclean)
1.36 maekawa 204: (cd kan96xx ; make distclean)
1.77 takayama 205: -(cd kxx ; make distclean)
1.60 tam 206: (cd OpenMath ; make distclean)
1.38 maekawa 207: (cd pari ; make distclean)
1.44 maekawa 208: (cd phc ; make distclean)
1.40 maekawa 209: (cd tigers ; make distclean)
1.89 ohara 210: -(cd ox_toolkit ; make distclean)
211: -(cd ox_math ; make distclean)
1.131 takayama 212: -(cd oxc ; make distclean)
1.56 maekawa 213: rm -rf $(BINDIR)/d0 $(BINDIR)/k0 $(BINDIR)/ox $(BINDIR)/ox_sm1 \
1.53 maekawa 214: $(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \
1.132 takayama 215: $(LIBDIR)/k097 $(LIBDIR)/sm1
1.11 takayama 216:
1.124 takayama 217: configure: configure-asir \
1.62 takayama 218: configure-gnuplot \
1.50 maekawa 219: configure-k097 configure-kan96xx configure-kxx configure-oxmath \
1.85 takayama 220: configure-pari configure-gmp
1.111 takayama 221:
1.137 ! takayama 222: configure-gmp: install-util
1.124 takayama 223: (cd gmp; make configure)
1.101 takayama 224:
1.124 takayama 225: configure-asir:
226: (cd asir2000 ; make configure)
1.45 maekawa 227:
1.41 maekawa 228: configure-gnuplot:
1.100 takayama 229: -(cd gnuplot ; make configure)
1.48 maekawa 230:
1.124 takayama 231: configure-k097:
1.125 takayama 232: (cd k097 ; ./make-configure)
1.37 maekawa 233:
1.124 takayama 234: configure-kan96xx:
1.45 maekawa 235: (cd kan96xx ; make configure)
236:
1.124 takayama 237: configure-kxx:
1.77 takayama 238: ( cd kxx ; ./make-configure)
1.45 maekawa 239:
1.124 takayama 240: configure-oxtoolkit:
1.87 ohara 241: (cd ox_toolkit; ./make-configure)
1.98 ohara 242:
1.124 takayama 243: configure-oxc:
1.98 ohara 244: (cd oxc; ./make-configure)
1.45 maekawa 245:
1.124 takayama 246: configure-oxmath:
1.129 ohara 247: -@if test -d /usr/local/mathematica ; then \
248: (cd ox_math; ./make-configure) ; \
249: else \
250: echo -n "Warning: Mathematica is not found. " ; \
251: echo "ox_math will not be compiled." ; \
252: fi
1.37 maekawa 253:
254: configure-pari:
1.36 maekawa 255: (cd pari ; make configure)
1.78 takayama 256:
1.67 takayama 257:
1.68 takayama 258: clean-rc :
259: (cd $(RCDIR) ; make clean )
1.69 takayama 260: all-Copyright :
261: (cd $(COPYRIGHTDIR) ; make copy-copyright )
1.68 takayama 262:
1.93 takayama 263: install-all-asir-lib:
264: (cd asir2000 ; make install-lib-small)
265:
1.135 takayama 266: install-document: install-document-kan96xx install-document-asir-contrib
267:
268: install-document-kan96xx: install-kan96xx
269: (cd kan96xx ; make install-document)
270: install-document-asir-contrib: install-asir-contrib
271: (cd asir-contrib; make install-document)
1.74 takayama 272:
1.103 takayama 273: ## Targets for debugging
274: install-for-debug:
275: (cd kan96xx; make install-for-debug)
276: (cd kxx; make install-for-debug)
277: (cd k097 ; make install-for-debug)
1.105 takayama 278: (cd ../bin ; rm -f asir ; ln -s ../../OpenXM_contrib2/asir2000/asir .)
1.103 takayama 279:
1.105 takayama 280:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>