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

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

1.10    ! takayama    1: # $OpenXM: OpenXM/src/pari/Makefile,v 1.9 2000/01/08 21:47:04 maekawa Exp $
1.1       maekawa     2:
                      3: PARI = ../../../OpenXM_contrib/pari
1.10    ! takayama    4: OpenXM_ROOT = ../../../OpenXM
1.1       maekawa     5:
                      6: all: configure
                      7:        @if [ ! -f ./.make_done ]; then \
                      8:                (cd $(PARI) ; make all) \
                      9:        fi
                     10:        @touch ./.make_done
                     11:
1.8       maekawa    12: install: all install-lib
                     13:        (cd $(PARI) ; make install)
1.10    ! takayama   14:        @if [ ! -d $(OpenXM_ROOT)/doc/pari ]; then \
        !            15:           mkdir $(OpenXM_ROOT)/doc/pari ;\
        !            16:        fi
        !            17:        -cp $(OpenXM_ROOT)/lib/pari/users.dvi  $(OpenXM_ROOT)/doc/pari/users.dvi
        !            18:        -cp $(OpenXM_ROOT)/lib/pari/tutorial.dvi  $(OpenXM_ROOT)/doc/pari/tutorial.dvi
1.1       maekawa    19:
                     20: clean:
                     21:        @if [ -f ./.make_done ]; then \
                     22:                (cd $(PARI) ; make clean) \
                     23:        fi
1.3       maekawa    24:        @rm -f ./.make_done ./.configure_done
                     25:
                     26: distclean:
1.7       maekawa    27:        @cat BINARIES | xargs -t rm -rf
1.1       maekawa    28:
                     29: configure:
                     30:        @if [ ! -f ./.configure_done ]; then \
                     31:                (cd $(PARI) ; ./Configure --prefix=../../../OpenXM) \
                     32:        fi
                     33:        @touch ./.configure_done
1.8       maekawa    34:
                     35: install-lib: all
1.9       maekawa    36:        (cd $(PARI) ; make install-lib-sta)
                     37:        ranlib ../../lib/libpari.a

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