Annotation of OpenXM/src/asir2000/Makefile, Revision 1.38
1.38 ! ohara 1: # $OpenXM: OpenXM/src/asir2000/Makefile,v 1.37 2019/03/23 12:22:09 ohara Exp $
1.24 takayama 2:
3: OpenXM_HOME=../..
4: PREFIX=${OpenXM_HOME}
5: DISTDIR=${OpenXM_HOME}/../OpenXM_dist
1.31 ohara 6: MASTER_SITE=http://www.math.kobe-u.ac.jp/pub/OpenXM/misc/
1.33 ohara 7: # Original. http://www.hboehm.info/gc/gc_source
8: DISTNAME=gc-7.4.2
9: DISTFILES=${DISTNAME}.tar.gz libatomic_ops-7.4.0.tar.gz
1.1 maekawa 10:
11: ASIR = ../../../OpenXM_contrib2/asir2000
1.4 maekawa 12: PARI = ../pari
1.1 maekawa 13:
1.23 takayama 14: all: configure install-pari
1.1 maekawa 15: @if [ ! -f ./.make_done ]; then \
1.26 ohara 16: (cd ${ASIR} ; ${MAKE} all) \
1.1 maekawa 17: fi
18: @touch ./.make_done
19:
1.35 fujimoto 20: all-nox: configure-nox install-pari
21: @if [ ! -f ./.make_done ]; then \
22: (cd ${ASIR} ; ${MAKE} all) \
23: fi
24: @touch ./.make_done
25:
1.1 maekawa 26: install: all
1.26 ohara 27: (cd ${ASIR} ; ${MAKE} install-openxm)
1.38 ! ohara 28: # cp -p asir2000 ${PREFIX}/bin/
1.1 maekawa 29:
30: clean:
1.26 ohara 31: (cd ${ASIR} ; ${MAKE} clean)
1.24 takayama 32: @rm -f ./.make_* ./.configure_* ./.install-* ./.fetch*
1.1 maekawa 33:
1.10 takayama 34: distclean: clean
1.1 maekawa 35: @cat BINARIES | xargs -t rm -rf
36:
1.24 takayama 37: fetch:
38: @if [ ! -f .fetch_done ]; then \
1.27 ohara 39: for i in ${DISTFILES}; do \
1.33 ohara 40: ${OpenXM_HOME}/bin/oxfetch.sh ${MASTER_SITE}$$i ${DISTDIR}; \
1.27 ohara 41: done \
1.24 takayama 42: fi
43: @touch .fetch_done
44:
45: configure: fetch
1.1 maekawa 46: @if [ ! -f ./.configure_done ]; then \
1.19 ohara 47: (cd $(ASIR) ; \
1.32 noro 48: ./configure --enable-plot --prefix="`cd ../../OpenXM; pwd`") \
1.1 maekawa 49: fi
50: @touch ./.configure_done
1.35 fujimoto 51:
52: configure-nox: fetch
53: @if [ ! -f ./.configure_done ]; then \
54: (cd $(ASIR) ; \
55: ./configure --disable-plot --prefix="`cd ../../OpenXM; pwd`") \
56: fi
57: @touch ./.configure_done
58:
1.34 takayama 59: configure-static: fetch
60: @if [ ! -f ./.configure_done ]; then \
61: (cd $(ASIR) ; \
62: ./configure --enable-static-gmp --enable-plot --prefix="`cd ../../OpenXM; pwd`") \
63: fi
64: @touch ./.configure_done
1.14 noro 65:
1.36 kondoh 66: configure-interval: fetch
67: @if [ ! -f ./.configure_done ]; then \
68: (cd $(ASIR) ; \
69: ./configure --enable-plot --enable-interval --prefix="`cd ../../OpenXM; pwd`") \
70: fi
71: @touch ./.configure_done
72:
1.4 maekawa 73: install-pari:
1.6 maekawa 74: @if [ ! -f ./.install-pari_done ]; then \
1.26 ohara 75: (cd ${PARI} ; ${MAKE} install) \
1.6 maekawa 76: fi
77: @touch ./.install-pari_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>