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

Annotation of OpenXM/src/Makefile, Revision 1.154

1.154   ! ohara       1: ## $OpenXM: OpenXM/src/Makefile,v 1.153 2007/03/18 04:52:38 noro 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.152     noro       12:      all-kxx all-pari all-phc all-openmath all-oxmath all-tigers all-fep all-phcpack all-oxcdd
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:
1.151     ohara      64:        -@if ../misc/which.pl -s gnatmake; then \
1.150     ohara      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.152     noro       84: all-oxcdd: install-oxtoolkit
1.153     noro       85:        -(cd ox_cdd; ${MAKE} all)
1.152     noro       86:
1.124     takayama   87: install: install-oxtags install-util install-asir install-gnuplot \
                     88:         install-k097 install-kan96xx \
1.53      maekawa    89:         install-kxx install-openmath install-oxmath install-pari \
1.83      takayama   90:         install-phc install-tigers install-asir-doc install-asir-contrib \
1.152     noro       91:         install-misc install-fep install-phcpack install-oxcdd
1.52      maekawa    92:
1.124     takayama   93: install-oxtags:
1.147     ohara      94:        (cd ../doc/OpenXM-web; ${MAKE} install-exec)
1.124     takayama   95:
                     96: install-util: all-util
1.147     ohara      97:        (cd util; ${MAKE} install)
1.85      takayama   98:
1.147     ohara      99: install-gc: all-gc
                    100:        (cd gc; ${MAKE} install)
1.85      takayama  101:
                    102:
1.147     ohara     103: install-gmp: all-gmp
                    104:        (cd gmp; ${MAKE} install)
1.85      takayama  105:
1.52      maekawa   106: install-asir: all-asir
1.147     ohara     107:        (cd asir2000; ${MAKE} install)
1.52      maekawa   108:
                    109: install-gnuplot: all-gnuplot
1.147     ohara     110:        -(cd gnuplot; ${MAKE} install)
1.52      maekawa   111:
1.130     takayama  112: install-k097:  install-kxx all-k097 install-oxc
1.147     ohara     113:        (cd k097; ${MAKE} install)
1.37      maekawa   114:
1.47      maekawa   115: install-kan96xx: all-kan96xx
1.147     ohara     116:        (cd kan96xx; ${MAKE} install)
1.47      maekawa   117:
1.52      maekawa   118: install-kxx: all-kxx
1.147     ohara     119:        (cd kxx; ${MAKE} install)
1.52      maekawa   120:
1.53      maekawa   121: install-openmath: all-openmath
1.147     ohara     122:        -@if ../misc/which.pl -s javac; then \
                    123:                (cd OpenMath; ${MAKE} install); \
1.66      takayama  124:        else \
1.147     ohara     125:                echo -n "Warning: javac (java compiler) is not found "; \
                    126:                echo "in your search path. OpenMath will not be installed."; \
1.66      takayama  127:        fi
                    128:
1.87      ohara     129: install-oxtoolkit: all-oxtoolkit
1.147     ohara     130:        (cd ox_toolkit; ${MAKE} install)
1.53      maekawa   131:
1.98      ohara     132: install-oxc: all-oxc
1.147     ohara     133:        (cd oxc; ${MAKE} install)
1.98      ohara     134:
1.124     takayama  135: install-oxmath: all-oxmath
1.147     ohara     136:        -@if test -d /usr/local/mathematica; then \
                    137:                (cd ox_math; ${MAKE} install); \
1.70      takayama  138:        else \
1.147     ohara     139:                echo -n "Warning: Mathematica is not found. "; \
                    140:                echo "ox_math will not be installed."; \
1.70      takayama  141:        fi
1.147     ohara     142:        -(cd ox_math/documents; ${MAKE} install)
                    143:        -(cd ox_math/lib; ${MAKE} install)
1.53      maekawa   144:
1.37      maekawa   145: install-pari: all-pari
1.147     ohara     146:        (cd pari; ${MAKE} install)
1.51      maekawa   147:
                    148: install-phc: all-phc
1.147     ohara     149:        (cd phc; ${MAKE} install)
1.51      maekawa   150:
1.150     ohara     151: install-phcpack: all-phcpack
1.151     ohara     152:        -@if ../misc/which.pl gnatmake; then \
1.150     ohara     153:                (cd phcpack; ${MAKE} install) ; \
                    154:        fi
                    155:
1.51      maekawa   156: install-tigers: all-tigers
1.147     ohara     157:        (cd tigers; ${MAKE} install)
1.37      maekawa   158:
1.147     ohara     159: install-asir-contrib: configure-asir-contrib install-asir install-util \
1.127     takayama  160:                       install-asir-contrib-oxservers
1.147     ohara     161:        (cd asir-contrib; ${MAKE} install)
                    162:
1.127     takayama  163: install-asir-contrib-oxservers: install-asir install-util \
                    164:                 install-k097 install-kxx install-openmath install-oxmath \
1.150     ohara     165:                 install-phc install-tigers install-gnuplot
1.127     takayama  166:
1.145     ohara     167: install-asir-doc: configure-asir-doc
1.147     ohara     168:        -(cd asir-doc; ${MAKE} install)
1.83      takayama  169:
                    170: install-misc:
