Annotation of OpenXM/src/asir2000/Makefile, Revision 1.26
1.26 ! ohara 1: # $OpenXM: OpenXM/src/asir2000/Makefile,v 1.25 2007/08/20 05:47:34 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.25 ohara 8: DISTNAME=gc6.8
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 \
32: ${OpenXM_HOME}/bin/oxfetch.sh ${MASTER_SITE}${DISTFILES} ${DISTDIR}; \
33: fi
34: @touch .fetch_done
35:
36: configure: fetch
1.1 maekawa 37: @if [ ! -f ./.configure_done ]; then \
1.19 ohara 38: (cd $(ASIR) ; \
1.21 ohara 39: ./configure --enable-plot --with-pari --prefix="`cd ../../OpenXM; pwd`") \
1.1 maekawa 40: fi
41: @touch ./.configure_done
1.14 noro 42:
1.4 maekawa 43: install-pari:
1.6 maekawa 44: @if [ ! -f ./.install-pari_done ]; then \
1.26 ! ohara 45: (cd ${PARI} ; ${MAKE} install) \
1.6 maekawa 46: fi
47: @touch ./.install-pari_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>