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

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

1.9     ! ohara       1: # $OpenXM: OpenXM/src/gc/Makefile,v 1.8 2004/03/25 02:58:03 ohara 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.9     ! ohara       8: GC=gc6.2
1.8       ohara       9: PATCH_INTERIX = ${OpenXM_HOME}/../OpenXM_contrib2/asir2000/gc_interix.diff
1.7       takayama   10:
1.9     ! ohara      11: all : build
1.7       takayama   12:
                     13: fetch:
1.9     ! ohara      14:        -mkdir work
        !            15:        @if [ ! -f work/.fetch_done ]; then \
1.8       ohara      16:                ${OpenXM_HOME}/bin/oxfetch.sh ${MASTER_SITE}${DISTFILES} ${DISTDIR}; \
1.9     ! ohara      17:        fi
        !            18:        @touch work/.fetch_done
1.3       takayama   19:
1.8       ohara      20: extract: fetch
1.9     ! ohara      21:        @if [ ! -f work/.extract_done ]; then \
1.8       ohara      22:            cat ${DISTDIR}/${DISTFILES} | (cd work ; tar xzvf -) ; \
1.9     ! ohara      23:        fi
        !            24:        @touch work/.extract_done
1.8       ohara      25:
                     26: patch: extract
1.9     ! ohara      27:        @if [ ! -f work/.patch_done ]; then \
        !            28:            cat ${PATCH_INTERIX} | (cd work/${GC} ; patch -p0) ; \
        !            29:        fi
        !            30:        @touch work/.patch_done
        !            31:
        !            32: configure : patch
        !            33:        @if [ ! -f work/.configure_done ]; then \
        !            34:                (cd work/${GC} ; ./configure --prefix `cd ../..; cd ${OpenXM_HOME}; pwd`) ; \
1.8       ohara      35:        fi
1.9     ! ohara      36:        @touch work/.configure_done
1.1       takayama   37:
1.9     ! ohara      38: build : configure
        !            39:        @if [ ! -f work/.build_done ]; then \
        !            40:                (cd work/${GC} ; ${MAKE}) ; \
1.1       takayama   41:        fi
1.9     ! ohara      42:        @touch work/.build_done
1.6       ohara      43:
1.8       ohara      44: install: build
1.9     ! ohara      45:        @if [ ! -f work/.install_done ]; then \
        !            46:                (cd work/${GC} ; ${MAKE} install) ; \
1.6       ohara      47:        fi
1.9     ! ohara      48:        @touch work/.install_done
1.6       ohara      49:
1.7       takayama   50: clean:
1.8       ohara      51:        -$(RM) -rf work
                     52:
                     53: distclean: clean
                     54:

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