version 1.2, 2000/01/08 17:56:58 |
version 1.20, 2004/12/08 05:24:21 |
|
|
# $OpenXM: OpenXM/src/pari/Makefile,v 1.1 2000/01/08 17:17:50 maekawa Exp $ |
# $OpenXM: OpenXM/src/pari/Makefile,v 1.19 2004/12/07 13:08:45 ohara Exp $ |
|
|
PARI = ../../../OpenXM_contrib/pari |
PARI_VER=2.0 |
CURDIR = ../../OpenXM/src/pari |
#PARI_VER=2.2 |
BINDIR = ../../bin |
|
|
|
all: configure |
all: build |
@if [ ! -f ./.make_done ]; then \ |
|
(cd $(PARI) ; make all) \ |
|
fi |
|
@touch ./.make_done |
|
|
|
install: all |
fetch extract patch configure build build-doc install install-doc clean distclean: |
@if [ ! -f ./.install_done ]; then \ |
${MAKE} -f Makefile.${PARI_VER} $@ |
(cd $(PARI) ; make install install-lib-sta) \ |
|
fi |
|
@touch ./.install_done |
|
|
|
clean: |
|
@if [ -f ./.make_done ]; then \ |
|
(cd $(PARI) ; make clean) \ |
|
fi |
|
@rm -f ./.make_done ./.configure_done ./.install_done |
|
|
|
configure: |
|
@if [ ! -f ./.configure_done ]; then \ |
|
(cd $(PARI) ; ./Configure --prefix=../../../OpenXM) \ |
|
fi |
|
@touch ./.configure_done |
|