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