2
# ************************************************************************
4
# Meros: Segregated Preconditioning Package
5
# Copyright (2004) Sandia Corporation
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.
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.
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.
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
24
# Questions? Contact Michael A. Heroux (maherou@sandia.gov)
26
# ************************************************************************
29
# The following line helps the test harness recover from build errors.
33
@echo "Trilinos package meros subdirectory src-thrya built successfully."
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
# ------------------------------------------------------------------------
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)
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
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
76
$(srcdir)/Meros_Version.h
91
# Files which are included in select builds are typically have
92
# names that start with EXTRA
94
# EXTRA_MPI is control by --with-mpi and --without-mpi which is
95
# set up by TAC_ARC_CONFIG_MPI
130
include $(top_builddir)/Makefile.export.meros
131
AM_CPPFLAGS = $(MEROS_INCLUDES)
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
209
# ------------------------------------------------------------------------
210
# meros library specifications
211
# ------------------------------------------------------------------------
213
MEROS_LIB = libmeros.a
227
libmeros_a_SOURCES = \
237
#We need the following to support separate build directories
238
#AM_CPPFLAGS=-I$(builddir)/src
239
# ------------------------------------------------------------------------
240
# For using a special archiver
241
# ------------------------------------------------------------------------
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.
249
libmeros_a_AR = $(ALTERNATE_AR)
252
libmeros_a_AR = $(AR) cru
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
# ------------------------------------------------------------------------
261
libmeros_a_LIBADD = $(XTRALDADD)
263
# ------------------------------------------------------------------------
264
# List of all libraries to install in $(libexecdir)
265
# ------------------------------------------------------------------------
267
lib_LIBRARIES = $(MEROS_LIB)
269
# ------------------------------------------------------------------------
270
# List of all headers to install in $(includedir)
271
# ------------------------------------------------------------------------
273
include_HEADERS = $(MEROS_H)
275
# ------------------------------------------------------------------------
276
# Special stuff to install in our special $(execincludedir)
277
# ------------------------------------------------------------------------
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
284
execincludedir = $(includedir)
285
nodist_execinclude_HEADERS = Meros_Config.h
287
# ------------------------------------------------------------------------
288
# Files to be deleted by 'make maintainer-clean'
289
# ------------------------------------------------------------------------
291
MAINTAINERCLEANFILES = Makefile.in