[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src

Annotation of OpenXM/src/Makefile, Revision 1.188

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