version 1.15, 2005/07/28 07:00:52 |
version 1.18, 2010/08/18 07:33:10 |
|
|
# $OpenXM: OpenXM/src/gc/Makefile,v 1.14 2005/06/22 12:42:46 takayama Exp $ |
# $OpenXM: OpenXM/src/gc/Makefile,v 1.17 2008/03/19 07:11:53 ohara Exp $ |
OpenXM_HOME=../.. |
OpenXM_HOME=../.. |
PREFIX=${OpenXM_HOME} |
PREFIX=${OpenXM_HOME} |
DISTDIR=${OpenXM_HOME}/../OpenXM_dist |
DISTDIR=${OpenXM_HOME}/../OpenXM_dist |
RM = /bin/rm |
RM = /bin/rm |
MASTER_SITE=ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/ |
MASTER_SITE=ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/ |
# Original. http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ |
# Original. http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ |
DISTNAME=gc6.5 |
DISTNAME=gc6.8 |
DISTFILES=${DISTNAME}.tar.gz |
DISTFILES=${DISTNAME}.tar.gz |
WRKSRC=work/${DISTNAME} |
WRKSRC=work/${DISTNAME} |
PATCHFILES = ${OpenXM_HOME}/../OpenXM_contrib2/asir2000/gc_interix.diff gc6_amd64.diff |
PATCHFILES = ${OpenXM_HOME}/../OpenXM_contrib2/asir2000/gc6.diff |
|
|
all : build |
all : build |
|
|
|
|
extract: fetch |
extract: fetch |
@if [ ! -f work/.extract_done ]; then \ |
@if [ ! -f work/.extract_done ]; then \ |
cat ${DISTDIR}/${DISTFILES} | (cd work; tar xzvf -) ; \ |
cat ${DISTDIR}/${DISTFILES} | (cd work; tar xzvf -) ; \ |
|
chmod +x ${WRKSRC}/install-sh ; \ |
fi |
fi |
@touch work/.extract_done |
@touch work/.extract_done |
|
|
patch: extract |
patch: extract |
@if [ ! -f work/.patch_done ]; then \ |
@if [ ! -f work/.patch_done ]; then \ |
for i in ${PATCHFILES} ; do \ |
for i in ${PATCHFILES} ; do \ |
cat $$i | (cd ${WRKSRC}; patch -p0) ; \ |
cat $$i | (cd ${WRKSRC}; patch -p1) ; \ |
done ; \ |
done ; \ |
fi |
fi |
@touch work/.patch_done |
@touch work/.patch_done |