Annotation of OpenXM/src/asir2000/Makefile, Revision 1.25
1.25 ! ohara 1: # $OpenXM: OpenXM/src/asir2000/Makefile,v 1.24 2005/07/14 02:56:52 takayama Exp $
1.24 takayama 2:
3: OpenXM_HOME=../..
4: PREFIX=${OpenXM_HOME}
5: DISTDIR=${OpenXM_HOME}/../OpenXM_dist
6: MASTER_SITE=ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/
7: # Original. http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
1.25 ! ohara 8: DISTNAME=gc6.8
1.24 takayama 9: DISTFILES=${DISTNAME}.tar.gz
1.1 maekawa 10:
11: ASIR = ../../../OpenXM_contrib2/asir2000
1.14 noro 12: ASIR_PARI = ../../../OpenXM_contrib2/asir2000-pari
13: ASIR_SMALL = ../../../OpenXM_contrib2/asir2000-small
1.4 maekawa 14: PARI = ../pari
1.1 maekawa 15:
1.23 takayama 16: all: configure install-pari
1.1 maekawa 17: @if [ ! -f ./.make_done ]; then \
18: (cd $(ASIR) ; make all) \
19: fi
20: @touch ./.make_done
21:
1.14 noro 22: with-pari: configure-with-pari
23: @if [ ! -f ./.make_with_pari_done ]; then \
24: (cd $(ASIR_PARI) ; make all) \
25: fi
26: @touch ./.make_with_pari_done
27:
28: small: configure-small
29: @if [ ! -f ./.make_small_done ]; then \
30: (cd $(ASIR_SMALL) ; make all) \
31: fi
32: @touch ./.make_small_done
33:
1.19 ohara 34: install-xmkmf: all
35: (cd $(ASIR) ; make install-bin-lib ; make install-libasir ; make install-libgc ; make install-include )
36:
1.1 maekawa 37: install: all
1.20 ohara 38: (cd $(ASIR) ; make install-openxm)
1.14 noro 39:
40: install-lib-with-pari: with-pari
41: (cd $(ASIR_PARI) ; make install-libasir)
42:
43: install-lib-small: small
44: (cd $(ASIR_SMALL) ; make install-libasir)
1.22 takayama 45:
46: install-libasir-gc: configure
47: (cd $(ASIR) ; make install-libasir-gc)
1.1 maekawa 48:
49: clean:
50: (cd $(ASIR) ; make clean)
1.14 noro 51: -@if [ -d $(ASIR_PARI) ]; then (cd $(ASIR_PARI) ; make clean) fi
52: -@if [ -d $(ASIR_SMALL) ]; then (cd $(ASIR_SMALL) ; make clean) fi
1.24 takayama 53: @rm -f ./.make_* ./.configure_* ./.install-* ./.fetch*
1.1 maekawa 54:
1.10 takayama 55: distclean: clean
1.14 noro 56: @rm -rf $(ASIR_PARI)
57: @rm -rf $(ASIR_SMALL)
1.1 maekawa 58: @cat BINARIES | xargs -t rm -rf
59:
1.24 takayama 60: fetch:
61: @if [ ! -f .fetch_done ]; then \
62: ${OpenXM_HOME}/bin/oxfetch.sh ${MASTER_SITE}${DISTFILES} ${DISTDIR}; \
63: fi
64: @touch .fetch_done
65:
66: configure: fetch
1.1 maekawa 67: @if [ ! -f ./.configure_done ]; then \
1.19 ohara 68: (cd $(ASIR) ; \
1.21 ohara 69: ./configure --enable-plot --with-pari --prefix="`cd ../../OpenXM; pwd`") \
1.1 maekawa 70: fi
71: @touch ./.configure_done
1.14 noro 72:
73: configure-with-pari: configure
74: -@if [ ! -f ./.configure_with_pari_done ]; then \
75: mkdir $(ASIR_PARI) ; \
1.19 ohara 76: (cd $(ASIR_PARI) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; \
1.21 ohara 77: rm -f config.status config.log ; \
78: ./configure --with-pari --prefix="`cd ../../OpenXM; pwd`") \
1.14 noro 79: fi
80: @touch ./.configure_with_pari_done
81:
82: configure-small: configure
83: -@if [ ! -f ./.configure_small_done ]; then \
84: mkdir $(ASIR_SMALL) ; \
1.19 ohara 85: (cd $(ASIR_SMALL) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; \
1.21 ohara 86: rm -f config.status config.log ; \
87: ./configure --prefix="`cd ../../OpenXM; pwd`") \
1.17 ohara 88: fi
89: @touch ./.configure_small_done
90:
1.23 takayama 91: configure-xmkmf:
1.17 ohara 92: @if [ ! -f ./.configure_done ]; then \
93: (cd $(ASIR) ; ./configure-xmkmf -plot -pari ) \
94: fi
95: @touch ./.configure_done
96:
97: configure-xmkmf-with-pari: configure-xmkmf
98: -@if [ ! -f ./.configure_with_pari_done ]; then \
99: mkdir $(ASIR_PARI) ; \
1.18 ohara 100: (cd $(ASIR_PARI) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; ./configure-xmkmf -pari ) \
1.17 ohara 101: fi
102: @touch ./.configure_with_pari_done
103:
104: configure-xmkmf-small: configure-xmkmf
105: -@if [ ! -f ./.configure_small_done ]; then \
106: mkdir $(ASIR_SMALL) ; \
1.18 ohara 107: (cd $(ASIR_SMALL) ; ../../OpenXM/bin/lndir.sh ../asir2000 ; ./configure-xmkmf ) \
1.14 noro 108: fi
109: @touch ./.configure_small_done
1.4 maekawa 110:
111: install-pari:
1.6 maekawa 112: @if [ ! -f ./.install-pari_done ]; then \
113: (cd $(PARI) ; make install) \
114: fi
115: @touch ./.install-pari_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>