Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2494 | Rev 2495 |
|---|---|
| Line 1... | Line 1... |
include ${PETSC_DIR}/conf/rules |
# |
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
|
# SLEPc - Scalable Library for Eigenvalue Problem Computations |
|
# Copyright (c) 2002-2010, Universidad Politecnica de Valencia, Spain |
|
# |
|
# This file is part of SLEPc. |
|
# |
|
# SLEPc is free software: you can redistribute it and/or modify it under the |
|
# terms of version 3 of the GNU Lesser General Public License as published by |
|
# the Free Software Foundation. |
|
# |
|
# SLEPc is distributed in the hope that it will be useful, but WITHOUT ANY |
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
|
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for |
|
# more details. |
|
# |
|
# You should have received a copy of the GNU Lesser General Public License |
|
# along with SLEPc. If not, see <http://www.gnu.org/licenses/>. |
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
|
# |
|
chkslepc_dir: |
chkslepc_dir: |
@mypwd=`pwd`; cd ${SLEPC_DIR} 2>&1 > /dev/null; true_SLEPC_DIR=`pwd`; cd $${mypwd} 2>&1 >/dev/null; \ |
@mypwd=`pwd`; cd ${SLEPC_DIR} 2>&1 > /dev/null; true_SLEPC_DIR=`pwd`; cd $${mypwd} 2>&1 >/dev/null; \ |
newpwd=`echo $${mypwd} | sed "s+$${true_SLEPC_DIR}+DUMMY+g"`;\ |
newpwd=`echo $${mypwd} | sed "s+$${true_SLEPC_DIR}+DUMMY+g"`;\ |
hasslepc=`echo $${mypwd} | sed "s+slepc-+DUMMY+g"`;\ |
hasslepc=`echo $${mypwd} | sed "s+slepc-+DUMMY+g"`;\ |
| Line 73... | Line 92... |
echo "<a href=\"makefile.html\">makefile</a><br>" >> $${loc}/index.html |
echo "<a href=\"makefile.html\">makefile</a><br>" >> $${loc}/index.html |
-@loc=`pwd | sed -e s?\$${PETSC_DIR}?$${LOC}/?g -e s?/disks??g`; \ |
-@loc=`pwd | sed -e s?\$${PETSC_DIR}?$${LOC}/?g -e s?/disks??g`; \ |
cat makefile | ${C2HTML} | ${MAPNAMES} -map /tmp/$$USER.htmlmap -inhtml > $${loc}/makefile.html |
cat makefile | ${C2HTML} | ${MAPNAMES} -map /tmp/$$USER.htmlmap -inhtml > $${loc}/makefile.html |
-@${RM} /tmp/$$USER.htmlmap tmp |
-@${RM} /tmp/$$USER.htmlmap tmp |
slepctree: ${ACTION} |
slepc_tree: ${ACTION} |
-@for dir in ${DIRS} ftn-auto ftn-custom f90-custom; do \ |
-@for dir in ${DIRS} ftn-auto ftn-custom f90-custom; do \ |
if [ -d $$dir ]; then \ |
if [ -d $$dir ]; then \ |
if [ "${PETSC_ARCH}" = "arch-installed-petsc" ]; then \ |
if [ "${PETSC_ARCH}" = "arch-installed-petsc" ]; then \ |
PETSCCONF="${PETSC_DIR}/include/petscconf.h" ; \ |
PETSCCONF="${PETSC_DIR}/include/petscconf.h" ; \ |
else \ |
else \ |
| Line 134... | Line 153... |
else \ |
else \ |
continue; \ |
continue; \ |
fi; \ |
fi; \ |
(cd $$dir ; \ |
(cd $$dir ; \ |
echo ${ACTION} in: `pwd`; \ |
echo ${ACTION} in: `pwd`; \ |
${OMAKE} slepctree ACTION=${ACTION} PETSC_ARCH=${PETSC_ARCH} LOC=${LOC} DATAFILESPATH=${DATAFILESPATH} BASE_DIR=${BASE_DIR});\ |
${OMAKE} slepc_tree ACTION=${ACTION} PETSC_ARCH=${PETSC_ARCH} LOC=${LOC} DATAFILESPATH=${DATAFILESPATH} BASE_DIR=${BASE_DIR});\ |
done |
done |
# uses the cmake infrastructure to build/rebuild the libraries |
# uses the cmake infrastructure to build/rebuild the libraries |
slepc_cmake: |
slepc_cmake: |
@if [ "${SLEPC_BUILD_USING_CMAKE}" != "" ]; then \ |
@if [ "${SLEPC_BUILD_USING_CMAKE}" != "" ]; then \ |
${OMAKE} -j ${MAKE_NP} -C ${SLEPC_DIR}/${PETSC_ARCH}; \ |
${OMAKE} -j ${MAKE_NP} -C ${SLEPC_DIR}/${PETSC_ARCH}; \ |
else \ |
else \ |
echo "CMake builds are disabled"; \ |
echo "CMake builds are disabled"; \ |
fi |
fi |
include ${PETSC_DIR}/conf/rules |
|
include ${SLEPC_DIR}/${PETSC_ARCH}/conf/slepcrules |
include ${SLEPC_DIR}/${PETSC_ARCH}/conf/slepcrules |