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

Annotation of OpenXM/src/Makefile, Revision 1.150

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

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