Annotation of OpenXM/src/Makefile, Revision 1.181
1.181 ! noro 1: ## $OpenXM: OpenXM/src/Makefile,v 1.180 2019/03/27 05:02:31 noro 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.170 takayama 9: SHAREDIR=../share
1.69 takayama 10: COPYRIGHTDIR=../Copyright
1.53 maekawa 11:
1.181 ! noro 12: all: all-util all-gc all-gmp all-mpfr all-mpc all-asir all-asir2000 all-gnuplot all-k097 all-kan96xx \
1.155 takayama 13: all-kxx all-pari all-phc all-openmath all-oxmath all-tigers all-fep all-phcpack all-oxcdd \
1.164 noro 14: all-oxmgraph all-pcc all-oxpari
1.85 takayama 15:
1.133 takayama 16: all-gc: install-util
1.147 ohara 17: (cd gc; ${MAKE} all)
1.85 takayama 18:
19: all-gmp: configure-gmp
1.147 ohara 20: (cd gmp; ${MAKE} all)
1.26 maekawa 21:
1.165 noro 22: all-mpfr: configure-mpfr
23: (cd mpfr; ${MAKE} all)
24:
1.166 noro 25: all-mpc: configure-mpc
26: (cd mpc; ${MAKE} all)
27:
1.177 takayama 28: all-oxtoolkit: configure-oxtoolkit install-gmp install-mpfr install-mpc install-gc install-util install-oxtags
1.147 ohara 29: (cd ox_toolkit; ${MAKE} all)
1.87 ohara 30:
1.130 takayama 31: all-oxc: configure-oxc install-oxtoolkit
1.172 takayama 32: -(cd oxc; ${MAKE} all)
1.98 ohara 33:
1.166 noro 34: all-asir: configure-asir install-pari install-gmp install-mpfr install-mpc
1.179 ohara 35: (cd asir2018; ${MAKE} all)
36:
37: all-asir2000: configure-asir2000 install-pari install-gmp install-mpfr install-mpc
1.147 ohara 38: (cd asir2000; ${MAKE} all)
1.21 maekawa 39:
1.41 maekawa 40: all-gnuplot: configure-gnuplot
1.147 ohara 41: -(cd gnuplot; ${MAKE} all)
1.32 maekawa 42:
1.124 takayama 43: all-k097: configure-k097 all-kan96xx all-kxx install-oxtags
1.147 ohara 44: (cd k097; ${MAKE} all)
1.49 maekawa 45:
1.168 takayama 46: all-kan96xx: configure-kan96xx install-gc install-gmp install-util install-oxtags
1.147 ohara 47: (cd kan96xx; ${MAKE} all)
1.32 maekawa 48:
1.124 takayama 49: all-kxx: configure-kxx all-kan96xx install-util install-oxtags
1.147 ohara 50: (cd kxx; ${MAKE} all)
1.31 maekawa 51:
1.30 maekawa 52: all-openmath:
1.147 ohara 53: -@if ../misc/which.pl -s javac; then \
54: (cd OpenMath; ${MAKE} all); \
1.30 maekawa 55: else \
1.147 ohara 56: echo -n "Warning: javac (java compiler) is not found "; \
57: echo "in your search path. OpenMath will not be compiled."; \
1.30 maekawa 58: fi
59:
1.130 takayama 60: all-oxmath: configure-oxmath install-oxtoolkit install-gc
1.147 ohara 61: -@if test -d /usr/local/mathematica; then \
62: (cd ox_math; ${MAKE} all); \
1.27 maekawa 63: else \
1.147 ohara 64: echo -n "Warning: Mathematica is not found. "; \
65: echo "ox_math will not be compiled."; \
1.23 maekawa 66: fi
67:
1.37 maekawa 68: all-pari: configure-pari
1.178 ohara 69: (cd pari; ${MAKE} PERL_USE_UNSAFE_INC=1 all)
1.25 maekawa 70:
1.22 maekawa 71: all-phc:
1.147 ohara 72: (cd phc; ${MAKE} all)
1.22 maekawa 73:
1.150 ohara 74: all-phcpack:
1.151 ohara 75: -@if ../misc/which.pl -s gnatmake; then \
1.150 ohara 76: (cd phcpack; ${MAKE} all) ; \
77: fi
78:
1.22 maekawa 79: all-tigers:
1.147 ohara 80: (cd tigers; ${MAKE} all)
1.1 maekawa 81:
1.113 takayama 82: all-fep:
1.147 ohara 83: -(cd ${OpenXM_contrib2}/fep; ${MAKE} all)
1.113 takayama 84:
1.102 takayama 85:
1.147 ohara 86: all-misc: install-util
87: (cd ${RCDIR}; ${MAKE} repl)
88: (cd ../doc; ${MAKE} all-install all-spec)
1.67 takayama 89:
1.104 takayama 90: all-rc:
1.147 ohara 91: (cd ${RCDIR}; ${MAKE})
1.157 ohara 92:
93: all-util: all-util-bin all-util-lib
94:
95: all-util-bin: configure-util
96: (cd util; ${MAKE} all-bin)
97:
98: all-util-lib: configure-util
99: (cd util; ${MAKE} all-lib)
1.104 takayama 100:
1.152 noro 101: all-oxcdd: install-oxtoolkit
1.153 noro 102: -(cd ox_cdd; ${MAKE} all)
1.164 noro 103:
1.173 ohara 104: all-oxpari: configure-oxpari
1.164 noro 105: -(cd ox_pari; ${MAKE} all)
106:
1.155 takayama 107: all-oxmgraph: configure-oxmgraph
108: -(cd oxmgraph; ${MAKE} all)
1.161 takayama 109: all-pcc: configure-pcc
110: -(cd pcc; ${MAKE} all)
1.152 noro 111:
1.156 ohara 112: all-document-asir-contrib: configure-document-asir-contrib
113: (cd asir-contrib/packages/doc; ${MAKE} all)
114:
1.180 noro 115: install: install-oxtags install-util install-asir install-asir2000 install-gnuplot \
1.124 takayama 116: install-k097 install-kan96xx \
1.53 maekawa 117: install-kxx install-openmath install-oxmath install-pari \
1.83 takayama 118: install-phc install-tigers install-asir-doc install-asir-contrib \
1.155 takayama 119: install-misc install-fep install-phcpack install-oxcdd \
1.170 takayama 120: install-oxmgraph install-pcc install-oxpari \
121: install-asir-mode
1.52 maekawa 122:
1.124 takayama 123: install-oxtags:
1.147 ohara 124: (cd ../doc/OpenXM-web; ${MAKE} install-exec)
1.124 takayama 125:
1.157 ohara 126: install-util-bin: all-util-bin
127: (cd util; ${MAKE} install-bin)
128:
129: install-util-lib: all-util-lib
130: (cd util; ${MAKE} install-lib)
131:
132: install-util: install-util-bin install-util-lib
1.85 takayama 133:
1.147 ohara 134: install-gc: all-gc
135: (cd gc; ${MAKE} install)
1.85 takayama 136:
137:
1.147 ohara 138: install-gmp: all-gmp
139: (cd gmp; ${MAKE} install)
1.85 takayama 140:
1.165 noro 141: install-mpfr: all-mpfr
142: (cd mpfr; ${MAKE} install)
143:
1.166 noro 144: install-mpc: all-mpc
145: (cd mpc; ${MAKE} install)
146:
1.52 maekawa 147: install-asir: all-asir
1.179 ohara 148: -(cd asir2018; ${MAKE} install)
149:
150: install-asir2000: all-asir2000
1.172 takayama 151: -(cd asir2000; ${MAKE} install)
1.52 maekawa 152:
153: install-gnuplot: all-gnuplot
1.147 ohara 154: -(cd gnuplot; ${MAKE} install)
1.52 maekawa 155:
1.130 takayama 156: install-k097: install-kxx all-k097 install-oxc
1.147 ohara 157: (cd k097; ${MAKE} install)
1.37 maekawa 158:
1.47 maekawa 159: install-kan96xx: all-kan96xx
1.147 ohara 160: (cd kan96xx; ${MAKE} install)
1.47 maekawa 161:
1.52 maekawa 162: install-kxx: all-kxx
1.147 ohara 163: (cd kxx; ${MAKE} install)
1.52 maekawa 164:
1.53 maekawa 165: install-openmath: all-openmath
1.147 ohara 166: -@if ../misc/which.pl -s javac; then \
167: (cd OpenMath; ${MAKE} install); \
1.66 takayama 168: else \
1.147 ohara 169: echo -n "Warning: javac (java compiler) is not found "; \
170: echo "in your search path. OpenMath will not be installed."; \
1.66 takayama 171: fi
172:
1.87 ohara 173: install-oxtoolkit: all-oxtoolkit
1.147 ohara 174: (cd ox_toolkit; ${MAKE} install)
1.53 maekawa 175:
1.98 ohara 176: install-oxc: all-oxc
1.172 takayama 177: -(cd oxc; ${MAKE} install)
1.98 ohara 178:
1.124 takayama 179: install-oxmath: all-oxmath
1.147 ohara 180: -@if test -d /usr/local/mathematica; then \
181: (cd ox_math; ${MAKE} install); \
1.70 takayama 182: else \
1.147 ohara 183: echo -n "Warning: Mathematica is not found. "; \
184: echo "ox_math will not be installed."; \
1.70 takayama 185: fi
1.147 ohara 186: -(cd ox_math/documents; ${MAKE} install)
187: -(cd ox_math/lib; ${MAKE} install)
1.53 maekawa 188:
1.37 maekawa 189: install-pari: all-pari
1.147 ohara 190: (cd pari; ${MAKE} install)
1.51 maekawa 191:
192: install-phc: all-phc
1.147 ohara 193: (cd phc; ${MAKE} install)
1.51 maekawa 194:
1.150 ohara 195: install-phcpack: all-phcpack
1.151 ohara 196: -@if ../misc/which.pl gnatmake; then \
1.150 ohara 197: (cd phcpack; ${MAKE} install) ; \
198: fi
199:
1.51 maekawa 200: install-tigers: all-tigers
1.147 ohara 201: (cd tigers; ${MAKE} install)
1.37 maekawa 202:
1.147 ohara 203: install-asir-contrib: configure-asir-contrib install-asir install-util \
1.127 takayama 204: install-asir-contrib-oxservers
1.147 ohara 205: (cd asir-contrib; ${MAKE} install)
206:
1.127 takayama 207: install-asir-contrib-oxservers: install-asir install-util \
208: install-k097 install-kxx install-openmath install-oxmath \
1.150 ohara 209: install-phc install-tigers install-gnuplot
1.127 takayama 210:
1.145 ohara 211: install-asir-doc: configure-asir-doc
1.147 ohara 212: -(cd asir-doc; ${MAKE} install)
1.83 takayama 213:
214: install-misc:
1.147 ohara 215: (cd ${RCDIR}; ${MAKE} install-man)
1.59 takayama 216:
1.113 takayama 217: install-fep: all-fep
1.147 ohara 218: -(cd ${OpenXM_contrib2}/fep; ${MAKE} PREFIX=../../OpenXM install)
1.113 takayama 219:
1.104 takayama 220: install-rc: all-rc
1.147 ohara 221: (cd ${RCDIR}; ${MAKE} install)
1.104 takayama 222:
1.134 takayama 223: install-asir-port:
1.147 ohara 224: (cd asir-port; ${MAKE} install)
1.124 takayama 225:
1.152 noro 226: install-oxcdd: all-oxcdd
1.153 noro 227: -(cd ox_cdd; ${MAKE} install)
1.152 noro 228:
1.164 noro 229: install-oxpari: all-oxpari
230: -(cd ox_pari; ${MAKE} install)
231:
1.155 takayama 232: install-oxmgraph: all-oxmgraph
233: -(cd oxmgraph; ${MAKE} install)
234:
1.161 takayama 235: install-pcc: all-pcc
236: -(cd pcc; ${MAKE} install)
1.160 takayama 237:
1.170 takayama 238: install-asir-mode:
239: -(cd asir-mode; ${MAKE} install)
240:
1.29 maekawa 241: clean:
1.101 takayama 242: -rm ./.configure-links-done
1.147 ohara 243: -@for i in OpenMath asir-contrib asir-doc asir2000 gc gmp gnuplot \
1.150 ohara 244: k097 kan96xx kxx ox_math ox_toolkit oxc pari phc phcpack tigers \
1.171 takayama 245: oxmgraph pcc mpfr \
1.147 ohara 246: util ${OpenXM_contrib2}/fep ; do \
1.148 ohara 247: (cd $$i; ${MAKE} clean); \
1.147 ohara 248: done
1.11 takayama 249:
1.39 maekawa 250: distclean: clean
1.147 ohara 251: -@for i in OpenMath asir2000 gc gmp gnuplot kan96xx kxx ox_math \
1.162 takayama 252: ox_toolkit oxc pari phc phcpack tigers oxmgraph pcc \
253: asir-doc k097 ox_cdd util; do \
1.148 ohara 254: (cd $$i; ${MAKE} distclean); \
1.147 ohara 255: done
256: -(cd ${BINDIR} && rm -f d0 k0 ox ox_sm1 oxlog oxweave sm1)
257: -(cd ${LIBDIR} && rm -rf k097 sm1)
1.11 takayama 258:
1.138 takayama 259: configure: configure-util configure-asir \
1.62 takayama 260: configure-gnuplot \
1.50 maekawa 261: configure-k097 configure-kan96xx configure-kxx configure-oxmath \
1.155 takayama 262: configure-pari configure-gmp configure-asir-doc configure-asir-contrib \
1.161 takayama 263: configure-oxmgraph configure-pcc
1.174 takayama 264: configure-static: configure
265: make configure-asir-static
266: make configure-oxpari-static
1.175 takayama 267: make configure-oxc-static
1.138 takayama 268:
269: configure-util:
270: (cd util; ./make-configure)
1.111 takayama 271:
1.137 takayama 272: configure-gmp: install-util
1.147 ohara 273: (cd gmp; ${MAKE} configure)
1.101 takayama 274:
1.168 takayama 275: configure-mpfr: install-util install-gmp
1.165 noro 276: (cd mpfr; ${MAKE} configure)
277:
1.167 takayama 278: configure-mpc: install-util install-gmp install-mpfr
1.166 noro 279: (cd mpc; ${MAKE} configure)
280:
1.149 takayama 281: configure-asir: install-util
1.179 ohara 282: (cd asir2018; ${MAKE} configure)
283:
284: configure-asir2000: install-util
1.147 ohara 285: (cd asir2000; ${MAKE} configure)
1.179 ohara 286:
1.174 takayama 287: configure-asir-static: install-util
1.179 ohara 288: (cd asir2018; rm -f .configure_done; ${MAKE} configure-static)
1.143 takayama 289:
290: configure-asir-contrib:
1.147 ohara 291: -(cd asir-contrib; ./make-configure)
1.142 takayama 292:
293: configure-asir-doc:
1.147 ohara 294: -(cd asir-doc; ./make-configure)
1.45 maekawa 295:
1.41 maekawa 296: configure-gnuplot:
1.147 ohara 297: -(cd gnuplot; ${MAKE} configure)
1.48 maekawa 298:
1.124 takayama 299: configure-k097:
1.147 ohara 300: (cd k097; ./make-configure)
1.37 maekawa 301:
1.124 takayama 302: configure-kan96xx:
1.147 ohara 303: (cd kan96xx; ./make-configure)
1.45 maekawa 304:
1.124 takayama 305: configure-kxx:
1.147 ohara 306: (cd kxx; ./make-configure)
1.45 maekawa 307:
1.124 takayama 308: configure-oxtoolkit:
1.87 ohara 309: (cd ox_toolkit; ./make-configure)
1.98 ohara 310:
1.173 ohara 311: configure-oxpari: install-oxtoolkit install-pari
312: (cd ox_pari; ./make-configure)
1.174 takayama 313: configure-oxpari-static: install-oxtoolkit install-pari
314: (cd ox_pari; rm -f .configure_done ; ./make-configure --disable-shared)
1.173 ohara 315:
1.124 takayama 316: configure-oxc:
1.98 ohara 317: (cd oxc; ./make-configure)
1.175 takayama 318: configure-oxc-static:
319: (cd oxc; rm -f .configure_done ; ./make-configure --disable-shared)
1.45 maekawa 320:
1.124 takayama 321: configure-oxmath:
1.147 ohara 322: -@if test -d /usr/local/mathematica; then \
323: (cd ox_math; ./make-configure); \
1.129 ohara 324: else \
1.147 ohara 325: echo -n "Warning: Mathematica is not found. "; \
326: echo "ox_math will not be compiled."; \
1.129 ohara 327: fi
1.37 maekawa 328:
1.146 ohara 329: configure-pari: install-util
1.147 ohara 330: (cd pari; ${MAKE} configure)
1.78 takayama 331:
1.155 takayama 332: configure-oxmgraph:
333: -(cd oxmgraph; ./make-configure)
334:
1.161 takayama 335: configure-pcc:
336: -(cd pcc; ${MAKE} configure)
1.160 takayama 337:
1.157 ohara 338: configure-document-asir-contrib: install-util-bin install-asir-doc
1.156 ohara 339: (cd asir-contrib/packages/doc; ./make-configure)
340:
1.147 ohara 341: clean-rc:
342: (cd $(RCDIR); ${MAKE} clean)
1.67 takayama 343:
1.147 ohara 344: all-Copyright:
345: (cd $(COPYRIGHTDIR); ${MAKE} all)
1.68 takayama 346:
1.135 takayama 347: install-document: install-document-kan96xx install-document-asir-contrib
348:
349: install-document-kan96xx: install-kan96xx
1.147 ohara 350: (cd kan96xx; ${MAKE} install-document)
351:
1.156 ohara 352: install-document-asir-contrib: all-document-asir-contrib
1.159 takayama 353: (cd asir-contrib/packages/doc; ${MAKE} install ; ${MAKE} install-document)
1.103 takayama 354: ## Targets for debugging
355: install-for-debug:
1.147 ohara 356: (cd kan96xx; ${MAKE} install-for-debug)
357: (cd kxx; ${MAKE} install-for-debug)
358: (cd k097; ${MAKE} install-for-debug)
359: (cd ${BINDIR}; rm -f asir; ln -s ../../OpenXM_contrib2/asir2000/asir .)
1.176 takayama 360: (cd ${BINDIR}; rm -f ox_pari; ln -s ../../OpenXM/src/ox_pari/ox_pari .)
1.148 ohara 361:
362: fetch:
363: -@for i in gc gmp gnuplot pari tigers; do \
364: (cd $$i && ${MAKE} fetch); \
365: done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>