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

Annotation of OpenXM/src/Makefile, Revision 1.168

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

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