~chaffra/+junk/trilinos

« back to all changes in this revision

Viewing changes to packages/epetra/test/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
 
#               Epetra: Linear Algebra Services Package 
5
 
#                 Copyright (2001) 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
 
 
30
 
# ------------------------------------------------------------------------
31
 
# For each category, create two variables - NAME and NAME_H. The
32
 
# second is the list of headers to be installed, i.e., any header that
33
 
# might someday be needed by some other code outside Epetra. The first is
34
 
# the list of all source and any other header files.
35
 
# ------------------------------------------------------------------------
36
 
 
37
 
CORE = \
38
 
        $(srcdir)/Epetra_test_functions.cpp \
39
 
        $(srcdir)/Epetra_matrix_data.cpp
40
 
 
41
 
#Although these headers do not have to be installed, they do need to be
42
 
#included in the distribution tarball.
43
 
EXTRA_DIST = \
44
 
        $(srcdir)/Epetra_test_functions.h \
45
 
        $(srcdir)/Epetra_matrix_data.h
46
 
 
47
 
DEFAULT_INCLUDES = \
48
 
        -I$(top_srcdir)/test/src \
49
 
        -I$(top_builddir)/src \
50
 
        -I$(top_srcdir)/src
51
 
 
52
 
# ------------------------------------------------------------------------
53
 
# Epetra_test library specifications
54
 
# ------------------------------------------------------------------------
55
 
 
56
 
EPETRA_TEST_LIB = libepetra_test.a
57
 
 
58
 
libepetra_test_a_SOURCES = \
59
 
        $(CORE)
60
 
 
61
 
 
62
 
#We need the following to support separate build directories
63
 
#AM_CPPFLAGS=-I$(builddir)/src
64
 
# ------------------------------------------------------------------------
65
 
# For using a special archiver
66
 
# ------------------------------------------------------------------------
67
 
 
68
 
# SPECIAL NOTE: Why is the "else" there?  For some reason, automake
69
 
# fails to define <lib>_AR of USE_ALTERNATE_AR is false, so we have to
70
 
# define it manually.
71
 
 
72
 
if USE_ALTERNATE_AR
73
 
 
74
 
libepetra_test_a_AR = $(ALTERNATE_AR)
75
 
else
76
 
 
77
 
libepetra_test_a_AR = $(AR) cru
78
 
 
79
 
endif
80
 
 
81
 
# ------------------------------------------------------------------------
82
 
# Some C++ compilers create extra .o-files for templates. We need to
83
 
# be sure to include these, and this is the hack to do it.
84
 
# On alpha-dec machines, the extra .o's are needed for Epetra only.
85
 
# ------------------------------------------------------------------------
86
 
 
87
 
libepetra_test_a_LIBADD = $(TRILINOS_TEMPLATE_OBJS) $(XTRALDADD)
88
 
 
89
 
lib_LIBRARIES = $(EPETRA_TEST_LIB)
90
 
 
91
 
# ------------------------------------------------------------------------
92
 
# Files to be deleted by 'make maintainer-clean'
93
 
# ------------------------------------------------------------------------
94
 
 
95
 
MAINTAINERCLEANFILES = Makefile.in 
96