Annotation of OpenXM/src/asir2000/Makefile, Revision 1.14
1.14 ! noro 1: # $OpenXM: OpenXM/src/asir2000/Makefile,v 1.13 2000/01/20 08:12:43 takayama 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.14 ! noro 27: (cd $(ASIR) ; make install ; make install-lib; \
! 28: make install-libasir ; make install-libgc )
! 29:
! 30: install-lib-with-pari: with-pari
! 31: (cd $(ASIR_PARI) ; make install-libasir)
! 32:
! 33: install-lib-small: small
! 34: (cd $(ASIR_SMALL) ; make install-libasir)
1.1 maekawa 35:
36: clean:
37: (cd $(ASIR) ; make clean)
1.14 ! noro 38: -@if [ -d $(ASIR_PARI) ]; then (cd $(ASIR_PARI) ; make clean) fi
! 39: -@if [ -d $(ASIR_SMALL) ]; then (cd $(ASIR_SMALL) ; make clean) fi
! 40: @rm -f ./.make_* ./.configure_* ./.install-*
1.1 maekawa 41:
1.10 takayama 42: distclean: clean
1.14 ! noro 43: @rm -rf $(ASIR_PARI)
! 44: @rm -rf $(ASIR_SMALL)
1.1 maekawa 45: @cat BINARIES | xargs -t rm -rf
46:
1.5 maekawa 47: configure: install-pari
1.1 maekawa 48: @if [ ! -f ./.configure_done ]; then \
1.14 ! noro 49: (cd $(ASIR) ; ./configure -plot -pari; \
! 50: xmkmf ; make Makefiles ; make depend) \
1.1 maekawa 51: fi
52: @touch ./.configure_done
1.14 ! noro 53:
! 54: configure-with-pari: configure
! 55: -@if [ ! -f ./.configure_with_pari_done ]; then \
! 56: mkdir $(ASIR_PARI) ; \
! 57: (cd $(ASIR_PARI) ; lndir ../asir2000 ; ./configure -pari ; \
! 58: xmkmf ; make Makefiles ; make clean; make depend) \
! 59: fi
! 60: @touch ./.configure_with_pari_done
! 61:
! 62: configure-small: configure
! 63: -@if [ ! -f ./.configure_small_done ]; then \
! 64: mkdir $(ASIR_SMALL) ; \
! 65: (cd $(ASIR_SMALL) ; lndir ../asir2000 ; ./configure ; \
! 66: xmkmf ; make Makefiles ; make clean; make depend) \
! 67: fi
! 68: @touch ./.configure_small_done
1.4 maekawa 69:
70: install-pari:
1.6 maekawa 71: @if [ ! -f ./.install-pari_done ]; then \
72: (cd $(PARI) ; make install) \
73: fi
74: @touch ./.install-pari_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>