1
## $Id: Makefile.am,v 1.10 2007/01/10 21:58:58 etphipp Exp $
2
## $Source: /space/CVS/Trilinos/packages/nox/test/epetra/LOCA_UnitTests/Makefile.am,v $
4
# ************************************************************************
6
# NOX: An Object-Oriented Nonlinear Solver Package
7
# Copyright (2002) Sandia Corporation
9
# LOCA: Library of Continuation Algorithms Package
10
# Copyright (2005) Sandia Corporation
12
# Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
13
# license for use of this work by or on behalf of the U.S. Government.
15
# This library is free software; you can redistribute it and/or modify
16
# it under the terms of the GNU Lesser General Public License as
17
# published by the Free Software Foundation; either version 2.1 of the
18
# License, or (at your option) any later version.
20
# This library is distributed in the hope that it will be useful, but
21
# WITHOUT ANY WARRANTY; without even the implied warranty of
22
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23
# Lesser General Public License for more details.
25
# You should have received a copy of the GNU Lesser General Public
26
# License along with this library; if not, write to the Free Software
27
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
30
# Questions? Contact Roger Pawlowski (rppawlo@sandia.gov) or
31
# Eric Phipps (etphipp@sandia.gov), Sandia National Laboratories.
32
# ************************************************************************
35
include $(top_builddir)/Makefile.export.nox
38
TEST_LIBS = $(shell $(PERL_EXE) $(top_srcdir)/config/strip_dup_libs.pl $(LOCA_EPETRA_TEST_LIBS))
39
TEST_INCLUDES = $(shell $(PERL_EXE) $(top_srcdir)/config/strip_dup_incl_paths.pl $(LOCA_EPETRA_TEST_INCLUDES))
41
TEST_LIBS = $(LOCA_EPETRA_TEST_LIBS)
42
TEST_INCLUDES = $(LOCA_EPETRA_TEST_INCLUDES)
45
AM_CPPFLAGS = $(TEST_INCLUDES)
49
HOUSEHOLDERBORDEREDSOLVE = householderBorderedSolve
50
HOUSEHOLDERTRANSBORDEREDSOLVE = householderTransposeBorderedSolve
51
TRANSPOSESOLVE = transposeSolve
52
COMPOSITECONSTRAINT = compositeConstraint
53
COMPOSITECONSTRAINTMVDX = compositeConstraintMVDX
54
NCRF = naturalContResidualFills
56
if BUILD_LOCA_EPETRA_TESTS
58
$(HOUSEHOLDERBORDEREDSOLVE) \
59
$(HOUSEHOLDERTRANSBORDEREDSOLVE) \
61
$(COMPOSITECONSTRAINT) \
62
$(COMPOSITECONSTRAINTMVDX) \
66
householderBorderedSolve_SOURCES = \
67
$(srcdir)/HouseholderBorderedSolve.C
69
householderBorderedSolve_DEPENDENCIES = \
70
$(top_builddir)/src/libnox.a \
71
$(top_builddir)/src-epetra/libnoxepetra.a \
72
$(top_builddir)/test/utils/libnoxtestutils.a \
73
$(top_builddir)/src-loca/src/libloca.a \
74
$(top_builddir)/src-loca/src-epetra/liblocaepetra.a \
75
$(top_builddir)/test/epetra/LOCA_TestProblems/liblocatestproblems.a
77
householderBorderedSolve_LDADD = $(TEST_LIBS)
79
householderTransposeBorderedSolve_SOURCES = \
80
$(srcdir)/HouseholderTransposeBorderedSolve.C
82
householderTransposeBorderedSolve_DEPENDENCIES = \
83
$(householderBorderedSolve_DEPENDENCIES)
85
householderTransposeBorderedSolve_LDADD = \
86
$(householderBorderedSolve_LDADD)
88
transposeSolve_SOURCES = \
89
$(srcdir)/TransposeSolve.C
91
transposeSolve_DEPENDENCIES = \
92
$(householderBorderedSolve_DEPENDENCIES)
94
transposeSolve_LDADD = \
95
$(householderBorderedSolve_LDADD)
97
compositeConstraint_SOURCES = \
98
$(srcdir)/CompositeConstraint.C
100
compositeConstraint_DEPENDENCIES = \
101
$(householderBorderedSolve_DEPENDENCIES)
103
compositeConstraint_LDADD = \
104
$(householderBorderedSolve_LDADD)
106
compositeConstraintMVDX_SOURCES = \
107
$(srcdir)/CompositeConstraintMVDX.C
109
compositeConstraintMVDX_DEPENDENCIES = \
110
$(householderBorderedSolve_DEPENDENCIES)
112
compositeConstraintMVDX_LDADD = \
113
$(householderBorderedSolve_LDADD)
115
naturalContResidualFills_SOURCES = \
116
$(srcdir)/NaturalContResidualFills.C
118
naturalContResidualFills_DEPENDENCIES = \
119
$(householderBorderedSolve_DEPENDENCIES)
121
naturalContResidualFills_LDADD = \
122
$(householderBorderedSolve_LDADD)
124
# ------------------------------------------------------------------------
125
# Files to be deleted by 'make maintainer-clean'
126
# ------------------------------------------------------------------------
128
MAINTAINERCLEANFILES = Makefile.in
130
# ------------------------------------------------------------------------
131
# Files to be deleted by 'make clean'
132
# ------------------------------------------------------------------------
134
MOSTLYCLEANFILES = $(CXXREPOS)