[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / asir2000

Annotation of OpenXM/src/asir2000/Makefile, Revision 1.31

1.31    ! ohara       1: # $OpenXM: OpenXM/src/asir2000/Makefile,v 1.30 2012/08/27 05:05:57 noro 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.24      takayama    7: # Original. http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
1.30      noro        8: #DISTNAME=gc-7.2b
                      9: DISTNAME=gc6.8
1.24      takayama   10: DISTFILES=${DISTNAME}.tar.gz
1.1       maekawa    11:
                     12: ASIR = ../../../OpenXM_contrib2/asir2000
1.4       maekawa    13: PARI = ../pari
1.1       maekawa    14:
1.23      takayama   15: all: configure install-pari
1.1       maekawa    16:        @if [ ! -f ./.make_done ]; then \
1.26      ohara      17:                (cd ${ASIR} ; ${MAKE} all) \
1.1       maekawa    18:        fi
                     19:        @touch ./.make_done
                     20:
                     21: install: all
1.26      ohara      22:        (cd ${ASIR} ; ${MAKE} install-openxm)
1.1       maekawa    23:
                     24: clean:
1.26      ohara      25:        (cd ${ASIR} ; ${MAKE} clean)
1.24      takayama   26:        @rm -f ./.make_* ./.configure_* ./.install-* ./.fetch*
1.1       maekawa    27:
1.10      takayama   28: distclean: clean
1.1       maekawa    29:        @cat BINARIES | xargs -t rm -rf
                     30:
1.24      takayama   31: fetch:
                     32:        @if [ ! -f .fetch_done ]; then \
1.27      ohara      33:                for i in ${DISTFILES}; do \
                     34:                        ${OpenXM_HOME}/bin/oxfetch.sh ${MASTER_SITE}${DISTFILES} ${DISTDIR}; \
                     35:                done \
1.24      takayama   36:        fi
                     37:        @touch .fetch_done
                     38:
                     39: configure: fetch
1.1       maekawa    40:        @if [ ! -f ./.configure_done ]; then \
1.19      ohara      41:                (cd $(ASIR) ; \
1.21      ohara      42:             ./configure --enable-plot --with-pari --prefix="`cd ../../OpenXM; pwd`") \
1.1       maekawa    43:        fi
                     44:        @touch ./.configure_done
1.14      noro       45:
1.4       maekawa    46: install-pari:
1.6       maekawa    47:        @if [ ! -f ./.install-pari_done ]; then \
1.26      ohara      48:                (cd ${PARI} ; ${MAKE} install) \
1.6       maekawa    49:        fi
                     50:        @touch ./.install-pari_done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>