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

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

1.22    ! takayama    1: # $OpenXM: OpenXM/src/asir2000/Makefile,v 1.21 2003/03/08 10:19:33 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.22    ! takayama   37:
        !            38: install-libasir-gc: configure
        !            39:        (cd $(ASIR) ; make install-libasir-gc)
1.1       maekawa    40:
                     41: clean:
                     42:        (cd $(ASIR) ; make clean)
1.14      noro       43:        -@if [ -d $(ASIR_PARI) ]; then (cd $(ASIR_PARI) ; make clean)  fi
                     44:        -@if [ -d $(ASIR_SMALL) ]; then (cd $(ASIR_SMALL) ; make clean)  fi
                     45:        @rm -f ./.make_* ./.configure_* ./.install-*
1.1       maekawa    46:
1.10      takayama   47: distclean: clean
1.14      noro       48:        @rm -rf $(ASIR_PARI)
                     49:        @rm -rf $(ASIR_SMALL)
1.1       maekawa    50:        @cat BINARIES | xargs -t rm -rf
                     51:
1.5       maekawa    52: configure: install-pari
1.1       maekawa    53:        @if [ ! -f ./.configure_done ]; then \
1.19      ohara      54:                (cd $(ASIR) ; \
1.21      ohara      55:             ./configure --enable-plot --with-pari --prefix="`cd ../../OpenXM; pwd`") \
1.1       maekawa    56:        fi
                     57:        @touch ./.configure_done
1.14      noro       58:
                     59: configure-with-pari: configure
                     60:        -@if [ ! -f ./.configure_with_pari_done ]; then \
                     61:                mkdir $(ASIR_PARI) ; \
1.19      ohara      62:                (cd $(ASIR_PARI) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; \
1.21      ohara      63:                        rm -f config.status config.log ; \
                     64:             ./configure --with-pari --prefix="`cd ../../OpenXM; pwd`") \
1.14      noro       65:        fi
                     66:        @touch ./.configure_with_pari_done
                     67:
                     68: configure-small: configure
                     69:        -@if [ ! -f ./.configure_small_done ]; then \
                     70:                mkdir $(ASIR_SMALL) ; \
1.19      ohara      71:                (cd $(ASIR_SMALL) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; \
1.21      ohara      72:                        rm -f config.status config.log ; \
                     73:             ./configure --prefix="`cd ../../OpenXM; pwd`") \
1.17      ohara      74:        fi
                     75:        @touch ./.configure_small_done
                     76:
                     77: configure-xmkmf: install-pari
                     78:        @if [ ! -f ./.configure_done ]; then \
                     79:                (cd $(ASIR) ; ./configure-xmkmf -plot -pari ) \
                     80:        fi
                     81:        @touch ./.configure_done
                     82:
                     83: configure-xmkmf-with-pari: configure-xmkmf
                     84:        -@if [ ! -f ./.configure_with_pari_done ]; then \
                     85:                mkdir $(ASIR_PARI) ; \
1.18      ohara      86:                (cd $(ASIR_PARI) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; ./configure-xmkmf -pari ) \
1.17      ohara      87:        fi
                     88:        @touch ./.configure_with_pari_done
                     89:
                     90: configure-xmkmf-small: configure-xmkmf
                     91:        -@if [ ! -f ./.configure_small_done ]; then \
                     92:                mkdir $(ASIR_SMALL) ; \
1.18      ohara      93:                (cd $(ASIR_SMALL) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; ./configure-xmkmf ) \
1.14      noro       94:        fi
                     95:        @touch ./.configure_small_done
1.4       maekawa    96:
                     97: install-pari:
1.6       maekawa    98:        @if [ ! -f ./.install-pari_done ]; then \
                     99:                (cd $(PARI) ; make install) \
                    100:        fi
                    101:        @touch ./.install-pari_done

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