[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / pari

Annotation of OpenXM/src/pari/Makefile, Revision 1.16

1.16    ! noro        1: # $OpenXM: OpenXM/src/pari/Makefile,v 1.15 2001/12/27 08:31:38 noro Exp $
1.1       maekawa     2:
1.16    ! noro        3: #PARI = ../../../OpenXM_contrib/pari-2.2
        !             4: PARI = ../../../OpenXM_contrib/pari
1.10      takayama    5: OpenXM_ROOT = ../../../OpenXM
1.1       maekawa     6:
                      7: all: configure
                      8:        @if [ ! -f ./.make_done ]; then \
1.15      noro        9:                if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then\
                     10:                        (cd $(PARI)/O*-* ; make lib-sta); \
                     11:                else \
                     12:                        (cd $(PARI) ; make all);  \
                     13:                fi \
1.1       maekawa    14:        fi
                     15:        @touch ./.make_done
                     16:
1.11      takayama   17: install: install-lib-bin
                     18:
                     19: install-lib-bin: all install-lib
                     20:        (cd $(PARI)/O*-* ; make install-include)
1.15      noro       21:        if [ "`uname | sed -e 's/_.*$$//'`" != "CYGWIN" ]; then \
                     22:                (cd $(PARI)/O*-* ; make install-lib-dyn);  \
                     23:                (cd $(PARI)/O*-* ; make install-bin);  \
                     24:                (cd $(PARI)/O*-* ; make install-misc);  \
                     25:                (cd $(PARI)/O*-* ; make install-man);  \
                     26:                (cd $(PARI)/O*-* ; make install-data);  \
                     27:        fi
                     28:
1.11      takayama   29:
                     30: install-doc: all
                     31:        (cd $(PARI) ; make doc)
1.10      takayama   32:        @if [ ! -d $(OpenXM_ROOT)/doc/pari ]; then \
                     33:           mkdir $(OpenXM_ROOT)/doc/pari ;\
                     34:        fi
                     35:        -cp $(OpenXM_ROOT)/lib/pari/users.dvi  $(OpenXM_ROOT)/doc/pari/users.dvi
                     36:        -cp $(OpenXM_ROOT)/lib/pari/tutorial.dvi  $(OpenXM_ROOT)/doc/pari/tutorial.dvi
1.1       maekawa    37:
1.13      noro       38: clean: patch-clean
1.1       maekawa    39:        @if [ -f ./.make_done ]; then \
                     40:                (cd $(PARI) ; make clean) \
                     41:        fi
1.3       maekawa    42:        @rm -f ./.make_done ./.configure_done
                     43:
                     44: distclean:
1.7       maekawa    45:        @cat BINARIES | xargs -t rm -rf
1.1       maekawa    46:
1.13      noro       47: configure: patch
1.1       maekawa    48:        @if [ ! -f ./.configure_done ]; then \
                     49:                (cd $(PARI) ; ./Configure --prefix=../../../OpenXM) \
                     50:        fi
                     51:        @touch ./.configure_done
1.13      noro       52:
                     53: patch:
                     54:        @if [ ! -f ./.patch_done ]; then \
1.14      noro       55:                (cd $(PARI)/config ; patch < ../../../OpenXM/src/pari/Makefile.SH.diff) \
1.13      noro       56:        fi
                     57:        @touch ./.patch_done
                     58:
                     59: patch-clean:
                     60:        @if [ -f ./.patch_done ]; then \
1.14      noro       61:                (cd $(PARI)/config ; patch -R < ../../../OpenXM/src/pari/Makefile.SH.diff) \
1.13      noro       62:        fi
                     63:        @rm -f ./.patch_done
1.8       maekawa    64:
                     65: install-lib: all
1.9       maekawa    66:        (cd $(PARI) ; make install-lib-sta)
1.16    ! noro       67: #      ranlib ../../lib/libpari-2.2.a
        !            68:        ranlib ../../lib/libpari.a

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>