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

Annotation of OpenXM/src/asir2000/Makefile, Revision 1.21

1.21    ! ohara       1: # $OpenXM: OpenXM/src/asir2000/Makefile,v 1.20 2003/03/07 15:55:05 ohara Exp $
1.1       maekawa     2:
                      3: ASIR = ../../../OpenXM_contrib2/asir2000
1.14      noro        4: ASIR_PARI = ../../../OpenXM_contrib2/asir2000-pari
                      5: ASIR_SMALL = ../../../OpenXM_contrib2/asir2000-small
1.4       maekawa     6: PARI = ../pari
1.1       maekawa     7:
1.5       maekawa     8: all: configure
1.1       maekawa     9:        @if [ ! -f ./.make_done ]; then \
                     10:                (cd $(ASIR) ; make all) \
                     11:        fi
                     12:        @touch ./.make_done
                     13:
1.14      noro       14: with-pari: configure-with-pari
                     15:        @if [ ! -f ./.make_with_pari_done ]; then \
                     16:                (cd $(ASIR_PARI) ; make all) \
                     17:        fi
                     18:        @touch ./.make_with_pari_done
                     19:
                     20: small: configure-small
                     21:        @if [ ! -f ./.make_small_done ]; then \
                     22:                (cd $(ASIR_SMALL) ; make all) \
                     23:        fi
                     24:        @touch ./.make_small_done
                     25:
1.19      ohara      26: install-xmkmf: all
                     27:        (cd $(ASIR) ; make install-bin-lib ; make install-libasir ; make install-libgc ; make install-include )
                     28:
1.1       maekawa    29: install: all
1.20      ohara      30:        (cd $(ASIR) ; make install-openxm)
1.14      noro       31:
                     32: install-lib-with-pari: with-pari
                     33:        (cd $(ASIR_PARI) ; make install-libasir)
                     34:
                     35: install-lib-small: small
                     36:        (cd $(ASIR_SMALL) ; make install-libasir)
1.1       maekawa    37:
                     38: clean:
                     39:        (cd $(ASIR) ; make clean)
1.14      noro       40:        -@if [ -d $(ASIR_PARI) ]; then (cd $(ASIR_PARI) ; make clean)  fi
                     41:        -@if [ -d $(ASIR_SMALL) ]; then (cd $(ASIR_SMALL) ; make clean)  fi
                     42:        @rm -f ./.make_* ./.configure_* ./.install-*
1.1       maekawa    43:
1.10      takayama   44: distclean: clean
1.14      noro       45:        @rm -rf $(ASIR_PARI)
                     46:        @rm -rf $(ASIR_SMALL)
1.1       maekawa    47:        @cat BINARIES | xargs -t rm -rf
                     48:
1.5       maekawa    49: configure: install-pari
1.1       maekawa    50:        @if [ ! -f ./.configure_done ]; then \
1.19      ohara      51:                (cd $(ASIR) ; \
1.21    ! ohara      52:             ./configure --enable-plot --with-pari --prefix="`cd ../../OpenXM; pwd`") \
1.1       maekawa    53:        fi
                     54:        @touch ./.configure_done
1.14      noro       55:
                     56: configure-with-pari: configure
                     57:        -@if [ ! -f ./.configure_with_pari_done ]; then \
                     58:                mkdir $(ASIR_PARI) ; \
1.19      ohara      59:                (cd $(ASIR_PARI) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; \
1.21    ! ohara      60:                        rm -f config.status config.log ; \
        !            61:             ./configure --with-pari --prefix="`cd ../../OpenXM; pwd`") \
1.14      noro       62:        fi
                     63:        @touch ./.configure_with_pari_done
                     64:
                     65: configure-small: configure
                     66:        -@if [ ! -f ./.configure_small_done ]; then \
                     67:                mkdir $(ASIR_SMALL) ; \
1.19      ohara      68:                (cd $(ASIR_SMALL) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; \
1.21    ! ohara      69:                        rm -f config.status config.log ; \
        !            70:             ./configure --prefix="`cd ../../OpenXM; pwd`") \
1.17      ohara      71:        fi
                     72:        @touch ./.configure_small_done
                     73:
                     74: configure-xmkmf: install-pari
                     75:        @if [ ! -f ./.configure_done ]; then \
                     76:                (cd $(ASIR) ; ./configure-xmkmf -plot -pari ) \
                     77:        fi
                     78:        @touch ./.configure_done
                     79:
                     80: configure-xmkmf-with-pari: configure-xmkmf
                     81:        -@if [ ! -f ./.configure_with_pari_done ]; then \
                     82:                mkdir $(ASIR_PARI) ; \
1.18      ohara      83:                (cd $(ASIR_PARI) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; ./configure-xmkmf -pari ) \
1.17      ohara      84:        fi
                     85:        @touch ./.configure_with_pari_done
                     86:
                     87: configure-xmkmf-small: configure-xmkmf
                     88:        -@if [ ! -f ./.configure_small_done ]; then \
                     89:                mkdir $(ASIR_SMALL) ; \
1.18      ohara      90:                (cd $(ASIR_SMALL) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; ./configure-xmkmf ) \
1.14      noro       91:        fi
                     92:        @touch ./.configure_small_done
1.4       maekawa    93:
                     94: install-pari:
1.6       maekawa    95:        @if [ ! -f ./.install-pari_done ]; then \
                     96:                (cd $(PARI) ; make install) \
                     97:        fi
                     98:        @touch ./.install-pari_done

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