version 1.13, 2001/12/27 07:10:38 |
version 1.15, 2001/12/27 08:31:38 |
|
|
# $OpenXM: OpenXM/src/pari/Makefile,v 1.12 2001/10/03 01:47:29 noro Exp $ |
# $OpenXM: OpenXM/src/pari/Makefile,v 1.14 2001/12/27 07:16:01 noro Exp $ |
|
|
PARI = ../../../OpenXM_contrib/pari-2.2 |
PARI = ../../../OpenXM_contrib/pari-2.2 |
OpenXM_ROOT = ../../../OpenXM |
OpenXM_ROOT = ../../../OpenXM |
|
|
all: configure |
all: configure |
@if [ ! -f ./.make_done ]; then \ |
@if [ ! -f ./.make_done ]; then \ |
(cd $(PARI) ; make all) \ |
if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then\ |
|
(cd $(PARI)/O*-* ; make lib-sta); \ |
|
else \ |
|
(cd $(PARI) ; make all); \ |
|
fi \ |
fi |
fi |
@touch ./.make_done |
@touch ./.make_done |
|
|
install: install-lib-bin |
install: install-lib-bin |
|
|
install-lib-bin: all install-lib |
install-lib-bin: all install-lib |
(cd $(PARI)/O*-* ; make install-lib-dyn) |
|
(cd $(PARI)/O*-* ; make install-include) |
(cd $(PARI)/O*-* ; make install-include) |
(cd $(PARI)/O*-* ; make install-bin) |
if [ "`uname | sed -e 's/_.*$$//'`" != "CYGWIN" ]; then \ |
(cd $(PARI)/O*-* ; make install-misc) |
(cd $(PARI)/O*-* ; make install-lib-dyn); \ |
(cd $(PARI)/O*-* ; make install-man) |
(cd $(PARI)/O*-* ; make install-bin); \ |
(cd $(PARI)/O*-* ; make install-data) |
(cd $(PARI)/O*-* ; make install-misc); \ |
|
(cd $(PARI)/O*-* ; make install-man); \ |
|
(cd $(PARI)/O*-* ; make install-data); \ |
|
fi |
|
|
|
|
install-doc: all |
install-doc: all |
(cd $(PARI) ; make doc) |
(cd $(PARI) ; make doc) |
@if [ ! -d $(OpenXM_ROOT)/doc/pari ]; then \ |
@if [ ! -d $(OpenXM_ROOT)/doc/pari ]; then \ |
|
|
|
|
patch: |
patch: |
@if [ ! -f ./.patch_done ]; then \ |
@if [ ! -f ./.patch_done ]; then \ |
(cd $(PARI)/config ; patch < $(CURDIR)/Makefile.SH.diff) \ |
(cd $(PARI)/config ; patch < ../../../OpenXM/src/pari/Makefile.SH.diff) \ |
fi |
fi |
@touch ./.patch_done |
@touch ./.patch_done |
|
|
patch-clean: |
patch-clean: |
@if [ -f ./.patch_done ]; then \ |
@if [ -f ./.patch_done ]; then \ |
(cd $(PARI)/config ; patch -R < $(CURDIR)/Makefile.SH.diff) \ |
(cd $(PARI)/config ; patch -R < ../../../OpenXM/src/pari/Makefile.SH.diff) \ |
fi |
fi |
@rm -f ./.patch_done |
@rm -f ./.patch_done |
|
|