~chaffra/+junk/trilinos

« back to all changes in this revision

Viewing changes to packages/meros/src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme, Christophe Prud'homme, Johannes Ring
  • Date: 2009-12-13 12:53:22 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091213125322-in0nrdjc55deqsw9
Tags: 10.0.3.dfsg-1
[Christophe Prud'homme]
* New upstream release

[Johannes Ring]
* debian/patches/libname.patch: Add prefix 'libtrilinos_' to all
  libraries. 
* debian/patches/soname.patch: Add soversion to libraries.
* debian/watch: Update download URL.
* debian/control:
  - Remove python-numeric from Build-Depends (virtual package).
  - Remove automake and autotools from Build-Depends and add cmake to
    reflect switch to CMake.
  - Add python-support to Build-Depends.
* debian/rules: 
  - Cleanup and updates for switch to CMake.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# @HEADER
2
 
# ************************************************************************
3
 
4
 
#              Meros: Segregated Preconditioning Package
5
 
#                 Copyright (2004) Sandia Corporation
6
 
7
 
# Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
8
 
# license for use of this work by or on behalf of the U.S. Government.
9
 
10
 
# This library is free software; you can redistribute it and/or modify
11
 
# it under the terms of the GNU Lesser General Public License as
12
 
# published by the Free Software Foundation; either version 2.1 of the
13
 
# License, or (at your option) any later version.
14
 
#  
15
 
# This library is distributed in the hope that it will be useful, but
16
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
17
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18
 
# Lesser General Public License for more details.
19
 
#  
20
 
# You should have received a copy of the GNU Lesser General Public
21
 
# License along with this library; if not, write to the Free Software
22
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
23
 
# USA
24
 
# Questions? Contact Michael A. Heroux (maherou@sandia.gov) 
25
 
26
 
# ************************************************************************
27
 
# @HEADER
28
 
 
29
 
# The following line helps the test harness recover from build errors.
30
 
 
31
 
all-local:
32
 
        @echo ""
33
 
        @echo "Trilinos package meros subdirectory src-thrya built successfully."
34
 
        @echo ""
35
 
 
36
 
# ------------------------------------------------------------------------
37
 
# For each category, create two variables - NAME and NAME_H. The
38
 
# second is the list of headers to be installed, i.e., any header that
39
 
# might someday be needed by some other code outside meros. The first is
40
 
# the list of all source and any other header files.
41
 
# ------------------------------------------------------------------------
42
 
 
43
 
#
44
 
# There is, at present, no distinction between most of the categories, 
45
 
# other than those which start with EXTRA_.  All categories which do not
46
 
# start with EXTRA_ are included in all builds.  Categories which start
47
 
# with EXTRA_ are included in some builds (typically controlled by 
48
 
# --with-xyz or --without-xyz)
49
 
#
50
 
CORE_H = \
51
 
        $(srcdir)/Meros_AztecSolveStrategy.hpp        \
52
 
        $(srcdir)/Meros_ConfigDefs.h                  \
53
 
        $(srcdir)/Meros_IdentityOperator.hpp          \
54
 
        $(srcdir)/Meros_InverseOperator.hpp           \
55
 
        $(srcdir)/Meros_LinearSolver.hpp              \
56
 
        $(srcdir)/Meros_LinearSolveStrategy.hpp       \
57
 
        $(srcdir)/Meros_LSCOperatorSource.h           \
58
 
        $(srcdir)/Meros_LSCPreconditionerFactory.h    \
59
 
        $(srcdir)/Meros_PCDOperatorSource.h           \
60
 
        $(srcdir)/Meros_PCDPreconditionerFactory.h    \
61
 
        $(srcdir)/Meros_Preconditioner.hpp            \
62
 
        $(srcdir)/Meros_PreconditioningStrategy.hpp   \
63
 
        $(srcdir)/Meros_SIMPLEOperatorSource.h        \
64
 
        $(srcdir)/Meros_SIMPLEPreconditionerFactory.h \
65
 
        $(srcdir)/Meros_ZeroOperator.hpp              
66
 
 
67
 
CORE = \
68
 
        $(srcdir)/Meros_LSCOperatorSource.cpp         \
69
 
        $(srcdir)/Meros_LSCPreconditionerFactory.cpp  \
70
 
        $(srcdir)/Meros_PCDOperatorSource.cpp         \
71
 
        $(srcdir)/Meros_PCDPreconditionerFactory.cpp  \
72
 
        $(srcdir)/Meros_SIMPLEOperatorSource.cpp      \
73
 
        $(srcdir)/Meros_SIMPLEPreconditionerFactory.cpp  
74
 
 
75
 
UTIL_H = \
76
 
        $(srcdir)/Meros_Version.h
77
 
 
78
 
UTIL = 
79
 
 
80
 
ENUM_H = 
81
 
 
82
 
UNIPROC_H = 
83
 
 
84
 
UNIPROC = 
85
 
 
86
 
SERIAL_H = 
87
 
 
88
 
SERIAL = 
89
 
 
90
 
#
91
 
#  Files which are included in select builds are typically have
92
 
#  names that start with EXTRA
93
 
#
94
 
#  EXTRA_MPI is control by --with-mpi and --without-mpi which is
95
 
#  set up by TAC_ARC_CONFIG_MPI 
96
 
#
97
 
EXTRA_MPI_H =
98
 
 
99
 
EXTRA_MPI = 
100
 
 
101
 
if HAVE_MPI 
102
 
MPI_H = \
103
 
        $(EXTRA_MPI_H)
104
 
MPI = \
105
 
        $(EXTRA_MPI)
106
 
 
107
 
else
108
 
 
109
 
MPI_H =
110
 
MPI =
111
 
 
112
 
endif
113
 
 
114
 
 
115
 
USERBASE_H = 
116
 
 
117
 
 
118
 
LANG_WRAPS_H = 
119
 
 
120
 
LANG_WRAPS = 
121
 
 
122
 
DIST_H = 
123
 
 
124
 
DIST = 
125
 
 
126
 
COMP_H =
127
 
 
128
 
COMP = 
129
 
 
130
 
include $(top_builddir)/Makefile.export.meros
131
 
AM_CPPFLAGS = $(MEROS_INCLUDES)
132
 
 
133
 
#AM_CPPFLAGS = -I$(top_builddir)/include
134
 
#AM_CPPFLAGS = -I$(srcdir) \
135
 
#              -I$(top_builddir)/../meros/src                     \
136
 
#              -I$(top_srcdir)/../teuchos/src                    \
137
 
#              -I$(top_builddir)/../teuchos/src                   \
138
 
#              -I$(top_srcdir)/../rtop/src                       \
139
 
#              -I$(top_builddir)/../rtop/src                      \
140
 
#              -I$(top_srcdir)/../rtop/src/interfaces            \
141
 
#              -I$(top_builddir)/../rtop/src/interfaces           \
142
 
#              -I$(top_srcdir)/../rtop/src/ops_lib               \
143
 
#              -I$(top_builddir)/../rtop/src/ops_lib              \
144
 
#              -I$(top_srcdir)/../rtop/src/support               \
145
 
#              -I$(top_builddir)/../rtop/src/support              \
146
 
#              -I$(top_srcdir)/../thyra/src                       \
147
 
#              -I$(top_builddir)/../thyra/src/                    \
148
 
# -I$(top_builddir)/../thyra/src/interfaces/operator_solve/ana/extended     \
149
 
# -I$(top_srcdir)/../thyra/src/interfaces/operator_solve/ana/extended       \
150
 
# -I$(top_builddir)/../thyra/src/interfaces/operator_solve/ana/fundamental  \
151
 
# -I$(top_srcdir)/../thyra/src/interfaces/operator_solve/ana/fundamental    \
152
 
# -I$(top_builddir)/../thyra/src/interfaces/operator_vector/ana/extended    \
153
 
# -I$(top_srcdir)/../thyra/src/interfaces/operator_vector/ana/extended      \
154
 
# -I$(top_builddir)/../thyra/src/interfaces/operator_vector/ana/fundamental \
155
 
# -I$(top_srcdir)/../thyra/src/interfaces/operator_vector/ana/fundamental   \
156
 
# -I$(top_builddir)/../thyra/src/interfaces/operator_vector/app             \
157
 
# -I$(top_srcdir)/../thyra/src/interfaces/operator_vector/app               \
158
 
# -I$(top_builddir)/../thyra/src/support/operator_solve/client_support      \
159
 
# -I$(top_srcdir)/../thyra/src/support/operator_solve/client_support        \
160
 
# -I$(top_builddir)/../thyra/src/support/operator_vector/adapter_support    \
161
 
# -I$(top_srcdir)/../thyra/src/support/operator_vector/adapter_support      \
162
 
# -I$(top_builddir)/../thyra/src/support/operator_vector/client_support     \
163
 
# -I$(top_srcdir)/../thyra/src/support/operator_vector/client_support       \
164
 
#              -I$(top_srcdir)/../epetra/src              \
165
 
#              -I$(top_builddir)/../epetra/src             \
166
 
#              -I$(top_srcdir)/../epetra/thyra/src        \
167
 
#              -I$(top_builddir)/../epetra/thyra/src       \
168
 
#              -I$(top_srcdir)/../epetraext/src           \
169
 
#              -I$(top_builddir)/../epetraext/src          \
170
 
#              -I$(top_srcdir)/../epetraext/src/inout     \
171
 
#              -I$(top_builddir)/../epetraext/inout        \
172
 
#              -I$(top_srcdir)/../aztecoo/src              \
173
 
#              -I$(top_srcdir)/../ml/src/                  \
174
 
#              -I$(top_srcdir)/../ml/src/Coarsen           \
175
 
#              -I$(top_srcdir)/../ml/src/Comm              \
176
 
#              -I$(top_srcdir)/../ml/src/FEGrid            \
177
 
#              -I$(top_srcdir)/../ml/src/Include           \
178
 
#              -I$(top_srcdir)/../ml/src/Krylov            \
179
 
#              -I$(top_srcdir)/../ml/src/Main              \
180
 
#              -I$(top_srcdir)/../ml/src/MatrixFree        \
181
 
#              -I$(top_srcdir)/../ml/src/MLAPI             \
182
 
#              -I$(top_srcdir)/../ml/src/Mrtr              \
183
 
#              -I$(top_srcdir)/../ml/src/NonlinML          \
184
 
#              -I$(top_srcdir)/../ml/src/Operator          \
185
 
#              -I$(top_srcdir)/../ml/src/Runtime           \
186
 
#              -I$(top_srcdir)/../ml/src/Smoother          \
187
 
#              -I$(top_srcdir)/../ml/src/Utils             \
188
 
#              -I$(top_builddir)/../aztecoo/src              \
189
 
#              -I$(top_builddir)/../ml/src/                  \
190
 
#              -I$(top_builddir)/../ml/src/Coarsen           \
191
 
#              -I$(top_builddir)/../ml/src/Comm              \
192
 
#              -I$(top_builddir)/../ml/src/FEGrid            \
193
 
#              -I$(top_builddir)/../ml/src/Include           \
194
 
#              -I$(top_builddir)/../ml/src/Krylov            \
195
 
#              -I$(top_builddir)/../ml/src/Main              \
196
 
#              -I$(top_builddir)/../ml/src/MatrixFree        \
197
 
#              -I$(top_builddir)/../ml/src/MLAPI             \
198
 
#              -I$(top_builddir)/../ml/src/Mrtr              \
199
 
#              -I$(top_builddir)/../ml/src/NonlinML          \
200
 
#              -I$(top_builddir)/../ml/src/Operator          \
201
 
#              -I$(top_builddir)/../ml/src/Runtime           \
202
 
#              -I$(top_builddir)/../ml/src/Smoother          \
203
 
#              -I$(top_builddir)/../ml/src/Utils             \
204
 
#              -I$(top_builddir)/../aztecoo/src              \
205
 
#              -I$(top_builddir)/../aztecoo/thyra/src  
206
 
 
207
 
 
208
 
 
209
 
# ------------------------------------------------------------------------
210
 
# meros  library specifications
211
 
# ------------------------------------------------------------------------
212
 
 
213
 
MEROS_LIB = libmeros.a
214
 
 
215
 
 
216
 
MEROS_H = \
217
 
        $(CORE_H) \
218
 
        $(UTIL_H) \
219
 
        $(ENUM_H) \
220
 
        $(UNIPROC_H) \
221
 
        $(SERIAL_H) \
222
 
        $(USERBASE_H) \
223
 
        $(DIST_H) \
224
 
        $(COMP_H) \
225
 
        $(MPI_H)
226
 
 
227
 
libmeros_a_SOURCES = \
228
 
        $(CORE) \
229
 
        $(UTIL) \
230
 
        $(UNIPROC) \
231
 
        $(SERIAL) \
232
 
        $(DIST) \
233
 
        $(COMP) \
234
 
        $(MPI)
235
 
 
236
 
 
237
 
#We need the following to support separate build directories
238
 
#AM_CPPFLAGS=-I$(builddir)/src
239
 
# ------------------------------------------------------------------------
240
 
# For using a special archiver
241
 
# ------------------------------------------------------------------------
242
 
 
243
 
# SPECIAL NOTE: Why is the "else" there?  For some reason, automake
244
 
# fails to define <lib>_AR of USE_ALTERNATE_AR is false, so we have to
245
 
# define it manually.
246
 
 
247
 
if USE_ALTERNATE_AR
248
 
 
249
 
libmeros_a_AR = $(ALTERNATE_AR)
250
 
else
251
 
 
252
 
libmeros_a_AR = $(AR) cru
253
 
 
254
 
endif
255
 
 
256
 
# ------------------------------------------------------------------------
257
 
# Some C++ compilers create extra .o-files for templates. We need to
258
 
# be sure to include these, and this is the hack to do it.
259
 
# ------------------------------------------------------------------------
260
 
 
261
 
libmeros_a_LIBADD = $(XTRALDADD)
262
 
 
263
 
# ------------------------------------------------------------------------
264
 
# List of all libraries to install in $(libexecdir)
265
 
# ------------------------------------------------------------------------
266
 
 
267
 
lib_LIBRARIES = $(MEROS_LIB)
268
 
 
269
 
# ------------------------------------------------------------------------
270
 
# List of all headers to install in $(includedir)
271
 
# ------------------------------------------------------------------------
272
 
 
273
 
include_HEADERS = $(MEROS_H) 
274
 
 
275
 
# ------------------------------------------------------------------------
276
 
# Special stuff to install in our special $(execincludedir)
277
 
# ------------------------------------------------------------------------
278
 
 
279
 
# SPECIAL NOTE: meros_config.h is a machine-dependent file, so we need
280
 
# to install it in the machine-dependent directory. However, that is
281
 
# not a default installation directory, so we had to create it
282
 
# special.
283
 
 
284
 
execincludedir = $(includedir)
285
 
nodist_execinclude_HEADERS = Meros_Config.h
286
 
 
287
 
# ------------------------------------------------------------------------
288
 
# Files to be deleted by 'make maintainer-clean'
289
 
# ------------------------------------------------------------------------
290
 
 
291
 
MAINTAINERCLEANFILES = Makefile.in 
292
 
 
293
 
 
294
 
 
295
 
 
296
 
 
297