Annotation of OpenXM/src/asir2000/Makefile, Revision 1.28
1.28 ! ohara 1: # $OpenXM: OpenXM/src/asir2000/Makefile,v 1.27 2012/05/07 13:35:51 ohara 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.28 ! ohara 8: DISTNAME=gc-7.2alpha6
1.24 takayama 9: DISTFILES=${DISTNAME}.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 \
33: ${OpenXM_HOME}/bin/oxfetch.sh ${MASTER_SITE}${DISTFILES} ${DISTDIR}; \
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.21 ohara 41: ./configure --enable-plot --with-pari --prefix="`cd ../../OpenXM; pwd`") \
1.1 maekawa 42: fi
43: @touch ./.configure_done
1.14 noro 44:
1.4 maekawa 45: install-pari:
1.6 maekawa 46: @if [ ! -f ./.install-pari_done ]; then \
1.26 ohara 47: (cd ${PARI} ; ${MAKE} install) \
1.6 maekawa 48: fi
49: @touch ./.install-pari_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>