version 1.1, 2004/02/22 08:28:20 |
version 1.4, 2004/02/23 00:51:00 |
|
|
# $OpenXM$ |
# $OpenXM: OpenXM/src/gmp/Makefile-ports,v 1.3 2004/02/23 00:32:56 takayama Exp $ |
OpenXM_HOME=../.. |
OpenXM_HOME=../.. |
PREFIX=${OpenXM_HOME} |
PREFIX=${OpenXM_HOME} |
DISTDIR=${OpenXM_HOME}/../OpenXM_dist |
DISTDIR=${OpenXM_HOME}/../OpenXM_dist |
Line 7 MASTER_CITES=ftp.math.kobe-u.ac.jp |
|
Line 7 MASTER_CITES=ftp.math.kobe-u.ac.jp |
|
# MASTER_CITES2 = |
# MASTER_CITES2 = |
DISTFILES=gmp-3.1.1.tar.gz |
DISTFILES=gmp-3.1.1.tar.gz |
GMP=gmp-3.1.1 |
GMP=gmp-3.1.1 |
|
#DISTFILES=gmp-4.1.2.tar.gz |
|
#GMP=gmp-4.1.2 |
|
|
all : build |
all : build |
install : post-install |
install : post-install |
|
|
post-install: build |
post-install: build |
@if test ! -f .post-install_done ; \ |
@if test ! -f .post-install_done ; \ |
then \ |
then \ |
-mkdir ${PREFIX}/lib ${PREFIX}/bin ; \ |
if [ ! -d ${PREFIX}/lib ]; then mkdir ${PREFIX}/lib ; fi ; \ |
|
if [ ! -d ${PREFIX}/bin ]; then mkdir ${PREFIX}/bin ; fi ; \ |
(cd work/${GMP} ; make install) ; \ |
(cd work/${GMP} ; make install) ; \ |
|
(cd work/${GMP} ; cp gmp-impl.h config.h gmp-mparam.h ../../${OpenXM_HOME}/include) ; \ |
fi |
fi |
@touch .post-install_done |
@touch .post-install_done |
|
|