Annotation of OpenXM/src/Makefile, Revision 1.131
1.131 ! takayama 1: ## $OpenXM: OpenXM/src/Makefile,v 1.130 2003/09/11 00:43:16 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.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.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:
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)
170:
1.29 maekawa 171: clean:
1.101 takayama 172: -rm ./.configure-links-done
1.124 takayama 173: -rm ${OpenXM_contrib}/gmp/.gmp_*
174: -rm ${OpenXM_contrib}/gc/.gc_*
175: -(cd ${OpenXM_contrib}/gmp ; make clean)
176: -(cd ${OpenXM_contrib}/gc ; make clean ; /bin/rm -f *.a)
177: -(cd asir2000 ; make clean)
178: -(cd gnuplot ; make clean)
179: -(cd k097 ; make clean)
180: -(cd kan96xx ; make clean)
1.77 takayama 181: -(cd kxx ; make clean)
1.124 takayama 182: -(cd OpenMath ; make clean)
1.77 takayama 183: -(cd ox_math ; make clean)
1.124 takayama 184: -(cd pari ; make clean)
185: -(cd phc ; make clean)
186: -(cd tigers ; make clean)
187: -(cd asir-doc ; make clean)
188: -(cd asir-contrib ; make clean)
189: -(cd ${OpenXM_contrib2}/fep ; make clean)
190: -(cd util ; make clean)
1.131 ! takayama 191: -(cd ox_toolkit ; make clean)
! 192: -(cd oxc ; make clean)
! 193:
1.11 takayama 194:
1.39 maekawa 195: distclean: clean
1.108 takayama 196: (cd uuencoded ; make distclean)
1.124 takayama 197: -(cd ${OpenXM_contrib}/gmp ; make distclean)
198: (cd ${OpenXM_contrib}/gc ; make clean ; /bin/rm -f *.a)
1.46 maekawa 199: (cd asir2000 ; make distclean)
1.40 maekawa 200: (cd gnuplot ; make distclean)
1.36 maekawa 201: (cd kan96xx ; make distclean)
1.77 takayama 202: -(cd kxx ; make distclean)
1.60 tam 203: (cd OpenMath ; make distclean)
1.38 maekawa 204: (cd pari ; make distclean)
1.44 maekawa 205: (cd phc ; make distclean)
1.40 maekawa 206: (cd tigers ; make distclean)
1.89 ohara 207: -(cd ox_toolkit ; make distclean)
208: -(cd ox_math ; make distclean)
1.131 ! takayama 209: -(cd oxc ; make distclean)
1.56 maekawa 210: rm -rf $(BINDIR)/d0 $(BINDIR)/k0 $(BINDIR)/ox $(BINDIR)/ox_sm1 \
1.53 maekawa 211: $(BINDIR)/oxlog $(BINDIR)/oxweave $(BINDIR)/sm1 \
212: $(LIBDIR)/k097 $(LIBDIR)/sm1 SSkan bin gc gmp
1.11 takayama 213:
1.124 takayama 214: configure: configure-asir \
1.62 takayama 215: configure-gnuplot \
1.50 maekawa 216: configure-k097 configure-kan96xx configure-kxx configure-oxmath \
1.85 takayama 217: configure-pari configure-gmp
1.111 takayama 218:
1.124 takayama 219: configure-gmp:
220: (cd gmp; make configure)
1.101 takayama 221:
1.124 takayama 222: configure-asir:
223: (cd asir2000 ; make configure)
1.45 maekawa 224:
1.41 maekawa 225: configure-gnuplot:
1.100 takayama 226: -(cd gnuplot ; make configure)
1.48 maekawa 227:
1.124 takayama 228: configure-k097:
1.125 takayama 229: (cd k097 ; ./make-configure)
1.37 maekawa 230:
1.124 takayama 231: configure-kan96xx:
1.45 maekawa 232: (cd kan96xx ; make configure)
233:
1.124 takayama 234: configure-kxx:
1.77 takayama 235: ( cd kxx ; ./make-configure)
1.45 maekawa 236:
1.124 takayama 237: configure-oxtoolkit:
1.87 ohara 238: (cd ox_toolkit; ./make-configure)
1.98 ohara 239:
1.124 takayama 240: configure-oxc:
1.98 ohara 241: (cd oxc; ./make-configure)
1.45 maekawa 242:
1.124 takayama 243: configure-oxmath:
1.129 ohara 244: -@if test -d /usr/local/mathematica ; then \
245: (cd ox_math; ./make-configure) ; \
246: else \
247: echo -n "Warning: Mathematica is not found. " ; \
248: echo "ox_math will not be compiled." ; \
249: fi
1.37 maekawa 250:
251: configure-pari:
1.36 maekawa 252: (cd pari ; make configure)
1.78 takayama 253:
1.67 takayama 254:
1.68 takayama 255: clean-rc :
256: (cd $(RCDIR) ; make clean )
1.69 takayama 257: all-Copyright :
258: (cd $(COPYRIGHTDIR) ; make copy-copyright )
1.68 takayama 259:
1.93 takayama 260: install-all-asir-lib:
261: (cd asir2000 ; make install-lib-small)
262:
1.74 takayama 263:
1.103 takayama 264: ## Targets for debugging
265: install-for-debug:
266: (cd kan96xx; make install-for-debug)
267: (cd kxx; make install-for-debug)
268: (cd k097 ; make install-for-debug)
1.105 takayama 269: (cd ../bin ; rm -f asir ; ln -s ../../OpenXM_contrib2/asir2000/asir .)
1.103 takayama 270:
1.105 takayama 271:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>