Annotation of OpenXM/src/asir2000/Makefile, Revision 1.35
1.35 ! fujimoto 1: # $OpenXM: OpenXM/src/asir2000/Makefile,v 1.34 2016/09/23 03:04:22 takayama 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.1 maekawa 28:
29: clean:
1.26 ohara 30: (cd ${ASIR} ; ${MAKE} clean)
1.24 takayama 31: @rm -f ./.make_* ./.configure_* ./.install-* ./.fetch*
1.1 maekawa 32:
1.10 takayama 33: distclean: clean
1.1 maekawa 34: @cat BINARIES | xargs -t rm -rf
35:
1.24 takayama 36: fetch:
37: @if [ ! -f .fetch_done ]; then \
1.27 ohara 38: for i in ${DISTFILES}; do \
1.33 ohara 39: ${OpenXM_HOME}/bin/oxfetch.sh ${MASTER_SITE}$$i ${DISTDIR}; \
1.27 ohara 40: done \
1.24 takayama 41: fi
42: @touch .fetch_done
43:
44: configure: fetch
1.1 maekawa 45: @if [ ! -f ./.configure_done ]; then \
1.19 ohara 46: (cd $(ASIR) ; \
1.32 noro 47: ./configure --enable-plot --prefix="`cd ../../OpenXM; pwd`") \
1.1 maekawa 48: fi
49: @touch ./.configure_done
1.35 ! fujimoto 50:
! 51: configure-nox: fetch
! 52: @if [ ! -f ./.configure_done ]; then \
! 53: (cd $(ASIR) ; \
! 54: ./configure --disable-plot --prefix="`cd ../../OpenXM; pwd`") \
! 55: fi
! 56: @touch ./.configure_done
! 57:
1.34 takayama 58: configure-static: fetch
59: @if [ ! -f ./.configure_done ]; then \
60: (cd $(ASIR) ; \
61: ./configure --enable-static-gmp --enable-plot --prefix="`cd ../../OpenXM; pwd`") \
62: fi
63: @touch ./.configure_done
1.14 noro 64:
1.4 maekawa 65: install-pari:
1.6 maekawa 66: @if [ ! -f ./.install-pari_done ]; then \
1.26 ohara 67: (cd ${PARI} ; ${MAKE} install) \
1.6 maekawa 68: fi
69: @touch ./.install-pari_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>