version 1.16, 2003/03/07 10:16:58 |
version 1.18, 2003/11/10 09:12:24 |
|
|
# $OpenXM: OpenXM/src/pari/Makefile,v 1.15 2001/12/27 08:31:38 noro Exp $ |
# $OpenXM: OpenXM/src/pari/Makefile,v 1.17 2003/09/02 14:26:06 takayama Exp $ |
|
|
#PARI = ../../../OpenXM_contrib/pari-2.2 |
#PARI = ../../../OpenXM_contrib/pari-2.2 |
PARI = ../../../OpenXM_contrib/pari |
PARI = ../../../OpenXM_contrib/pari |
Line 6 OpenXM_ROOT = ../../../OpenXM |
|
Line 6 OpenXM_ROOT = ../../../OpenXM |
|
|
|
all: configure |
all: configure |
@if [ ! -f ./.make_done ]; then \ |
@if [ ! -f ./.make_done ]; then \ |
if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then\ |
(cd $(PARI) ; make lib-sta); \ |
(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 |
|
# if [ ! -f ./.install-lib-bin_done ]; then \ |
|
# (cd $(PARI)/O*-* ; make install-include) ; \ |
|
# if [ "`uname | sed -e 's/_.*$$//'`" != "CYGWIN" ]; then \ |
|
# (cd $(PARI)/O*-* ; make install-lib-dyn); \ |
|
# (cd $(PARI)/O*-* ; make install-bin); \ |
|
# (cd $(PARI)/O*-* ; make install-misc); \ |
|
# (cd $(PARI)/O*-* ; make install-man); \ |
|
# (cd $(PARI)/O*-* ; make install-data); \ |
|
# fi ; \ |
|
# touch ./.install-lib-bin_done ; \ |
|
# fi |
|
|
install-lib-bin: all install-lib |
install-lib-bin: all install-lib |
(cd $(PARI)/O*-* ; make install-include) |
if [ ! -f ./.install-lib-bin_done ]; then \ |
if [ "`uname | sed -e 's/_.*$$//'`" != "CYGWIN" ]; then \ |
(cd $(PARI)/O*-* ; make install-include) ; \ |
(cd $(PARI)/O*-* ; make install-lib-dyn); \ |
touch ./.install-lib-bin_done ; \ |
(cd $(PARI)/O*-* ; make install-bin); \ |
|
(cd $(PARI)/O*-* ; make install-misc); \ |
|
(cd $(PARI)/O*-* ; make install-man); \ |
|
(cd $(PARI)/O*-* ; make install-data); \ |
|
fi |
fi |
|
|
|
|
Line 39 clean: patch-clean |
|
Line 44 clean: patch-clean |
|
@if [ -f ./.make_done ]; then \ |
@if [ -f ./.make_done ]; then \ |
(cd $(PARI) ; make clean) \ |
(cd $(PARI) ; make clean) \ |
fi |
fi |
@rm -f ./.make_done ./.configure_done |
@rm -f ./.*_done |
|
|
distclean: |
distclean: |
@cat BINARIES | xargs -t rm -rf |
@cat BINARIES | xargs -t rm -rf |
|
|
@rm -f ./.patch_done |
@rm -f ./.patch_done |
|
|
install-lib: all |
install-lib: all |
(cd $(PARI) ; make install-lib-sta) |
if [ ! -f ./.install-lib_done ]; then \ |
# ranlib ../../lib/libpari-2.2.a |
(cd $(PARI) ; make install-lib-sta) ; \ |
ranlib ../../lib/libpari.a |
ranlib ../../lib/libpari.a ; \ |
|
touch ./.install-lib_done ; \ |
|
fi |