version 1.5, 2000/01/08 18:41:19 |
version 1.20, 2004/12/08 05:24:21 |
|
|
# $OpenXM: OpenXM/src/pari/Makefile,v 1.4 2000/01/08 18:30:18 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: |
(cd $(PARI) ; make install install-lib-sta) \ |
${MAKE} -f Makefile.${PARI_VER} $@ |
|
|
clean: |
|
@if [ -f ./.make_done ]; then \ |
|
(cd $(PARI) ; make clean) \ |
|
fi |
|
@rm -f ./.make_done ./.configure_done |
|
|
|
distclean: |
|
rm -rf ../../lib/libpari.* ../../lib/pari |
|
rm -rf ../../include/pari |
|
rm -rf $(BINDIR)/gp $(BINDIR)/gp-2.0 |
|
|
|
configure: |
|
@if [ ! -f ./.configure_done ]; then \ |
|
(cd $(PARI) ; ./Configure --prefix=../../../OpenXM) \ |
|
fi |
|
@touch ./.configure_done |
|