1.147     ohara     171:        (cd ${RCDIR}; ${MAKE} install-man)
1.59      takayama  172:
1.113     takayama  173: install-fep: all-fep
1.147     ohara     174:        -(cd ${OpenXM_contrib2}/fep; ${MAKE} PREFIX=../../OpenXM install)
1.113     takayama  175:
1.104     takayama  176: install-rc: all-rc
1.147     ohara     177:        (cd ${RCDIR}; ${MAKE} install)
1.104     takayama  178:
1.134     takayama  179: install-asir-port:
1.147     ohara     180:        (cd asir-port; ${MAKE} install)
1.124     takayama  181:
1.152     noro      182: install-oxcdd: all-oxcdd
1.153     noro      183:        -(cd ox_cdd; ${MAKE} install)
1.152     noro      184:
1.29      maekawa   185: clean:
1.101     takayama  186:        -rm ./.configure-links-done
1.147     ohara     187:        -@for i in OpenMath asir-contrib asir-doc asir2000 gc gmp gnuplot \
1.150     ohara     188:                   k097 kan96xx kxx ox_math ox_toolkit oxc pari phc phcpack tigers \
1.147     ohara     189:                   util ${OpenXM_contrib2}/fep ; do \
1.148     ohara     190:                (cd $$i; ${MAKE} clean); \
1.147     ohara     191:        done
1.11      takayama  192:
1.39      maekawa   193: distclean: clean
1.147     ohara     194:        -@for i in OpenMath asir2000 gc gmp gnuplot kan96xx kxx ox_math \
1.150     ohara     195:                   ox_toolkit oxc pari phc phcpack tigers ; do \
1.148     ohara     196:                (cd $$i; ${MAKE} distclean); \
1.147     ohara     197:        done
                    198:        -(cd ${BINDIR} && rm -f  d0 k0 ox ox_sm1 oxlog oxweave sm1)
                    199:        -(cd ${LIBDIR} && rm -rf k097 sm1)
1.11      takayama  200:
1.138     takayama  201: configure: configure-util configure-asir \
1.62      takayama  202:           configure-gnuplot \
1.50      maekawa   203:           configure-k097 configure-kan96xx configure-kxx configure-oxmath \
1.143     takayama  204:           configure-pari configure-gmp configure-asir-doc configure-asir-contrib
1.138     takayama  205:
                    206: configure-util:
                    207:        (cd util; ./make-configure)
1.111     takayama  208:
1.137     takayama  209: configure-gmp: install-util
1.147     ohara     210:        (cd gmp; ${MAKE} configure)
1.101     takayama  211:
1.149     takayama  212: configure-asir: install-util
1.147     ohara     213:        (cd asir2000; ${MAKE} configure)
1.143     takayama  214:
                    215: configure-asir-contrib:
1.147     ohara     216:        -(cd asir-contrib; ./make-configure)
1.142     takayama  217:
                    218: configure-asir-doc:
1.147     ohara     219:        -(cd asir-doc; ./make-configure)
1.45      maekawa   220:
1.41      maekawa   221: configure-gnuplot:
1.147     ohara     222:        -(cd gnuplot; ${MAKE} configure)
1.48      maekawa   223:
1.124     takayama  224: configure-k097:
1.147     ohara     225:        (cd k097; ./make-configure)
1.37      maekawa   226:
1.124     takayama  227: configure-kan96xx:
1.147     ohara     228:        (cd kan96xx; ./make-configure)
1.45      maekawa   229:
1.124     takayama  230: configure-kxx:
1.147     ohara     231:        (cd kxx; ./make-configure)
1.45      maekawa   232:
1.124     takayama  233: configure-oxtoolkit:
1.87      ohara     234:        (cd ox_toolkit; ./make-configure)
1.98      ohara     235:
1.124     takayama  236: configure-oxc:
1.98      ohara     237:        (cd oxc; ./make-configure)
1.45      maekawa   238:
1.124     takayama  239: configure-oxmath:
1.147     ohara     240:        -@if test -d /usr/local/mathematica; then \
                    241:                (cd ox_math; ./make-configure); \
1.129     ohara     242:        else \
1.147     ohara     243:                echo -n "Warning: Mathematica is not found. "; \
                    244:                echo "ox_math will not be compiled."; \
1.129     ohara     245:        fi
1.37      maekawa   246:
1.146     ohara     247: configure-pari: install-util
1.147     ohara     248:        (cd pari; ${MAKE} configure)
1.78      takayama  249:
1.147     ohara     250: clean-rc:
                    251:        (cd $(RCDIR); ${MAKE} clean)
1.67      takayama  252:
1.147     ohara     253: all-Copyright:
                    254:        (cd $(COPYRIGHTDIR); ${MAKE} all)
1.68      takayama  255:
1.135     takayama  256: install-document: install-document-kan96xx install-document-asir-contrib
                    257:
                    258: install-document-kan96xx: install-kan96xx
1.147     ohara     259:        (cd kan96xx; ${MAKE} install-document)
                    260:
1.135     takayama  261: install-document-asir-contrib: install-asir-contrib
1.147     ohara     262:        (cd asir-contrib; ${MAKE} install-document)
1.74      takayama  263:
1.103     takayama  264: ## Targets for debugging
                    265: install-for-debug:
1.147     ohara     266:        (cd kan96xx; ${MAKE} install-for-debug)
                    267:        (cd kxx; ${MAKE} install-for-debug)
                    268:        (cd k097; ${MAKE} install-for-debug)
                    269:        (cd ${BINDIR}; rm -f asir; ln -s ../../OpenXM_contrib2/asir2000/asir .)
1.148     ohara     270:
                    271: fetch:
                    272:        -@for i in gc gmp gnuplot pari tigers; do \
                    273:                (cd $$i && ${MAKE} fetch); \
                    274:        done

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