version 1.19, 2012/02/18 05:11:51 |
version 1.21, 2015/09/28 05:52:13 |
|
|
# $OpenXM: OpenXM/src/gmp/Makefile,v 1.18 2009/12/03 05:45:35 ohara Exp $ |
# $OpenXM: OpenXM/src/gmp/Makefile,v 1.20 2015/02/21 06:20:36 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=http://www.math.kobe-u.ac.jp/pub/OpenXM/misc/ |
DISTNAME=gmp-5.0.4 |
DISTNAME=gmp-5.0.4 |
DISTFILES=${DISTNAME}.tar.bz2 |
DISTFILES=${DISTNAME}.tar.bz2 |
WRKSRC=work/${DISTNAME} |
WRKSRC=work/${DISTNAME} |
|
|
fi |
fi |
@touch work/.patch_done |
@touch work/.patch_done |
|
|
configure: patch |
configure : patch |
@if [ ! -f work/.configure_done ]; then \ |
@if [ ! -f work/.configure_done ]; then \ |
prefix=`cd ${OpenXM_HOME}; pwd` ; \ |
prefix=`cd ${OpenXM_HOME}; pwd` ; \ |
(cd ${WRKSRC} ; CC=${CC} ./configure --prefix="$$prefix" --enable-cxx) ; \ |
if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \ |
|
make configure-cygwin ; \ |
|
elif [ "`uname | sed -e 's/_.*$$//'`" = "MSYS" ]; then \ |
|
make configure-msys ; \ |
|
else \ |
|
make configure-others ; \ |
|
fi ; \ |
fi |
fi |
@touch work/.configure_done |
@touch work/.configure_done |
|
|
|
configure-cygwin: |
|
prefix=`cd ${OpenXM_HOME}; pwd` ; \ |
|
(cd ${WRKSRC}; CC=${CC} ./configure --prefix=$$prefix --enable-cxx --enable-static --disable-shared) |
|
configure-msys: |
|
prefix=`cd ${OpenXM_HOME}; pwd` ; \ |
|
(cd ${WRKSRC}; CC=${CC} ./configure --prefix=$$prefix --enable-cxx --build=x86_64-w64-mingw32 ) |
|
configure-others: |
|
prefix=`cd ${OpenXM_HOME}; pwd` ; \ |
|
(cd ${WRKSRC}; CC=${CC} ./configure --prefix=$$prefix --enable-cxx) |
|
|
build : configure |
build : configure |
@if [ ! -f work/.build_done ]; then \ |
@if [ ! -f work/.build_done ]; then \ |