1
1
#BHEADER**********************************************************************
2
# Copyright (c) 2006 The Regents of the University of California.
2
# Copyright (c) 2008, Lawrence Livermore National Security, LLC.
3
3
# Produced at the Lawrence Livermore National Laboratory.
4
# Written by the HYPRE team. UCRL-CODE-222953.
7
# This file is part of HYPRE (see http://www.llnl.gov/CASC/hypre/).
8
# Please see the COPYRIGHT_and_LICENSE file for the copyright notice,
9
# disclaimer, contact information and the GNU Lesser General Public License.
4
# This file is part of HYPRE. See file COPYRIGHT for details.
11
6
# HYPRE is free software; you can redistribute it and/or modify it under the
12
# terms of the GNU General Public License (as published by the Free Software
13
# Foundation) version 2.1 dated February 1999.
15
# HYPRE is distributed in the hope that it will be useful, but WITHOUT ANY
16
# WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY or FITNESS
17
# FOR A PARTICULAR PURPOSE. See the terms and conditions of the GNU General
18
# Public License for more details.
20
# You should have received a copy of the GNU Lesser General Public License
21
# along with this program; if not, write to the Free Software Foundation,
22
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
7
# terms of the GNU Lesser General Public License (as published by the Free
8
# Software Foundation) version 2.1 dated February 1999.
25
11
#EHEADER**********************************************************************
30
20
include ../config/Makefile.config
32
22
CINCLUDES = ${INCLUDES} ${MPIINCLUDE}
52
42
##################################################################
54
44
all: libHYPRE_multivector${HYPRE_LIB_SUFFIX}
55
cp -fpd *.h $(HYPRE_BUILD_DIR)/include
56
cp -fpd libHYPRE* $(HYPRE_BUILD_DIR)/lib
45
cp -fp *.h $(HYPRE_BUILD_DIR)/include
46
cp -fp libHYPRE* $(HYPRE_BUILD_DIR)/lib
58
48
install: libHYPRE_multivector${HYPRE_LIB_SUFFIX}
59
cp -fpd *.h $(HYPRE_INC_INSTALL)
60
cp -fpd libHYPRE* $(HYPRE_LIB_INSTALL)
49
cp -f *.h $(HYPRE_INC_INSTALL)
50
cp -f libHYPRE* $(HYPRE_LIB_INSTALL)
63
53
rm -f *.o libHYPRE*
77
libHYPRE_multivector.so: ${OBJS} ../utilities/libHYPRE_utilities.so
67
libHYPRE_multivector.so: ${OBJS}
78
68
@echo "Building $@ ... "
79
${BUILD_CC_SHARED} $^ -o $@.2.0.0 -Wl,-soname,$@.2.0.0 -Wl,-z,defs
69
${BUILD_CC_SHARED} -o $@ ${OBJS}
82
71
${OBJS}: ${HEADERS}