2
# ************************************************************************
4
# Epetra: Linear Algebra Services Package
5
# Copyright (2001) 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
# ************************************************************************
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
# ------------------------------------------------------------------------
38
$(srcdir)/Epetra_test_functions.cpp \
39
$(srcdir)/Epetra_matrix_data.cpp
41
#Although these headers do not have to be installed, they do need to be
42
#included in the distribution tarball.
44
$(srcdir)/Epetra_test_functions.h \
45
$(srcdir)/Epetra_matrix_data.h
48
-I$(top_srcdir)/test/src \
49
-I$(top_builddir)/src \
52
# ------------------------------------------------------------------------
53
# Epetra_test library specifications
54
# ------------------------------------------------------------------------
56
EPETRA_TEST_LIB = libepetra_test.a
58
libepetra_test_a_SOURCES = \
62
#We need the following to support separate build directories
63
#AM_CPPFLAGS=-I$(builddir)/src
64
# ------------------------------------------------------------------------
65
# For using a special archiver
66
# ------------------------------------------------------------------------
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
74
libepetra_test_a_AR = $(ALTERNATE_AR)
77
libepetra_test_a_AR = $(AR) cru
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
# ------------------------------------------------------------------------
87
libepetra_test_a_LIBADD = $(TRILINOS_TEMPLATE_OBJS) $(XTRALDADD)
89
lib_LIBRARIES = $(EPETRA_TEST_LIB)
91
# ------------------------------------------------------------------------
92
# Files to be deleted by 'make maintainer-clean'
93
# ------------------------------------------------------------------------
95
MAINTAINERCLEANFILES = Makefile.in