1 |
|
---|
2 | VMGSOURCES = \
|
---|
3 | base/command_factory.cpp \
|
---|
4 | base/command_list.cpp \
|
---|
5 | base/factory.cpp \
|
---|
6 | base/helper.cpp \
|
---|
7 | base/index.cpp \
|
---|
8 | base/interface.cpp \
|
---|
9 | base/matrix.cpp \
|
---|
10 | base/object.cpp \
|
---|
11 | base/proxy.cpp \
|
---|
12 | base/stencil.cpp \
|
---|
13 | base/timer.cpp \
|
---|
14 | base/vector.cpp \
|
---|
15 | comm/comm_mpi.cpp \
|
---|
16 | comm/comm_serial.cpp \
|
---|
17 | comm/comm.cpp \
|
---|
18 | comm/domain_decomposition_mpi.cpp \
|
---|
19 | comm/domain_decomposition_serial.cpp \
|
---|
20 | comm/mpi/datatype.cpp \
|
---|
21 | comm/mpi/datatypes_global.cpp \
|
---|
22 | comm/mpi/datatypes_local.cpp \
|
---|
23 | comm/mpi/settings.cpp \
|
---|
24 | comm/mpi/error_handler.cpp \
|
---|
25 | commands/com_check_consistency.cpp \
|
---|
26 | commands/com_check_iteration_counter.cpp \
|
---|
27 | commands/com_check_relative_residual.cpp \
|
---|
28 | commands/com_check_residual.cpp \
|
---|
29 | commands/com_clear_coarse_levels.cpp \
|
---|
30 | commands/com_clear_grid.cpp \
|
---|
31 | commands/com_compute_residual_norm.cpp \
|
---|
32 | commands/com_copy_boundary.cpp \
|
---|
33 | commands/com_execute_cycle.cpp \
|
---|
34 | commands/com_execute_cycle_loop.cpp \
|
---|
35 | commands/com_execute_full_cycle_loop.cpp \
|
---|
36 | commands/com_execute_full_cycle.cpp \
|
---|
37 | commands/com_export_solution.cpp \
|
---|
38 | commands/com_force_discrete_compatibility.cpp \
|
---|
39 | commands/com_import_rhs.cpp \
|
---|
40 | commands/com_interpolate_fmg.cpp \
|
---|
41 | commands/com_initialize_iteration_counter.cpp \
|
---|
42 | commands/com_initialize_residual_norm.cpp \
|
---|
43 | commands/com_nop.cpp \
|
---|
44 | commands/com_print_all_settings.cpp \
|
---|
45 | commands/com_print_defect.cpp \
|
---|
46 | commands/com_print_grid_structure.cpp \
|
---|
47 | commands/com_print_grid.cpp \
|
---|
48 | commands/com_print_residual_norm.cpp \
|
---|
49 | commands/com_print_running_time.cpp \
|
---|
50 | commands/com_prolongate.cpp \
|
---|
51 | commands/com_restrict.cpp \
|
---|
52 | commands/com_set_average_to_zero.cpp \
|
---|
53 | commands/com_set_coarser_dirichlet_values.cpp \
|
---|
54 | commands/com_set_level.cpp \
|
---|
55 | commands/com_smooth.cpp \
|
---|
56 | commands/com_solve.cpp \
|
---|
57 | cycles/cycle.cpp \
|
---|
58 | cycles/cycle_cs_dirichlet.cpp \
|
---|
59 | cycles/cycle_cs_dirichlet_debug.cpp \
|
---|
60 | cycles/cycle_cs_periodic.cpp \
|
---|
61 | cycles/cycle_cs_periodic_debug.cpp \
|
---|
62 | cycles/cycle_fas_dirichlet.cpp \
|
---|
63 | cycles/cycle_fas_dirichlet_debug.cpp \
|
---|
64 | cycles/cycle_fas_periodic.cpp \
|
---|
65 | cycles/cycle_fas_periodic_debug.cpp \
|
---|
66 | discretization/boundary_value_setter.cpp \
|
---|
67 | discretization/discretization_poisson_fd.cpp \
|
---|
68 | discretization/discretization_poisson_fv.cpp \
|
---|
69 | grid/global_grid_partitioning.cpp \
|
---|
70 | grid/grid_index_translations.cpp \
|
---|
71 | grid/grid_iterator_suite.cpp \
|
---|
72 | grid/grid.cpp \
|
---|
73 | grid/multigrid.cpp \
|
---|
74 | grid/tempgrid.cpp \
|
---|
75 | level/level_operator_cs.cpp \
|
---|
76 | level/level_operator_fas.cpp \
|
---|
77 | smoother/gs.cpp \
|
---|
78 | smoother/gsrb.cpp \
|
---|
79 | smoother/gsrb_poisson_2.cpp \
|
---|
80 | smoother/gsrb_poisson_4.cpp \
|
---|
81 | smoother/jacobi.cpp \
|
---|
82 | smoother/smoother.cpp \
|
---|
83 | solver/solver_regular.cpp \
|
---|
84 | solver/solver_singular.cpp \
|
---|
85 | solver/solver.cpp \
|
---|
86 | thirdparty/pugixml/pugixml.cpp \
|
---|
87 | units/particle/bspline.cpp \
|
---|
88 | units/particle/comm_mpi_particle.cpp \
|
---|
89 | units/particle/interface_particles.cpp \
|
---|
90 | units/particle/interpolation.cpp \
|
---|
91 | units/particle/linked_cell_list.cpp \
|
---|
92 | units/particle/particle.cpp \
|
---|
93 | mg.cpp
|
---|
94 |
|
---|
95 | VMGFCSSOURCES = \
|
---|
96 | units/particle/interface_fcs.cpp
|
---|
97 |
|
---|
98 | VMGFCSHEADERS = \
|
---|
99 | units/particle/interface_fcs.h
|
---|
100 |
|
---|
101 | VMGHEADERS = \
|
---|
102 | base/command_factory.hpp \
|
---|
103 | base/command_list.hpp \
|
---|
104 | base/command.hpp \
|
---|
105 | base/defs.hpp \
|
---|
106 | base/discretization.hpp \
|
---|
107 | base/factory.hpp \
|
---|
108 | base/has_tempgrids.hpp \
|
---|
109 | base/helper.hpp \
|
---|
110 | base/index.hpp \
|
---|
111 | base/interface.hpp \
|
---|
112 | base/math.hpp \
|
---|
113 | base/matrix.hpp \
|
---|
114 | base/object.hpp \
|
---|
115 | base/polynomial.hpp \
|
---|
116 | base/proxy.hpp \
|
---|
117 | base/stencil.hpp \
|
---|
118 | base/timer.hpp \
|
---|
119 | base/tuple.hpp \
|
---|
120 | base/vector.hpp \
|
---|
121 | comm/comm_mpi.hpp \
|
---|
122 | comm/comm_serial.hpp \
|
---|
123 | comm/comm.hpp \
|
---|
124 | comm/domain_decomposition.hpp \
|
---|
125 | comm/domain_decomposition_mpi.hpp \
|
---|
126 | comm/domain_decomposition_serial.hpp \
|
---|
127 | comm/mpi/datatype.hpp \
|
---|
128 | comm/mpi/datatypes_global.hpp \
|
---|
129 | comm/mpi/datatypes_local.hpp \
|
---|
130 | comm/mpi/settings.hpp \
|
---|
131 | comm/mpi/error_handler.hpp \
|
---|
132 | comm/mpi/has_request_vec.hpp \
|
---|
133 | comm/mpi/key.hpp \
|
---|
134 | cycles/cycle.hpp \
|
---|
135 | cycles/cycle_cs_dirichlet.hpp \
|
---|
136 | cycles/cycle_cs_dirichlet_debug.hpp \
|
---|
137 | cycles/cycle_cs_periodic.hpp \
|
---|
138 | cycles/cycle_cs_periodic_debug.hpp \
|
---|
139 | cycles/cycle_fas_dirichlet.hpp \
|
---|
140 | cycles/cycle_fas_dirichlet_debug.hpp \
|
---|
141 | cycles/cycle_fas_periodic.hpp \
|
---|
142 | cycles/cycle_fas_periodic_debug.hpp \
|
---|
143 | discretization/boundary_value.hpp \
|
---|
144 | discretization/boundary_value_setter.hpp \
|
---|
145 | discretization/boundary_value_setter_open.hpp \
|
---|
146 | discretization/discretization_poisson_fd.hpp \
|
---|
147 | discretization/discretization_poisson_fv.hpp \
|
---|
148 | grid/global_grid_partitioning.hpp \
|
---|
149 | grid/grid_double_iterator.hpp \
|
---|
150 | grid/grid_index_translations.hpp \
|
---|
151 | grid/grid_iterator.hpp \
|
---|
152 | grid/grid_iterator_set.hpp \
|
---|
153 | grid/grid_iterator_suite.hpp \
|
---|
154 | grid/grid_properties.hpp \
|
---|
155 | grid/grid.hpp \
|
---|
156 | grid/is_grid.hpp \
|
---|
157 | grid/multigrid.hpp \
|
---|
158 | grid/tempgrid.hpp \
|
---|
159 | level/level_operator_cs.hpp \
|
---|
160 | level/level_operator_fas.hpp \
|
---|
161 | level/level_operator.hpp \
|
---|
162 | level/stencils.hpp \
|
---|
163 | smoother/gs.hpp \
|
---|
164 | smoother/gsrb.hpp \
|
---|
165 | smoother/gsrb_poisson_2.hpp \
|
---|
166 | smoother/gsrb_poisson_4.hpp \
|
---|
167 | smoother/jacobi.hpp \
|
---|
168 | smoother/smoother.hpp \
|
---|
169 | solver/dgesv.hpp \
|
---|
170 | solver/dsysv.hpp \
|
---|
171 | solver/givens.hpp \
|
---|
172 | solver/solver_regular.hpp \
|
---|
173 | solver/solver_singular.hpp \
|
---|
174 | solver/solver.hpp \
|
---|
175 | thirdparty/pugixml/pugiconfig.hpp \
|
---|
176 | thirdparty/pugixml/pugixml.hpp \
|
---|
177 | units/particle/bspline.hpp \
|
---|
178 | units/particle/comm_mpi_particle.hpp \
|
---|
179 | units/particle/interface_fcs.h \
|
---|
180 | units/particle/interface_particles.hpp \
|
---|
181 | units/particle/interpolation.hpp \
|
---|
182 | units/particle/linked_cell_list.hpp \
|
---|
183 | units/particle/particle.hpp \
|
---|
184 | mg.hpp
|
---|
185 |
|
---|
186 | lib_LTLIBRARIES = libvmg.la
|
---|
187 |
|
---|
188 | libvmg_la_includedir = $(includedir)/vmg/
|
---|
189 | libvmg_la_CPPFLAGS = $(BOOST_CPPFLAGS) $(VTK_CXXFLAGS)
|
---|
190 | libvmg_la_LDFLAGS = \
|
---|
191 | $(AM_LDFLAGS)
|
---|
192 | libvmg_la_LIBADD =
|
---|
193 |
|
---|
194 | nobase_libvmg_la_include_HEADERS = ${VMGHEADERS}
|
---|
195 | if COND_HAVE_FCS
|
---|
196 | nobase_libvmg_la_include_HEADERS += ${VMGFCSHEADERS}
|
---|
197 | endif
|
---|
198 |
|
---|
199 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
200 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
201 | ## will therefore be treated as if it were literally part of the target name,
|
---|
202 | ## and the variable name derived from that.
|
---|
203 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
204 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
205 | ## from each source file. Note that it is not necessary to list header files
|
---|
206 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
207 | libvmg_la_SOURCES = ${VMGSOURCES}
|
---|
208 | if COND_HAVE_FCS
|
---|
209 | libvmg_la_SOURCES += ${VMGFCSSOURCES}
|
---|
210 | endif
|
---|
211 |
|
---|
212 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
213 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
214 | ## that all version information is kept in one place.
|
---|
215 | libvmg_la_LDFLAGS += -version-info $(VMG_SO_VERSION)
|
---|
216 |
|
---|
217 | ## The generated configuration header is installed in its own subdirectory of
|
---|
218 | ## $(libdir). The reason for this is that the configuration information put
|
---|
219 | ## into this header file describes the target platform the installed library
|
---|
220 | ## has been built for. Thus the file must not be installed into a location
|
---|
221 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
222 | ## Hierarchy Standard (FHS).
|
---|
223 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
224 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
225 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
226 | ## configuration header file is generated at configure time and should not be
|
---|
227 | ## shipped with the source tarball.
|
---|
228 | libvmg_la_libincludedir = $(libdir)/vmg/include
|
---|
229 | nodist_libvmg_la_libinclude_HEADERS = $(top_builddir)/libvmg_config.h
|
---|
230 |
|
---|
231 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
232 | ## architecture-dependent package configuration information. Occasionally,
|
---|
233 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
234 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
235 | pkgconfigdir = $(libdir)/pkgconfig
|
---|
236 | pkgconfig_DATA = $(top_builddir)/vmg.pc
|
---|