~chaffra/+junk/trilinos

« back to all changes in this revision

Viewing changes to packages/anasazi/test/BlockDavidson/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
 
#                 Anasazi: Block Eigensolvers 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
 
#np# Specify locations of include files within Trilinos, but outside np
30
 
#np# Add packages that np is dependent on; remove epetra if np does not need it
31
 
 
32
 
include $(top_builddir)/Makefile.export.anasazi
33
 
 
34
 
if USING_GNUMAKE
35
 
EXPORT_LIBS = $(shell $(PERL_EXE) $(top_srcdir)/config/strip_dup_libs.pl $(ANASAZI_TEST_LIBS))
36
 
EXPORT_INC_PATH = $(shell $(PERL_EXE) $(top_srcdir)/config/strip_dup_incl_paths.pl $(ANASAZI_TEST_INCLUDES))
37
 
else
38
 
EXPORT_LIBS = $(ANASAZI_TEST_LIBS)
39
 
EXPORT_INC_PATH = $(ANASAZI_TEST_INCLUDES)
40
 
endif
41
 
 
42
 
AM_CPPFLAGS = \
43
 
        $(EXPORT_INC_PATH)
44
 
 
45
 
EXEEXT = .exe
46
 
 
47
 
if BUILD_TEUCHOS_COMPLEX
48
 
BD_COMPLEX_LAP_TEST = BlockDavidson_complex_lap_test
49
 
if BUILD_TRIUTILS
50
 
BD_COMPLEX_TEST = BlockDavidson_complex_test Dummy
51
 
endif
52
 
endif
53
 
 
54
 
#np# List all executable names here
55
 
noinst_PROGRAMS = $(BD_COMPLEX_TEST) $(BD_COMPLEX_LAP_TEST)
56
 
 
57
 
Dummy$(EXEEXT): $(srcdir)/Dummy
58
 
        cp  $(srcdir)/../MVOPTester/mhd1280b.cua mhd1280b.cua
59
 
 
60
 
#np# One SOURCES primary is needed for EACH exe.  (Notice for all of the following 
61
 
#np# primaries that the pattern is "(Exe_name)_(PRIMARY_NAME) = ").  List all source 
62
 
#np# files needed to compile the exe.
63
 
BlockDavidson_complex_test_SOURCES = $(srcdir)/cxx_main_complex.cpp
64
 
BlockDavidson_complex_lap_test_SOURCES = $(srcdir)/cxx_main_complex_lap.cpp
65
 
 
66
 
Dummy_SOURCES = Dummy
67
 
 
68
 
#np# One DEPENDENCIES primary is needed for each exe.  List any libraries that the 
69
 
#np# exe depends on.  (This primary is not absolutely essential.)
70
 
BlockDavidson_complex_test_DEPENDENCIES = \
71
 
        $(top_builddir)/src/libanasazi.a \
72
 
        $(top_builddir)/../triutils/src/libtriutils.a \
73
 
        $(top_builddir)/../teuchos/src/libteuchos.a
74
 
 
75
 
BlockDavidson_complex_lap_test_DEPENDENCIES = \
76
 
        $(top_builddir)/src/libanasazi.a \
77
 
        $(top_builddir)/../teuchos/src/libteuchos.a
78
 
 
79
 
#np# One CXXFLAGS primary can be defined for each exe.  Include any -I's necessary for 
80
 
#np# building the exe.
81
 
BlockDavidson_complex_test_CXXFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/test/MVOPTester
82
 
 
83
 
BlockDavidson_complex_lap_test_CXXFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/test/MVOPTester
84
 
 
85
 
#np# One LDADD primary can be defined for each exe.  Include any LDFLAGS necessary for 
86
 
#np# building the exe.
87
 
BlockDavidson_complex_test_LDADD = \
88
 
        $(EXPORT_LIBS)
89
 
 
90
 
BlockDavidson_complex_lap_test_LDADD = \
91
 
        $(EXPORT_LIBS)
92
 
 
93
 
# Dummy for new export makefiles
94
 
LIBS =