| 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 |
| 23 |
# USA |
| 24 |
# Questions? Contact Michael A. Heroux ([email protected]) |
| 25 |
# |
| 26 |
# ************************************************************************ |
| 27 |
#@HEADER |
| 28 |
|
| 29 |
EXEEXT = .exe |
| 30 |
|
| 31 |
noinst_PROGRAMS = GMRES_Tests |
| 32 |
|
| 33 |
GMRES_Tests_SOURCES = $(srcdir)/cxx_main.cpp |
| 34 |
|
| 35 |
GMRES_Tests_DEPENDENCIES = $(top_builddir)/src/libaztecoo.a |
| 36 |
|
| 37 |
include $(top_builddir)/Makefile.export.aztecoo |
| 38 |
|
| 39 |
if USING_GNUMAKE |
| 40 |
EXPORT_LIBS = $(shell $(PERL_EXE) $(top_srcdir)/config/strip_dup_libs.pl $(AZTECOO_LIBS)) |
| 41 |
EXPORT_INC_PATH = $(shell $(PERL_EXE) $(top_srcdir)/config/strip_dup_incl_paths.pl $(AZTECOO_INCLUDES)) |
| 42 |
else |
| 43 |
EXPORT_LIBS = $(AZTECOO_LIBS) |
| 44 |
EXPORT_INC_PATH = $(AZTECOO_INCLUDES) |
| 45 |
endif |
| 46 |
|
| 47 |
##AztecOO_CXXFLAGS = -I$(top_srcdir)/src |
| 48 |
|
| 49 |
AM_CPPFLAGS = $(EXPORT_INC_PATH) |
| 50 |
|
| 51 |
#Unsure why this test need to link to the BLAS on an IBM. |
| 52 |
GMRES_Tests_LDADD = $(EXPORT_LIBS) |
| 53 |
|