2
# ************************************************************************
4
# Amesos: Direct Sparse Solver 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
# ************************************************************************
35
TEST_SINGLE_AMESOS_THYRA_SOLVER_DRIVER = test_single_amesos_thyra_solver_driver
36
TEST_AMESOS_THYRA_DRIVER = test_amesos_thyra_driver
38
# 2007/06/15: rabartl : ToDo: I may have to put in configure logic to only
39
# build these examples if epetraext is enabled!
41
noinst_PROGRAMS = $(TEST_SINGLE_AMESOS_THYRA_SOLVER_DRIVER) $(TEST_AMESOS_THYRA_DRIVER)
43
test_single_amesos_thyra_solver_driver_SOURCES = $(srcdir)/test_single_amesos_thyra_solver_driver.cpp $(common_sources)
44
test_single_amesos_thyra_solver_driver_DEPENDENCIES = $(common_dependencies)
45
test_single_amesos_thyra_solver_driver_LDADD = $(common_ldadd)
47
test_amesos_thyra_driver_SOURCES = $(srcdir)/test_amesos_thyra_driver.cpp $(common_sources)
48
test_amesos_thyra_driver_DEPENDENCIES = $(common_dependencies) FourByFour.mtx
49
test_amesos_thyra_driver_LDADD = $(common_ldadd)
52
cp $(top_srcdir)/../amesos/test/Test_Basic/In_bcsstk01.mtx bcsstk01.mtx
53
cp $(top_srcdir)/../amesos/test/Test_Basic/In_bcsstk02.mtx bcsstk02.mtx
54
cp $(top_srcdir)/../amesos/test/Test_Basic/In_bcsstk04.mtx bcsstk04.mtx
55
cp $(top_srcdir)/../amesos/test/Test_Basic/In_nos1.mtx nos1.mtx
56
cp $(top_srcdir)/../amesos/test/Test_Basic/In_nos5.mtx nos5.mtx
57
cp $(top_srcdir)/../amesos/test/Test_Basic/In_FourByFour.mtx FourByFour.mtx
58
cp $(top_srcdir)/../amesos/test/Test_Basic/In_Diagonal.mtx Diagonal.mtx
59
cp $(top_srcdir)/../amesos/test/Test_Basic/In_MissingADiagonal.mtx MissingADiagonal.mtx
60
cp $(top_srcdir)/../amesos/test/Test_Basic/In_KheadK.mtx KheadK.mtx
61
cp $(top_srcdir)/../amesos/test/Test_Basic/In_KheadSorted.mtx KheadSorted.mtx
62
cp $(top_srcdir)/../amesos/test/Test_Basic/In_Khead.triS Khead.triS
68
common_sources = $(srcdir)/test_single_amesos_thyra_solver.cpp
70
common_dependencies = $(top_builddir)/adapters/amesos/src/libstratimikosamesos.a $(top_builddir)/../amesos/src/libamesos.a
72
include $(top_builddir)/Makefile.export.stratimikos
74
_EXPORT_INCLUDES = $(STRATIMIKOS_EXTRA_INCLUDES) $(STRATIMIKOS_INCLUDES)
75
_EXPORT_LIBS = $(STRATIMIKOS_LIBS) $(STRATIMIKOS_EXTRA_LIBS)
78
EXPORT_INCLUDES = $(shell $(PERL_EXE) $(top_srcdir)/config/strip_dup_incl_paths.pl $(_EXPORT_INCLUDES))
79
EXPORT_LIBS = $(shell $(PERL_EXE) $(top_srcdir)/config/strip_dup_libs.pl $(_EXPORT_LIBS))
81
EXPORT_INCLUDES = $(_EXPORT_INCLUDES)
82
EXPORT_LIBS = $(_EXPORT_LIBS)
85
AM_CPPFLAGS = $(EXPORT_INCLUDES) -I$(top_srcdir)/../thyra/example/operator_solve
87
common_ldadd = $(EXPORT_LIBS)
90
$(srcdir)/test_single_amesos_thyra_solver.hpp
92
# This is already added part of AMESOS_LIBS and therefore automake does not
93
# need to add this again!