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

Annotation of OpenXM/src/Makefile, Revision 1.156

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

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