| version 1.5, 2000/01/09 18:42:24 |
version 1.26, 2008/08/08 05:41:27 |
|
|
| # $OpenXM: OpenXM/src/asir2000/Makefile,v 1.4 2000/01/09 18:41:04 maekawa Exp $ |
# $OpenXM: OpenXM/src/asir2000/Makefile,v 1.25 2007/08/20 05:47:34 ohara Exp $ |
| |
|
| |
OpenXM_HOME=../.. |
| |
PREFIX=${OpenXM_HOME} |
| |
DISTDIR=${OpenXM_HOME}/../OpenXM_dist |
| |
MASTER_SITE=ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/ |
| |
# Original. http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ |
| |
DISTNAME=gc6.8 |
| |
DISTFILES=${DISTNAME}.tar.gz |
| |
|
| ASIR = ../../../OpenXM_contrib2/asir2000 |
ASIR = ../../../OpenXM_contrib2/asir2000 |
| PARI = ../pari |
PARI = ../pari |
| |
|
| all: configure |
all: configure install-pari |
| @if [ ! -f ./.make_done ]; then \ |
@if [ ! -f ./.make_done ]; then \ |
| (cd $(ASIR) ; make all) \ |
(cd ${ASIR} ; ${MAKE} all) \ |
| fi |
fi |
| @touch ./.make_done |
@touch ./.make_done |
| |
|
| install: all |
install: all |
| (cd $(ASIR) ; make install ; make install2) |
(cd ${ASIR} ; ${MAKE} install-openxm) |
| |
|
| clean: |
clean: |
| (cd $(ASIR) ; make clean) |
(cd ${ASIR} ; ${MAKE} clean) |
| @rm -f ./.make_done ./.configure_done |
@rm -f ./.make_* ./.configure_* ./.install-* ./.fetch* |
| |
|
| distclean: |
distclean: clean |
| @cat BINARIES | xargs -t rm -rf |
@cat BINARIES | xargs -t rm -rf |
| |
|
| configure: install-pari |
fetch: |
| |
@if [ ! -f .fetch_done ]; then \ |
| |
${OpenXM_HOME}/bin/oxfetch.sh ${MASTER_SITE}${DISTFILES} ${DISTDIR}; \ |
| |
fi |
| |
@touch .fetch_done |
| |
|
| |
configure: fetch |
| @if [ ! -f ./.configure_done ]; then \ |
@if [ ! -f ./.configure_done ]; then \ |
| (cd $(ASIR) ; ./configure ; xmkmf -a ; make depend) \ |
(cd $(ASIR) ; \ |
| |
./configure --enable-plot --with-pari --prefix="`cd ../../OpenXM; pwd`") \ |
| fi |
fi |
| @touch ./.configure_done |
@touch ./.configure_done |
| |
|
| install-pari: |
install-pari: |
| (cd $(PARI) ; make install) |
@if [ ! -f ./.install-pari_done ]; then \ |
| |
(cd ${PARI} ; ${MAKE} install) \ |
| |
fi |
| |
@touch ./.install-pari_done |