Annotation of OpenXM/src/asir2000/Makefile, Revision 1.34
1.34 ! takayama 1: # $OpenXM: OpenXM/src/asir2000/Makefile,v 1.33 2015/08/05 14:38:55 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:
20: install: all
1.26 ohara 21: (cd ${ASIR} ; ${MAKE} install-openxm)
1.1 maekawa 22:
23: clean:
1.26 ohara 24: (cd ${ASIR} ; ${MAKE} clean)
1.24 takayama 25: @rm -f ./.make_* ./.configure_* ./.install-* ./.fetch*
1.1 maekawa 26:
1.10 takayama 27: distclean: clean
1.1 maekawa 28: @cat BINARIES | xargs -t rm -rf
29:
1.24 takayama 30: fetch:
31: @if [ ! -f .fetch_done ]; then \
1.27 ohara 32: for i in ${DISTFILES}; do \
1.33 ohara 33: ${OpenXM_HOME}/bin/oxfetch.sh ${MASTER_SITE}$$i ${DISTDIR}; \
1.27 ohara 34: done \
1.24 takayama 35: fi
36: @touch .fetch_done
37:
38: configure: fetch
1.1 maekawa 39: @if [ ! -f ./.configure_done ]; then \
1.19 ohara 40: (cd $(ASIR) ; \
1.32 noro 41: ./configure --enable-plot --prefix="`cd ../../OpenXM; pwd`") \
1.1 maekawa 42: fi
43: @touch ./.configure_done
1.34 ! takayama 44: configure-static: fetch
! 45: @if [ ! -f ./.configure_done ]; then \
! 46: (cd $(ASIR) ; \
! 47: ./configure --enable-static-gmp --enable-plot --prefix="`cd ../../OpenXM; pwd`") \
! 48: fi
! 49: @touch ./.configure_done
1.14 noro 50:
1.4 maekawa 51: install-pari:
1.6 maekawa 52: @if [ ! -f ./.install-pari_done ]; then \
1.26 ohara 53: (cd ${PARI} ; ${MAKE} install) \
1.6 maekawa 54: fi
55: @touch ./.install-pari_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>