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

Annotation of OpenXM/src/Makefile, Revision 1.177

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>