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

Annotation of OpenXM/src/gc/Makefile, Revision 1.8

1.8     ! ohara       1: # $OpenXM: OpenXM/src/gc/Makefile,v 1.7 2004/03/25 01:52:18 takayama Exp $
1.1       takayama    2: OpenXM_HOME=../..
1.7       takayama    3: PREFIX=${OpenXM_HOME}
                      4: DISTDIR=${OpenXM_HOME}/../OpenXM_dist
1.8     ! ohara       5: RM = /bin/rm
        !             6: MASTER_SITE=ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/
1.7       takayama    7: DISTFILES=gc6.2.tar.gz
1.8     ! ohara       8: PATCH_INTERIX = ${OpenXM_HOME}/../OpenXM_contrib2/asir2000/gc_interix.diff
1.7       takayama    9:
                     10: all : build
                     11:
                     12: fetch:
1.8     ! ohara      13:        @if [ ! -f .fetch_done ]; then \
        !            14:                ${OpenXM_HOME}/bin/oxfetch.sh ${MASTER_SITE}${DISTFILES} ${DISTDIR}; \
1.7       takayama   15:        fi
                     16:        @touch .fetch_done
1.3       takayama   17:
1.8     ! ohara      18: extract: fetch
        !            19:        -mkdir work
        !            20:        @if [ ! -f .extract_done ]; then \
        !            21:            cat ${DISTDIR}/${DISTFILES} | (cd work ; tar xzvf -) ; \
1.7       takayama   22:        fi
1.8     ! ohara      23:        @touch .extract_done
        !            24:
        !            25: patch: extract
        !            26:        @if [ ! -f .patch_done ]; then \
        !            27:            cat ${PATCH_INTERIX} | (cd work/gc6.2 ; patch -p0) ; \
        !            28:        fi
1.7       takayama   29:        @touch .patch_done
1.1       takayama   30:
1.7       takayama   31: build : patch
1.8     ! ohara      32:        @if [ ! -f .build_done ]; then \
        !            33:                (cd work/gc6.2 ; ./configure --prefix `cd ../..; cd ${OpenXM_HOME}; pwd`; ${MAKE}) ; \
1.1       takayama   34:        fi
1.7       takayama   35:        @touch .build_done
1.6       ohara      36:
1.8     ! ohara      37: install: build
        !            38:        @if [ ! -f .install_done ]; then \
        !            39:                (cd work/gc6.2 ; ${MAKE} install) ; \
1.6       ohara      40:        fi
1.8     ! ohara      41:        @touch .install_done
1.6       ohara      42:
1.7       takayama   43: clean:
1.8     ! ohara      44:        -$(RM) ./.*_done
        !            45:        -$(RM) -rf work
        !            46:
        !            47: distclean: clean
        !            48:

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