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