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

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

1.18    ! ohara       1: # $OpenXM: OpenXM/src/asir2000/Makefile,v 1.17 2003/03/04 08:29:43 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.1       maekawa    26: install: all
1.16      noro       27:        (cd $(ASIR) ; make install-bin-lib ; make install-libasir ; make install-libgc ; make install-include )
1.14      noro       28:
                     29: install-lib-with-pari: with-pari
                     30:        (cd $(ASIR_PARI) ; make install-libasir)
                     31:
                     32: install-lib-small: small
                     33:        (cd $(ASIR_SMALL) ; make install-libasir)
1.1       maekawa    34:
                     35: clean:
                     36:        (cd $(ASIR) ; make clean)
1.14      noro       37:        -@if [ -d $(ASIR_PARI) ]; then (cd $(ASIR_PARI) ; make clean)  fi
                     38:        -@if [ -d $(ASIR_SMALL) ]; then (cd $(ASIR_SMALL) ; make clean)  fi
                     39:        @rm -f ./.make_* ./.configure_* ./.install-*
1.1       maekawa    40:
1.10      takayama   41: distclean: clean
1.14      noro       42:        @rm -rf $(ASIR_PARI)
                     43:        @rm -rf $(ASIR_SMALL)
1.1       maekawa    44:        @cat BINARIES | xargs -t rm -rf
                     45:
1.5       maekawa    46: configure: install-pari
1.1       maekawa    47:        @if [ ! -f ./.configure_done ]; then \
1.14      noro       48:                (cd $(ASIR) ; ./configure -plot -pari; \
                     49:                        xmkmf ; make Makefiles ; make depend) \
1.1       maekawa    50:        fi
                     51:        @touch ./.configure_done
1.14      noro       52:
                     53: configure-with-pari: configure
                     54:        -@if [ ! -f ./.configure_with_pari_done ]; then \
                     55:                mkdir $(ASIR_PARI) ; \
1.18    ! ohara      56:                (cd $(ASIR_PARI) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; ./configure -pari ; \
1.14      noro       57:                        xmkmf ; make Makefiles ; make clean; make depend) \
                     58:        fi
                     59:        @touch ./.configure_with_pari_done
                     60:
                     61: configure-small: configure
                     62:        -@if [ ! -f ./.configure_small_done ]; then \
                     63:                mkdir $(ASIR_SMALL) ; \
1.18    ! ohara      64:                (cd $(ASIR_SMALL) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; ./configure ; \
1.14      noro       65:                        xmkmf ; make Makefiles ; make clean; make depend) \
1.17      ohara      66:        fi
                     67:        @touch ./.configure_small_done
                     68:
                     69: configure-xmkmf: install-pari
                     70:        @if [ ! -f ./.configure_done ]; then \
                     71:                (cd $(ASIR) ; ./configure-xmkmf -plot -pari ) \
                     72:        fi
                     73:        @touch ./.configure_done
                     74:
                     75: configure-xmkmf-with-pari: configure-xmkmf
                     76:        -@if [ ! -f ./.configure_with_pari_done ]; then \
                     77:                mkdir $(ASIR_PARI) ; \
1.18    ! ohara      78:                (cd $(ASIR_PARI) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; ./configure-xmkmf -pari ) \
1.17      ohara      79:        fi
                     80:        @touch ./.configure_with_pari_done
                     81:
                     82: configure-xmkmf-small: configure-xmkmf
                     83:        -@if [ ! -f ./.configure_small_done ]; then \
                     84:                mkdir $(ASIR_SMALL) ; \
1.18    ! ohara      85:                (cd $(ASIR_SMALL) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; ./configure-xmkmf ) \
1.14      noro       86:        fi
                     87:        @touch ./.configure_small_done
1.4       maekawa    88:
                     89: install-pari:
1.6       maekawa    90:        @if [ ! -f ./.install-pari_done ]; then \
                     91:                (cd $(PARI) ; make install) \
                     92:        fi
                     93:        @touch ./.install-pari_done

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