Annotation of OpenXM/src/asir2000/Makefile, Revision 1.16
1.16 ! noro 1: # $OpenXM: OpenXM/src/asir2000/Makefile,v 1.15 2000/03/10 02:59:50 noro 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) ; \
56: (cd $(ASIR_PARI) ; lndir ../asir2000 ; ./configure -pari ; \
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) ; \
64: (cd $(ASIR_SMALL) ; lndir ../asir2000 ; ./configure ; \
65: xmkmf ; make Makefiles ; make clean; make depend) \
66: fi
67: @touch ./.configure_small_done
1.4 maekawa 68:
69: install-pari:
1.6 maekawa 70: @if [ ! -f ./.install-pari_done ]; then \
71: (cd $(PARI) ; make install) \
72: fi
73: @touch ./.install-pari_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>