Annotation of OpenXM/src/gc/Makefile, Revision 1.11
1.11 ! takayama 1: # $OpenXM: OpenXM/src/gc/Makefile,v 1.10 2004/03/31 01:06:10 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 \
1.10 ohara 34: prefix=`cd ${OpenXM_HOME}; pwd` ; \
1.11 ! takayama 35: (cd work/${GC} ; ./configure --disable-threads --prefix="$$prefix" ) ; \
1.8 ohara 36: fi
1.9 ohara 37: @touch work/.configure_done
1.1 takayama 38:
1.9 ohara 39: build : configure
40: @if [ ! -f work/.build_done ]; then \
41: (cd work/${GC} ; ${MAKE}) ; \
1.1 takayama 42: fi
1.9 ohara 43: @touch work/.build_done
1.6 ohara 44:
1.8 ohara 45: install: build
1.9 ohara 46: @if [ ! -f work/.install_done ]; then \
47: (cd work/${GC} ; ${MAKE} install) ; \
1.6 ohara 48: fi
1.9 ohara 49: @touch work/.install_done
1.6 ohara 50:
1.7 takayama 51: clean:
1.8 ohara 52: -$(RM) -rf work
53:
54: distclean: clean
55:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>