version 1.2, 2003/11/03 22:06:09 |
version 1.3, 2003/11/07 13:41:37 |
|
|
# $OpenXM: OpenXM/src/ox_ntl/Makefile,v 1.1 2003/11/03 03:11:21 iwane Exp $ |
# $OpenXM: OpenXM/src/ox_ntl/Makefile,v 1.2 2003/11/03 22:06:09 ohara Exp $ |
# |
# |
# |
# |
# |
# |
Line 29 DISTFILEDIR=ntl-5.3.1 |
|
Line 29 DISTFILEDIR=ntl-5.3.1 |
|
DISTFILE=ntl-5.3.1.tar.gz |
DISTFILE=ntl-5.3.1.tar.gz |
WORK=$(PWD)/work |
WORK=$(PWD)/work |
|
|
|
GMPOPT=NTL_GMP_LIP=on GMP_PREFIX=${OpenXM_HOME} GMP_INCDIR=${OpenXM_HOME}/include GMP_LIBDIR=${OpenXM_HOME}/lib |
|
|
.SUFFIXES: .cpp .o .c |
.SUFFIXES: .cpp .o .c |
|
|
Line 88 patch-ntl: fetch-ntl |
|
Line 89 patch-ntl: fetch-ntl |
|
|
|
build-ntl: patch-ntl |
build-ntl: patch-ntl |
@if [ ! -f .build-ntl-done ]; then \ |
@if [ ! -f .build-ntl-done ]; then \ |
(cd ${WORK}/${DISTFILEDIR}/src; ./configure LIBDIR=${NTL_LIBDIR} PREFIX=${PREFIX}; make); \ |
(cd ${WORK}/${DISTFILEDIR}/src; ./configure LIBDIR=${NTL_LIBDIR} PREFIX=${PREFIX} ${GMPOPT}; make); \ |
touch .build-ntl-done; \ |
touch .build-ntl-done; \ |
fi |
fi |
|
|