version 1.4, 2003/11/08 12:35:08 |
version 1.5, 2003/11/12 12:56:05 |
|
|
# $OpenXM: OpenXM/src/ox_ntl/Makefile,v 1.3 2003/11/07 13:41:37 iwane Exp $ |
# $OpenXM: OpenXM/src/ox_ntl/Makefile,v 1.4 2003/11/08 12:35:08 iwane Exp $ |
# |
# |
# |
# |
# |
# |
|
|
|
|
PROG=ox_ntl |
PROG=ox_ntl |
|
|
|
OpenXM_HOME=../.. |
|
|
CPP=g++ |
CPP=g++ |
CC =gcc |
CC =gcc |
|
|
|
|
clean: |
clean: |
-$(RM) -f $(OBJC) $(PROG) ox_ntl_debug oxserv_debug |
-$(RM) -f $(OBJC) $(PROG) ox_ntl_debug oxserv_debug |
-$(RM) -fr ${WORK} |
-$(RM) -fr ${WORK} |
-$(RM) -f .*-ntl-done |
@-$(RM) -f .*-ntl-done |
|
|
|
|
pre-fetch-ntl: |
pre-fetch-ntl: |
Line 101 patch-ntl: fetch-ntl |
|
Line 103 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} ${GMPOPT}; make); \ |
(cd ${WORK}/${DISTFILEDIR}/src; LD_LIBRARY_PATH=${OpenXM_HOME}/lib; export LD_LIBRARY_PATH; ./configure LIBDIR=${NTL_LIBDIR} PREFIX=${PREFIX} ${GMPOPT}; make); \ |
touch .build-ntl-done; \ |
touch .build-ntl-done; \ |
fi |
fi |
|
|