~chaffra/+junk/trilinos

« back to all changes in this revision

Viewing changes to packages/stratimikos/adapters/amesos/test/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
 
#                 Amesos: Direct Sparse Solver 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
 
EXEEXT = .exe
30
 
 
31
 
#
32
 
# Actual programs
33
 
#
34
 
 
35
 
TEST_SINGLE_AMESOS_THYRA_SOLVER_DRIVER = test_single_amesos_thyra_solver_driver
36
 
TEST_AMESOS_THYRA_DRIVER = test_amesos_thyra_driver
37
 
 
38
 
# 2007/06/15: rabartl : ToDo: I may have to put in configure logic to only
39
 
# build these examples if epetraext is enabled!
40
 
 
41
 
noinst_PROGRAMS = $(TEST_SINGLE_AMESOS_THYRA_SOLVER_DRIVER) $(TEST_AMESOS_THYRA_DRIVER)
42
 
 
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)
46
 
 
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)
50
 
 
51
 
FourByFour.mtx:
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  
63
 
 
64
 
#
65
 
# Common stuff
66
 
#
67
 
 
68
 
common_sources = $(srcdir)/test_single_amesos_thyra_solver.cpp
69
 
 
70
 
common_dependencies = $(top_builddir)/adapters/amesos/src/libstratimikosamesos.a $(top_builddir)/../amesos/src/libamesos.a
71
 
 
72
 
include $(top_builddir)/Makefile.export.stratimikos
73
 
 
74
 
_EXPORT_INCLUDES = $(STRATIMIKOS_EXTRA_INCLUDES) $(STRATIMIKOS_INCLUDES)
75
 
_EXPORT_LIBS = $(STRATIMIKOS_LIBS)  $(STRATIMIKOS_EXTRA_LIBS)
76
 
 
77
 
if USING_GNUMAKE
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))
80
 
else
81
 
EXPORT_INCLUDES = $(_EXPORT_INCLUDES)
82
 
EXPORT_LIBS = $(_EXPORT_LIBS)
83
 
endif
84
 
 
85
 
AM_CPPFLAGS = $(EXPORT_INCLUDES) -I$(top_srcdir)/../thyra/example/operator_solve
86
 
 
87
 
common_ldadd = $(EXPORT_LIBS)
88
 
 
89
 
EXTRA_DIST = \
90
 
        $(srcdir)/test_single_amesos_thyra_solver.hpp
91
 
 
92
 
# This is already added part of AMESOS_LIBS and therefore automake does not
93
 
# need to add this again!
94
 
LIBS =