-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.export.rythmos.in
60 lines (49 loc) · 3.04 KB
/
Makefile.export.rythmos.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
## Required dependency on thyra (teuchos is included by thyra)
include @abs_top_builddir@/../thyra/Makefile.export.thyra
## Optional dependence on gaasp
@ENABLE_RYTHMOS_TEUCHOS_BOOST_TRUE@@ENABLE_RYTHMOS_GAASP_TRUE@RYTHMOS_GAASP_INCLUDES = \
@ENABLE_RYTHMOS_TEUCHOS_BOOST_TRUE@@ENABLE_RYTHMOS_GAASP_TRUE@ -I@abs_top_srcdir@/adapters/gaasp/src
@ENABLE_RYTHMOS_TEUCHOS_BOOST_TRUE@@ENABLE_RYTHMOS_GAASP_TRUE@RYTHMOS_GAASP_LIBS = \
@ENABLE_RYTHMOS_TEUCHOS_BOOST_TRUE@@ENABLE_RYTHMOS_GAASP_TRUE@ -L@abs_top_builddir@/adapters/gaasp/src -lrythmosgaasp
## Optionally use interal GAASP TPL source
@ENABLE_RYTHMOS_TEUCHOS_BOOST_TRUE@@ENABLE_RYTHMOS_GAASP_TRUE@@ENABLE_RYTHMOS_GAASP_INTERNAL_TRUE@GAASP_INCLUDES = \
@ENABLE_RYTHMOS_TEUCHOS_BOOST_TRUE@@ENABLE_RYTHMOS_GAASP_TRUE@@ENABLE_RYTHMOS_GAASP_INTERNAL_TRUE@ -I@abs_top_srcdir@/adapters/gaasp/tpl_src
@ENABLE_RYTHMOS_TEUCHOS_BOOST_TRUE@@ENABLE_RYTHMOS_GAASP_TRUE@@ENABLE_RYTHMOS_GAASP_INTERNAL_TRUE@GAASP_LIBS = \
@ENABLE_RYTHMOS_TEUCHOS_BOOST_TRUE@@ENABLE_RYTHMOS_GAASP_TRUE@@ENABLE_RYTHMOS_GAASP_INTERNAL_TRUE@ -L@abs_top_builddir@/adapters/gaasp/tpl_src -lgaasp
# Note: the order of the includes here should _not_ be important, unless something is messed up.
_RYTHMOS_INCLUDES = \
-I@abs_top_srcdir@/src \
-I@abs_top_builddir@/src \
$(THYRA_INCLUDES)
# Note, the order of the library dependencies is critical (higher level libraries from left to right)
_RYTHMOS_LIBS = \
@LDFLAGS@ -L@abs_top_builddir@/src -lrythmos $(THYRA_LIBS) @LIBS@
@USING_GNUMAKE_TRUE@RYTHMOS_INCLUDES = $(shell @PERL_EXE@ @abs_top_srcdir@/config/strip_dup_incl_paths.pl $(_RYTHMOS_INCLUDES))
@USING_GNUMAKE_TRUE@RYTHMOS_LIBS = $(shell @PERL_EXE@ @abs_top_srcdir@/config/strip_dup_libs.pl $(_RYTHMOS_LIBS))
@USING_GNUMAKE_FALSE@RYTHMOS_INCLUDES = $(_RYTHMOS_INCLUDES)
@USING_GNUMAKE_FALSE@RYTHMOS_LIBS = $(_RYTHMOS_LIBS)
#
# Stuff for some tests and examples
#
@BUILD_EXAMPLES_TRUE@@ENABLE_RYTHMOS_THYRA_EPETRAEXT_TRUE@include @abs_top_builddir@/../epetraext/Makefile.export.epetraext
@BUILD_EXAMPLES_TRUE@@ENABLE_RYTHMOS_STRATIMIKOS_TRUE@include @abs_top_builddir@/../stratimikos/Makefile.export.stratimikos
@BUILD_EXAMPLES_TRUE@@ENABLE_RYTHMOS_SACADO_TRUE@include @abs_top_builddir@/../sacado/Makefile.export.sacado
@BUILD_EXAMPLES_TRUE@@ENABLE_RYTHMOS_NOX_TRUE@@ENABLE_RYTHMOS_NOX_EPETRA_TRUE@include @abs_top_builddir@/../nox/Makefile.export.nox
_RYTHMOS_TEST_INCLUDES = \
$(RYTHMOS_INCLUDES) \
$(NOX_INCLUDES) \
$(STRATIMIKOS_INCLUDES) \
$(EPETRAEXT_INCLUDES) \
$(EPETRA_INCLUDES) \
$(SACADO_INCLUDES)
_RYTHMOS_TEST_LIBS = \
$(RYTHMOS_LIBS) \
$(NOX_LIBS) \
$(STRATIMIKOS_LIBS) \
$(EPETRAEXT_LIBS) \
$(EPETRA_LIBS) \
$(SACADO_LIBS)
@USING_GNUMAKE_TRUE@RYTHMOS_TEST_INCLUDES = $(shell @PERL_EXE@ @abs_top_srcdir@/config/strip_dup_incl_paths.pl $(_RYTHMOS_TEST_INCLUDES))
@USING_GNUMAKE_TRUE@RYTHMOS_TEST_LIBS = $(shell @PERL_EXE@ @abs_top_srcdir@/config/strip_dup_libs.pl $(_RYTHMOS_TEST_LIBS))
@USING_GNUMAKE_FALSE@RYTHMOS_TEST_INCLUDES = $(_RYTHMOS_TEST_INCLUDES)
@USING_GNUMAKE_FALSE@RYTHMOS_TEST_LIBS = $(_RYTHMOS_TEST_LIBS)