version 1.23, 2017/03/31 01:20:06 |
version 1.24, 2021/03/24 14:32:47 |
|
|
# $OpenXM: OpenXM/src/gmp/Makefile,v 1.22 2017/03/30 13:17:15 takayama Exp $ |
# $OpenXM: OpenXM/src/gmp/Makefile,v 1.23 2017/03/31 01:20:06 takayama Exp $ |
OpenXM_HOME=../.. |
OpenXM_HOME=../.. |
PREFIX=${OpenXM_HOME} |
PREFIX=${OpenXM_HOME} |
DISTDIR=${OpenXM_HOME}/../OpenXM_dist |
DISTDIR=${OpenXM_HOME}/../OpenXM_dist |
|
|
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` ; \ |
if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \ |
if [ -z $TARGET_TYPE ]; then \ |
make configure-cygwin ; \ |
if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \ |
elif [ "`uname | sed -e 's/_.*$$//'`" = "MSYS" ]; then \ |
make configure-cygwin ; \ |
make configure-msys ; \ |
elif [ "`uname | sed -e 's/_.*$$//'`" = "MSYS" ]; then \ |
else \ |
make configure-msys ; \ |
make configure-others ; \ |
else \ |
|
make configure-others ; \ |
|
fi ; \ |
|
else \ |
|
make configure-cross ; \ |
fi ; \ |
fi ; \ |
fi |
fi |
@touch work/.configure_done |
@touch work/.configure_done |
|
|
configure-others: |
configure-others: |
prefix=`cd ${OpenXM_HOME}; pwd` ; \ |
prefix=`cd ${OpenXM_HOME}; pwd` ; \ |
(cd ${WRKSRC}; CC=${CC} ./configure --prefix=$$prefix --enable-cxx) |
(cd ${WRKSRC}; CC=${CC} ./configure --prefix=$$prefix --enable-cxx) |
|
configure-cross: |
|
prefix=`cd ${OpenXM_HOME}; pwd` ; \ |
|
(cd ${WRKSRC}; CC=${CC} ./configure --host=${TARGET_TYPE} --prefix=$$prefix --enable-cxx) |
|
|
build : configure |
build : configure |
@if [ ! -f work/.build_done ]; then \ |
@if [ ! -f work/.build_done ]; then \ |