version 1.147, 2004/12/14 17:11:25 |
version 1.156, 2009/02/21 22:12:30 |
|
|
## $OpenXM: OpenXM/src/Makefile,v 1.146 2004/12/07 15:26:41 ohara Exp $ |
## $OpenXM: OpenXM/src/Makefile,v 1.155 2009/02/08 05:05:35 takayama Exp $ |
|
|
OpenXM_HOME=.. |
OpenXM_HOME=.. |
OpenXM_contrib2=../../OpenXM_contrib2 |
OpenXM_contrib2=../../OpenXM_contrib2 |
|
|
COPYRIGHTDIR=../Copyright |
COPYRIGHTDIR=../Copyright |
|
|
all: all-util all-gc all-gmp all-asir all-gnuplot all-k097 all-kan96xx \ |
all: all-util all-gc all-gmp all-asir all-gnuplot all-k097 all-kan96xx \ |
all-kxx all-pari all-phc all-openmath all-oxmath all-tigers all-fep |
all-kxx all-pari all-phc all-openmath all-oxmath all-tigers all-fep all-phcpack all-oxcdd \ |
|
all-oxmgraph |
|
|
all-gc: install-util |
all-gc: install-util |
(cd gc; ${MAKE} all) |
(cd gc; ${MAKE} all) |
Line 60 all-pari: configure-pari |
|
Line 61 all-pari: configure-pari |
|
all-phc: |
all-phc: |
(cd phc; ${MAKE} all) |
(cd phc; ${MAKE} all) |
|
|
|
all-phcpack: |
|
-@if ../misc/which.pl -s gnatmake; then \ |
|
(cd phcpack; ${MAKE} all) ; \ |
|
fi |
|
|
all-tigers: |
all-tigers: |
(cd tigers; ${MAKE} all) |
(cd tigers; ${MAKE} all) |
|
|
|
|
all-util: configure-util |
all-util: configure-util |
(cd util; ${MAKE} all) |
(cd util; ${MAKE} all) |
|
|
|
all-oxcdd: install-oxtoolkit |
|
-(cd ox_cdd; ${MAKE} all) |
|
all-oxmgraph: configure-oxmgraph |
|
-(cd oxmgraph; ${MAKE} all) |
|
|
|
all-document-asir-contrib: configure-document-asir-contrib |
|
(cd asir-contrib/packages/doc; ${MAKE} all) |
|
|
install: install-oxtags install-util install-asir install-gnuplot \ |
install: install-oxtags install-util install-asir install-gnuplot \ |
install-k097 install-kan96xx \ |
install-k097 install-kan96xx \ |
install-kxx install-openmath install-oxmath install-pari \ |
install-kxx install-openmath install-oxmath install-pari \ |
install-phc install-tigers install-asir-doc install-asir-contrib \ |
install-phc install-tigers install-asir-doc install-asir-contrib \ |
install-misc install-fep install-uuencoded |
install-misc install-fep install-phcpack install-oxcdd \ |
|
install-oxmgraph |
|
|
install-oxtags: |
install-oxtags: |
(cd ../doc/OpenXM-web; ${MAKE} install-exec) |
(cd ../doc/OpenXM-web; ${MAKE} install-exec) |
Line 140 install-pari: all-pari |
|
Line 155 install-pari: all-pari |
|
install-phc: all-phc |
install-phc: all-phc |
(cd phc; ${MAKE} install) |
(cd phc; ${MAKE} install) |
|
|
|
install-phcpack: all-phcpack |
|
-@if ../misc/which.pl gnatmake; then \ |
|
(cd phcpack; ${MAKE} install) ; \ |
|
fi |
|
|
install-tigers: all-tigers |
install-tigers: all-tigers |
(cd tigers; ${MAKE} install) |
(cd tigers; ${MAKE} install) |
|
|
Line 149 install-asir-contrib: configure-asir-contrib install-a |
|
Line 169 install-asir-contrib: configure-asir-contrib install-a |
|
|
|
install-asir-contrib-oxservers: install-asir install-util \ |
install-asir-contrib-oxservers: install-asir install-util \ |
install-k097 install-kxx install-openmath install-oxmath \ |
install-k097 install-kxx install-openmath install-oxmath \ |
install-phc install-tigers install-uuencoded install-gnuplot |
install-phc install-tigers install-gnuplot |
|
|
install-asir-doc: configure-asir-doc |
install-asir-doc: configure-asir-doc |
-(cd asir-doc; ${MAKE} install) |
-(cd asir-doc; ${MAKE} install) |
Line 163 install-fep: all-fep |
|
Line 183 install-fep: all-fep |
|
install-rc: all-rc |
install-rc: all-rc |
(cd ${RCDIR}; ${MAKE} install) |
(cd ${RCDIR}; ${MAKE} install) |
|
|
install-uuencoded: |
|
(cd uuencoded; ${MAKE} install) |
|
|
|
install-asir-port: |
install-asir-port: |
(cd asir-port; ${MAKE} install) |
(cd asir-port; ${MAKE} install) |
|
|
|
install-oxcdd: all-oxcdd |
|
-(cd ox_cdd; ${MAKE} install) |
|
|
|
install-oxmgraph: all-oxmgraph |
|
-(cd oxmgraph; ${MAKE} install) |
|
|
clean: |
clean: |
-rm ./.configure-links-done |
-rm ./.configure-links-done |
-@for i in OpenMath asir-contrib asir-doc asir2000 gc gmp gnuplot \ |
-@for i in OpenMath asir-contrib asir-doc asir2000 gc gmp gnuplot \ |
k097 kan96xx kxx ox_math ox_toolkit oxc pari phc tigers \ |
k097 kan96xx kxx ox_math ox_toolkit oxc pari phc phcpack tigers \ |
|
oxmgraph \ |
util ${OpenXM_contrib2}/fep ; do \ |
util ${OpenXM_contrib2}/fep ; do \ |
(cd $i; ${MAKE} clean); \ |
(cd $$i; ${MAKE} clean); \ |
done |
done |
|
|
distclean: clean |
distclean: clean |
-@for i in OpenMath asir2000 gc gmp gnuplot kan96xx kxx ox_math \ |
-@for i in OpenMath asir2000 gc gmp gnuplot kan96xx kxx ox_math \ |
ox_toolkit oxc pari phc tigers uuencoded ; do \ |
ox_toolkit oxc pari phc phcpack tigers oxmgraph ; do \ |
(cd $i; ${MAKE} distclean); \ |
(cd $$i; ${MAKE} distclean); \ |
done |
done |
-(cd ${BINDIR} && rm -f d0 k0 ox ox_sm1 oxlog oxweave sm1) |
-(cd ${BINDIR} && rm -f d0 k0 ox ox_sm1 oxlog oxweave sm1) |
-(cd ${LIBDIR} && rm -rf k097 sm1) |
-(cd ${LIBDIR} && rm -rf k097 sm1) |
Line 188 distclean: clean |
|
Line 212 distclean: clean |
|
configure: configure-util configure-asir \ |
configure: configure-util configure-asir \ |
configure-gnuplot \ |
configure-gnuplot \ |
configure-k097 configure-kan96xx configure-kxx configure-oxmath \ |
configure-k097 configure-kan96xx configure-kxx configure-oxmath \ |
configure-pari configure-gmp configure-asir-doc configure-asir-contrib |
configure-pari configure-gmp configure-asir-doc configure-asir-contrib \ |
|
configure-oxmgraph |
|
|
configure-util: |
configure-util: |
(cd util; ./make-configure) |
(cd util; ./make-configure) |
|
|
configure-gmp: install-util |
configure-gmp: install-util |
(cd gmp; ${MAKE} configure) |
(cd gmp; ${MAKE} configure) |
|
|
configure-asir: |
configure-asir: install-util |
(cd asir2000; ${MAKE} configure) |
(cd asir2000; ${MAKE} configure) |
|
|
configure-asir-contrib: |
configure-asir-contrib: |
Line 234 configure-oxmath: |
|
Line 259 configure-oxmath: |
|
configure-pari: install-util |
configure-pari: install-util |
(cd pari; ${MAKE} configure) |
(cd pari; ${MAKE} configure) |
|
|
|
configure-oxmgraph: |
|
-(cd oxmgraph; ./make-configure) |
|
|
|
configure-document-asir-contrib: install-util install-asir-doc |
|
(cd asir-contrib/packages/doc; ./make-configure) |
|
|
clean-rc: |
clean-rc: |
(cd $(RCDIR); ${MAKE} clean) |
(cd $(RCDIR); ${MAKE} clean) |
|
|
all-Copyright: |
all-Copyright: |
(cd $(COPYRIGHTDIR); ${MAKE} all) |
(cd $(COPYRIGHTDIR); ${MAKE} all) |
|
|
install-all-asir-lib: |
|
(cd asir2000; ${MAKE} install-lib-small) |
|
|
|
install-document: install-document-kan96xx install-document-asir-contrib |
install-document: install-document-kan96xx install-document-asir-contrib |
|
|
install-document-kan96xx: install-kan96xx |
install-document-kan96xx: install-kan96xx |
(cd kan96xx; ${MAKE} install-document) |
(cd kan96xx; ${MAKE} install-document) |
|
|
install-document-asir-contrib: install-asir-contrib |
install-document-asir-contrib: all-document-asir-contrib |
(cd asir-contrib; ${MAKE} install-document) |
(cd asir-contrib/packages/doc; ${MAKE} install) |
|
|
## Targets for debugging |
## Targets for debugging |
install-for-debug: |
install-for-debug: |
Line 257 install-for-debug: |
|
Line 285 install-for-debug: |
|
(cd kxx; ${MAKE} install-for-debug) |
(cd kxx; ${MAKE} install-for-debug) |
(cd k097; ${MAKE} install-for-debug) |
(cd k097; ${MAKE} install-for-debug) |
(cd ${BINDIR}; rm -f asir; ln -s ../../OpenXM_contrib2/asir2000/asir .) |
(cd ${BINDIR}; rm -f asir; ln -s ../../OpenXM_contrib2/asir2000/asir .) |
|
|
|
fetch: |
|
-@for i in gc gmp gnuplot pari tigers; do \ |
|
(cd $$i && ${MAKE} fetch); \ |
|
done |