~ubuntu-branches/ubuntu/karmic/hypre/karmic

« back to all changes in this revision

Viewing changes to src/multivector/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2009-03-20 11:40:12 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090320114012-132h6ok9w2r6o609
Tags: 2.4.0b-2
Rebuild against new openmpi.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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.
5
 
# All rights reserved.
6
 
#
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.
10
5
#
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.
14
 
#
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.
19
 
#
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
23
 
#
24
 
# $Revision: 1.10 $
 
7
# terms of the GNU Lesser General Public License (as published by the Free
 
8
# Software Foundation) version 2.1 dated February 1999.
 
9
#
 
10
# $Revision: 1.12 $
25
11
#EHEADER**********************************************************************
26
12
 
27
13
 
28
14
 
29
15
 
 
16
 
 
17
 
 
18
 
 
19
 
30
20
include ../config/Makefile.config
31
21
 
32
22
CINCLUDES = ${INCLUDES} ${MPIINCLUDE}
52
42
##################################################################
53
43
 
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
57
47
 
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)
61
51
 
62
52
clean:
63
53
        rm -f *.o libHYPRE*
74
64
        ${AR} $@ ${OBJS}
75
65
        ${RANLIB} $@
76
66
 
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
80
 
        ln -s $@.2.0.0 $@
 
69
        ${BUILD_CC_SHARED} -o $@ ${OBJS}
81
70
 
82
71
${OBJS}: ${HEADERS}