Annotation of OpenXM/src/Makefile, Revision 1.149
1.149 ! takayama 1: ## $OpenXM: OpenXM/src/Makefile,v 1.148 2004/12/16 16:19:15 ohara Exp $
1.33 maekawa 2:
1.124 takayama 3: OpenXM_HOME=..
4: OpenXM_contrib2=../../OpenXM_contrib2
1.53 maekawa 5: LIBDIR=../lib
6: BINDIR=../bin
1.147 ohara 7: DOCDIR=../doc
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.147 ohara 15: (cd gc; ${MAKE} all)
1.85 takayama 16:
17: all-gmp: configure-gmp
1.147 ohara 18: (cd gmp; ${MAKE} all)
1.26 maekawa 19:
1.144 ohara 20: all-oxtoolkit: configure-oxtoolkit install-gmp install-gc install-util install-kan96xx
1.147 ohara 21: (cd ox_toolkit; ${MAKE} all)
1.87 ohara 22:
1.130 takayama 23: all-oxc: configure-oxc install-oxtoolkit
1.147 ohara 24: (cd oxc; ${MAKE} all)
1.98 ohara 25:
1.124 takayama 26: all-asir: configure-asir install-pari
1.147 ohara 27: (cd asir2000; ${MAKE} all)
1.21 maekawa 28:
1.41 maekawa 29: all-gnuplot: configure-gnuplot
1.147 ohara 30: -(cd gnuplot; ${MAKE} all)
1.32 maekawa 31:
1.124 takayama 32: all-k097: configure-k097 all-kan96xx all-kxx install-oxtags
1.147 ohara 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.147 ohara 36: (cd kan96xx; ${MAKE} all)
1.32 maekawa 37:
1.124 takayama 38: all-kxx: configure-kxx all-kan96xx install-util install-oxtags
1.147 ohara 39: (cd kxx; ${MAKE} all)
1.31 maekawa 40:
1.30 maekawa 41: all-openmath:
1.147 ohara 42: -@if ../misc/which.pl -s javac; then \
43: (cd OpenMath; ${MAKE} all); \
1.30 maekawa 44: else \
1.147 ohara 45: echo -n "Warning: javac (java compiler) is not found "; \
46: echo "in your search path. OpenMath will not be compiled."; \
1.30 maekawa 47: fi
48:
1.130 takayama 49: all-oxmath: configure-oxmath install-oxtoolkit install-gc
1.147 ohara 50: -@if test -d /usr/local/mathematica; then \
51: (cd ox_math; ${MAKE} all); \
1.27 maekawa 52: else \
1.147 ohara 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
1.147 ohara 58: (cd pari; ${MAKE} all)
1.25 maekawa 59:
1.22 maekawa 60: all-phc:
1.147 ohara 61: (cd phc; ${MAKE} all)
1.22 maekawa 62:
63: all-tigers:
1.147 ohara 64: (cd tigers; ${MAKE} all)
1.1 maekawa 65:
1.113 takayama 66: all-fep:
1.147 ohara 67: -(cd ${OpenXM_contrib2}/fep; ${MAKE} all)
1.113 takayama 68:
1.102 takayama 69:
1.147 ohara 70: all-misc: install-util
71: (cd ${RCDIR}; ${MAKE} repl)
72: (cd ../doc; ${MAKE} all-install all-spec)
1.67 takayama 73:
1.104 takayama 74: all-rc:
1.147 ohara 75: (cd ${RCDIR}; ${MAKE})
1.138 takayama 76: all-util: configure-util
1.147 ohara 77: (cd util; ${MAKE} all)
1.104 takayama 78:
1.124 takayama 79: install: install-oxtags install-util install-asir install-gnuplot \
80: install-k097 install-kan96xx \
1.53 maekawa 81: install-kxx install-openmath install-oxmath install-pari \
1.83 takayama 82: install-phc install-tigers install-asir-doc install-asir-contrib \
1.147 ohara 83: install-misc install-fep install-uuencoded
1.52 maekawa 84:
1.124 takayama 85: install-oxtags:
1.147 ohara 86: (cd ../doc/OpenXM-web; ${MAKE} install-exec)
1.124 takayama 87:
88: install-util: all-util
1.147 ohara 89: (cd util; ${MAKE} install)
1.85 takayama 90:
1.147 ohara 91: install-gc: all-gc
92: (cd gc; ${MAKE} install)
1.85 takayama 93:
94:
1.147 ohara 95: install-gmp: all-gmp
96: (cd gmp; ${MAKE} install)
1.85 takayama 97:
1.52 maekawa 98: install-asir: all-asir
1.147 ohara 99: (cd asir2000; ${MAKE} install)
1.52 maekawa 100:
101: install-gnuplot: all-gnuplot
1.147 ohara 102: -(cd gnuplot; ${MAKE} install)
1.52 maekawa 103:
1.130 takayama 104: install-k097: install-kxx all-k097 install-oxc
1.147 ohara 105: (cd k097; ${MAKE} install)
1.37 maekawa 106:
1.47 maekawa 107: install-kan96xx: all-kan96xx
1.147 ohara 108: (cd kan96xx; ${MAKE} install)
1.47 maekawa 109:
1.52 maekawa 110: install-kxx: all-kxx
1.147 ohara 111: (cd kxx; ${MAKE} install)
1.52 maekawa 112:
1.53 maekawa 113: install-openmath: all-openmath
1.147 ohara 114: -@if ../misc/which.pl -s javac; then \
115: (cd OpenMath; ${MAKE} install); \
1.66 takayama 116: else \
1.147 ohara 117: echo -n "Warning: javac (java compiler) is not found "; \
118: echo "in your search path. OpenMath will not be installed."; \
1.66 takayama 119: fi
120:
1.87 ohara 121: install-oxtoolkit: all-oxtoolkit
1.147 ohara 122: (cd ox_toolkit; ${MAKE} install)
1.53 maekawa 123:
1.98 ohara 124: install-oxc: all-oxc
1.147 ohara 125: (cd oxc; ${MAKE} install)
1.98 ohara 126:
1.124 takayama 127: install-oxmath: all-oxmath
1.147 ohara 128: -@if test -d /usr/local/mathematica; then \
129: (cd ox_math; ${MAKE} install); \
1.70 takayama 130: else \
1.147 ohara 131: echo -n "Warning: Mathematica is not found. "; \
132: echo "ox_math will not be installed."; \
1.70 takayama 133: fi
1.147 ohara 134: -(cd ox_math/documents; ${MAKE} install)
135: -(cd ox_math/lib; ${MAKE} install)
1.53 maekawa 136:
1.37 maekawa 137: install-pari: all-pari
1.147 ohara 138: (cd pari; ${MAKE} install)
1.51 maekawa 139:
140: install-phc: all-phc
1.147 ohara 141: (cd phc; ${MAKE} install)
1.51 maekawa 142:
143: install-tigers: all-tigers
1.147 ohara 144: (cd tigers; ${MAKE} install)
1.37 maekawa 145:
1.147 ohara 146: install-asir-contrib: configure-asir-contrib install-asir install-util \
1.127 takayama 147: install-asir-contrib-oxservers
1.147 ohara 148: (cd asir-contrib; ${MAKE} install)
149:
1.127 takayama 150: install-asir-contrib-oxservers: install-asir install-util \
151: install-k097 install-kxx install-openmath install-oxmath \
152: install-phc install-tigers install-uuencoded install-gnuplot
153:
1.145 ohara 154: install-asir-doc: configure-asir-doc
1.147 ohara 155: -(cd asir-doc; ${MAKE} install)
1.83 takayama 156:
157: install-misc:
1.147 ohara 158: (cd ${RCDIR}; ${MAKE} install-man)
1.59 takayama 159:
1.113 takayama 160: install-fep: all-fep
1.147 ohara 161: -(cd ${OpenXM_contrib2}/fep; ${MAKE} PREFIX=../../OpenXM install)
1.113 takayama 162:
1.104 takayama 163: install-rc: all-rc
1.147 ohara 164: (cd ${RCDIR}; ${MAKE} install)
1.104 takayama 165:
1.124 takayama 166: install-uuencoded:
1.147 ohara 167: (cd uuencoded; ${MAKE} install)
1.134 takayama 168:
169: install-asir-port:
1.147 ohara 170: (cd asir-port; ${MAKE} install)
1.124 takayama 171:
1.29 maekawa 172: clean:
1.101 takayama 173: -rm ./.configure-links-done
1.147 ohara 174: -@for i in OpenMath asir-contrib asir-doc asir2000 gc gmp gnuplot \
175: k097 kan96xx kxx ox_math ox_toolkit oxc pari phc tigers \
176: util ${OpenXM_contrib2}/fep ; do \
1.148 ohara 177: (cd $$i; ${MAKE} clean); \
1.147 ohara 178: done
1.11 takayama 179:
1.39 maekawa 180: distclean: clean
1.147 ohara 181: -@for i in OpenMath asir2000 gc gmp gnuplot kan96xx kxx ox_math \
182: ox_toolkit oxc pari phc tigers uuencoded ; do \
1.148 ohara 183: (cd $$i; ${MAKE} distclean); \
1.147 ohara 184: done
185: -(cd ${BINDIR} && rm -f d0 k0 ox ox_sm1 oxlog oxweave sm1)
186: -(cd ${LIBDIR} && rm -rf k097 sm1)
1.11 takayama 187:
1.138 takayama 188: configure: configure-util configure-asir \
1.62 takayama 189: configure-gnuplot \
1.50 maekawa 190: configure-k097 configure-kan96xx configure-kxx configure-oxmath \
1.143 takayama 191: configure-pari configure-gmp configure-asir-doc configure-asir-contrib
1.138 takayama 192:
193: configure-util:
194: (cd util; ./make-configure)
1.111 takayama 195:
1.137 takayama 196: configure-gmp: install-util
1.147 ohara 197: (cd gmp; ${MAKE} configure)
1.101 takayama 198:
1.149 ! takayama 199: configure-asir: install-util
1.147 ohara 200: (cd asir2000; ${MAKE} configure)
1.143 takayama 201:
202: configure-asir-contrib:
1.147 ohara 203: -(cd asir-contrib; ./make-configure)
1.142 takayama 204:
205: configure-asir-doc:
1.147 ohara 206: -(cd asir-doc; ./make-configure)
1.45 maekawa 207:
1.41 maekawa 208: configure-gnuplot:
1.147 ohara 209: -(cd gnuplot; ${MAKE} configure)
1.48 maekawa 210:
1.124 takayama 211: configure-k097:
1.147 ohara 212: (cd k097; ./make-configure)
1.37 maekawa 213:
1.124 takayama 214: configure-kan96xx:
1.147 ohara 215: (cd kan96xx; ./make-configure)
1.45 maekawa 216:
1.124 takayama 217: configure-kxx:
1.147 ohara 218: (cd kxx; ./make-configure)
1.45 maekawa 219:
1.124 takayama 220: configure-oxtoolkit:
1.87 ohara 221: (cd ox_toolkit; ./make-configure)
1.98 ohara 222:
1.124 takayama 223: configure-oxc:
1.98 ohara 224: (cd oxc; ./make-configure)
1.45 maekawa 225:
1.124 takayama 226: configure-oxmath:
1.147 ohara 227: -@if test -d /usr/local/mathematica; then \
228: (cd ox_math; ./make-configure); \
1.129 ohara 229: else \
1.147 ohara 230: echo -n "Warning: Mathematica is not found. "; \
231: echo "ox_math will not be compiled."; \
1.129 ohara 232: fi
1.37 maekawa 233:
1.146 ohara 234: configure-pari: install-util
1.147 ohara 235: (cd pari; ${MAKE} configure)
1.78 takayama 236:
1.147 ohara 237: clean-rc:
238: (cd $(RCDIR); ${MAKE} clean)
1.67 takayama 239:
1.147 ohara 240: all-Copyright:
241: (cd $(COPYRIGHTDIR); ${MAKE} all)
1.68 takayama 242:
1.93 takayama 243: install-all-asir-lib:
1.147 ohara 244: (cd asir2000; ${MAKE} install-lib-small)
1.93 takayama 245:
1.135 takayama 246: install-document: install-document-kan96xx install-document-asir-contrib
247:
248: install-document-kan96xx: install-kan96xx
1.147 ohara 249: (cd kan96xx; ${MAKE} install-document)
250:
1.135 takayama 251: install-document-asir-contrib: install-asir-contrib
1.147 ohara 252: (cd asir-contrib; ${MAKE} install-document)
1.74 takayama 253:
1.103 takayama 254: ## Targets for debugging
255: install-for-debug:
1.147 ohara 256: (cd kan96xx; ${MAKE} install-for-debug)
257: (cd kxx; ${MAKE} install-for-debug)
258: (cd k097; ${MAKE} install-for-debug)
259: (cd ${BINDIR}; rm -f asir; ln -s ../../OpenXM_contrib2/asir2000/asir .)
1.148 ohara 260:
261: fetch:
262: -@for i in gc gmp gnuplot pari tigers; do \
263: (cd $$i && ${MAKE} fetch); \
264: done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>