Changeset 540c4ef
- Timestamp:
- Feb 15, 2017, 4:18:50 PM (9 years ago)
- Children:
- 3bf29e
- Parents:
- 2d63fb
- git-author:
- Frederik Heber <heber@…> (02/15/17 16:17:55)
- git-committer:
- Frederik Heber <heber@…> (02/15/17 16:18:50)
- Files:
-
- 16 added
- 1 deleted
- 2 edited
-
INSTALL (added)
-
NEWS (added)
-
README (added)
-
configure.ac (modified) (4 diffs)
-
m4 (deleted)
-
m4/acx_mpi.m4 (added)
-
m4/am_path_vtk.m4 (added)
-
m4/ax_fcs_package.m4 (added)
-
m4/ax_fcs_types.m4 (added)
-
m4/ax_prog_cc_mpi.m4 (added)
-
m4/ax_prog_fc_mpi.m4 (added)
-
m4/boost.m4 (added)
-
m4/libtool.m4 (added)
-
m4/ltoptions.m4 (added)
-
m4/ltsugar.m4 (added)
-
m4/ltversion.m4 (added)
-
m4/lt~obsolete.m4 (added)
-
src/Makefile.am (modified) (2 diffs)
-
vmg.pc.in (added)
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r2d63fb r540c4ef 13 13 AC_CONFIG_AUX_DIR([build-aux]) 14 14 AC_CONFIG_MACRO_DIR([m4]) 15 AC_CONFIG_HEADERS([ config.h])16 AM_INIT_AUTOMAKE([1.7 -Wall foreignsubdir-objects])15 AC_CONFIG_HEADERS([libvmg_config.h]) 16 AM_INIT_AUTOMAKE([1.7 dist-bzip2 1.5 parallel-tests color-tests tar-pax subdir-objects]) 17 17 18 18 # We use mostly C++, but may need Fortran compiler infos for Lapack. … … 20 20 21 21 # Release version switch 22 AC_MSG_CHECKING(whether to enable releaseversion)23 AC_ARG_ENABLE([ release],24 AS_HELP_STRING([--enable- release], [Compile with releasesettings]),25 enable_ release=$enableval,26 enable_ release="no")27 AC_MSG_RESULT($enable_ release)28 AS_IF([test "$enable_ release" = "yes"], [22 AC_MSG_CHECKING(whether to enable debug version) 23 AC_ARG_ENABLE([debug], 24 AS_HELP_STRING([--enable-debug], [Compile with debug settings]), 25 enable_debug=$enableval, 26 enable_debug="no") 27 AC_MSG_RESULT($enable_debug) 28 AS_IF([test "$enable_debug" = "no"], [ 29 29 AC_DEFINE([RELEASE], [1], [Release]) 30 30 AC_DEFINE([NDEBUG], [1], [Skip asserts]) … … 183 183 AM_CONDITIONAL([COND_HAVE_BOOST_UNIT_TEST_LIB], [test x"$boost_cv_lib_unit_test_framework" = xyes]) 184 184 185 AC_PROG_RANLIB 186 m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) 185 # use libtool 186 LT_INIT([static]) 187 188 # superceded by libtool 189 #AC_PROG_RANLIB 190 #4_ifdef([AM_PROG_AR], [AM_PROG_AR]) 191 192 # Define these substitions here to keep all version information in one place. 193 # For information on how to properly maintain the library version information, 194 # refer to the libtool manual, section "Updating library version information": 195 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html 196 AC_SUBST([VMG_SO_VERSION], [1:0:0]) 197 AC_SUBST([VMG_API_VERSION], [1.0.0]) 187 198 188 199 # Checks for libraries. … … 239 250 doc/Makefile 240 251 test/Makefile]) 252 AC_CONFIG_FILES([vmg.pc:vmg.pc.in]) 253 241 254 AC_OUTPUT -
src/Makefile.am
r2d63fb r540c4ef 1 if ENABLE_LIBRARY_INSTALL 2 lib_LIBRARIES = libfcs_vmg.a 3 else 4 noinst_LIBRARIES = libfcs_vmg.a 5 endif 6 7 libfcs_vmg_a_SOURCES = \ 1 2 VMGSOURCES = \ 8 3 base/command_factory.cpp \ 9 base/command_factory.hpp \10 4 base/command_list.cpp \ 11 base/command_list.hpp \12 base/command.hpp \13 base/defs.hpp \14 base/discretization.hpp \15 5 base/factory.cpp \ 16 base/factory.hpp \17 base/has_tempgrids.hpp \18 6 base/helper.cpp \ 19 base/helper.hpp \20 7 base/index.cpp \ 21 base/index.hpp \22 8 base/interface.cpp \ 23 base/interface.hpp \24 base/math.hpp \25 9 base/matrix.cpp \ 26 base/matrix.hpp \27 10 base/object.cpp \ 28 base/object.hpp \29 base/polynomial.hpp \30 11 base/proxy.cpp \ 31 base/proxy.hpp \32 12 base/stencil.cpp \ 33 base/stencil.hpp \34 13 base/timer.cpp \ 35 base/timer.hpp \36 base/tuple.hpp \37 14 base/vector.cpp \ 38 base/vector.hpp \39 15 comm/comm_mpi.cpp \ 40 comm/comm_mpi.hpp \41 16 comm/comm_serial.cpp \ 42 comm/comm_serial.hpp \43 17 comm/comm.cpp \ 44 comm/comm.hpp \45 comm/domain_decomposition.hpp \46 18 comm/domain_decomposition_mpi.cpp \ 47 comm/domain_decomposition_mpi.hpp \48 19 comm/domain_decomposition_serial.cpp \ 49 comm/domain_decomposition_serial.hpp \50 20 comm/mpi/datatype.cpp \ 51 comm/mpi/datatype.hpp \52 21 comm/mpi/datatypes_global.cpp \ 53 comm/mpi/datatypes_global.hpp \54 22 comm/mpi/datatypes_local.cpp \ 55 comm/mpi/datatypes_local.hpp \56 23 comm/mpi/settings.cpp \ 57 comm/mpi/settings.hpp \58 24 comm/mpi/error_handler.cpp \ 59 comm/mpi/error_handler.hpp \60 comm/mpi/has_request_vec.hpp \61 comm/mpi/key.hpp \62 25 commands/com_check_consistency.cpp \ 63 26 commands/com_check_iteration_counter.cpp \ … … 93 56 commands/com_solve.cpp \ 94 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_fcs.cpp \ 90 units/particle/interface_fcs.h \ 91 units/particle/interface_particles.cpp \ 92 units/particle/interpolation.cpp \ 93 units/particle/linked_cell_list.cpp \ 94 units/particle/particle.cpp \ 95 mg.cpp 96 97 VMGHEADERS = \ 98 base/command_factory.hpp \ 99 base/command_list.hpp \ 100 base/command.hpp \ 101 base/defs.hpp \ 102 base/discretization.hpp \ 103 base/factory.hpp \ 104 base/has_tempgrids.hpp \ 105 base/helper.hpp \ 106 base/index.hpp \ 107 base/interface.hpp \ 108 base/math.hpp \ 109 base/matrix.hpp \ 110 base/object.hpp \ 111 base/polynomial.hpp \ 112 base/proxy.hpp \ 113 base/stencil.hpp \ 114 base/timer.hpp \ 115 base/tuple.hpp \ 116 base/vector.hpp \ 117 comm/comm_mpi.hpp \ 118 comm/comm_serial.hpp \ 119 comm/comm.hpp \ 120 comm/domain_decomposition.hpp \ 121 comm/domain_decomposition_mpi.hpp \ 122 comm/domain_decomposition_serial.hpp \ 123 comm/mpi/datatype.hpp \ 124 comm/mpi/datatypes_global.hpp \ 125 comm/mpi/datatypes_local.hpp \ 126 comm/mpi/settings.hpp \ 127 comm/mpi/error_handler.hpp \ 128 comm/mpi/has_request_vec.hpp \ 129 comm/mpi/key.hpp \ 95 130 cycles/cycle.hpp \ 96 cycles/cycle_cs_dirichlet.cpp \97 131 cycles/cycle_cs_dirichlet.hpp \ 98 cycles/cycle_cs_dirichlet_debug.cpp \99 132 cycles/cycle_cs_dirichlet_debug.hpp \ 100 cycles/cycle_cs_periodic.cpp \101 133 cycles/cycle_cs_periodic.hpp \ 102 cycles/cycle_cs_periodic_debug.cpp \103 134 cycles/cycle_cs_periodic_debug.hpp \ 104 cycles/cycle_fas_dirichlet.cpp \105 135 cycles/cycle_fas_dirichlet.hpp \ 106 cycles/cycle_fas_dirichlet_debug.cpp \107 136 cycles/cycle_fas_dirichlet_debug.hpp \ 108 cycles/cycle_fas_periodic.cpp \109 137 cycles/cycle_fas_periodic.hpp \ 110 cycles/cycle_fas_periodic_debug.cpp \111 138 cycles/cycle_fas_periodic_debug.hpp \ 112 139 discretization/boundary_value.hpp \ 113 discretization/boundary_value_setter.cpp \114 140 discretization/boundary_value_setter.hpp \ 115 141 discretization/boundary_value_setter_open.hpp \ 116 discretization/discretization_poisson_fd.cpp \117 142 discretization/discretization_poisson_fd.hpp \ 118 discretization/discretization_poisson_fv.cpp \119 143 discretization/discretization_poisson_fv.hpp \ 120 grid/global_grid_partitioning.cpp \121 144 grid/global_grid_partitioning.hpp \ 122 145 grid/grid_double_iterator.hpp \ 123 grid/grid_index_translations.cpp \124 146 grid/grid_index_translations.hpp \ 125 147 grid/grid_iterator.hpp \ 126 148 grid/grid_iterator_set.hpp \ 127 grid/grid_iterator_suite.cpp \128 149 grid/grid_iterator_suite.hpp \ 129 150 grid/grid_properties.hpp \ 130 grid/grid.cpp \131 151 grid/grid.hpp \ 132 152 grid/is_grid.hpp \ 133 grid/multigrid.cpp \134 153 grid/multigrid.hpp \ 135 grid/tempgrid.cpp \136 154 grid/tempgrid.hpp \ 137 level/level_operator_cs.cpp \138 155 level/level_operator_cs.hpp \ 139 level/level_operator_fas.cpp \140 156 level/level_operator_fas.hpp \ 141 157 level/level_operator.hpp \ 142 158 level/stencils.hpp \ 143 smoother/gs.cpp \144 159 smoother/gs.hpp \ 145 smoother/gsrb.cpp \146 160 smoother/gsrb.hpp \ 147 smoother/gsrb_poisson_2.cpp \148 161 smoother/gsrb_poisson_2.hpp \ 149 smoother/gsrb_poisson_4.cpp \150 162 smoother/gsrb_poisson_4.hpp \ 151 smoother/jacobi.cpp \152 163 smoother/jacobi.hpp \ 153 smoother/smoother.cpp \154 164 smoother/smoother.hpp \ 155 165 solver/dgesv.hpp \ 156 166 solver/dsysv.hpp \ 157 167 solver/givens.hpp \ 158 solver/solver_regular.cpp \159 168 solver/solver_regular.hpp \ 160 solver/solver_singular.cpp \161 169 solver/solver_singular.hpp \ 162 solver/solver.cpp \163 170 solver/solver.hpp \ 164 171 thirdparty/pugixml/pugiconfig.hpp \ 165 thirdparty/pugixml/pugixml.cpp \166 172 thirdparty/pugixml/pugixml.hpp \ 167 units/particle/bspline.cpp \168 173 units/particle/bspline.hpp \ 169 units/particle/comm_mpi_particle.cpp \170 174 units/particle/comm_mpi_particle.hpp \ 171 units/particle/interface_fcs.cpp \172 175 units/particle/interface_fcs.h \ 173 units/particle/interface_particles.cpp \174 176 units/particle/interface_particles.hpp \ 175 units/particle/interpolation.cpp \176 177 units/particle/interpolation.hpp \ 177 units/particle/linked_cell_list.cpp \178 178 units/particle/linked_cell_list.hpp \ 179 units/particle/particle.cpp \180 179 units/particle/particle.hpp \ 181 mg.cpp \182 180 mg.hpp 183 181 184 libfcs_vmg_a_CPPFLAGS = $(BOOST_CPPFLAGS) $(VTK_CXXFLAGS) 185 186 pkgconfigdir = $(libdir)/pkg-config 187 pkgconfig_DATA = $(top_builddir)/VMG.pc 188 182 lib_LTLIBRARIES = libvmg.la 183 184 libvmg_la_includedir = $(includedir)/vmg/ 185 libvmg_la_CPPFLAGS = $(BOOST_CPPFLAGS) $(VTK_CXXFLAGS) 186 libvmg_la_LDFLAGS = \ 187 $(AM_LDFLAGS) 188 libvmg_la_LIBADD = 189 190 nobase_libvmg_la_include_HEADERS = ${VMGHEADERS} 191 192 ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la" 193 ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and 194 ## will therefore be treated as if it were literally part of the target name, 195 ## and the variable name derived from that. 196 ## The file extension .cc is recognized by Automake, and makes it produce 197 ## rules which invoke the C++ compiler to produce a libtool object file (.lo) 198 ## from each source file. Note that it is not necessary to list header files 199 ## which are already listed elsewhere in a _HEADERS variable assignment. 200 libvmg_la_SOURCES = ${VMGSOURCES} 201 202 ## Instruct libtool to include ABI version information in the generated shared 203 ## library file (.so). The library ABI version is defined in configure.ac, so 204 ## that all version information is kept in one place. 205 libvmg_la_LDFLAGS += -version-info $(VMG_SO_VERSION) 206 207 ## The generated configuration header is installed in its own subdirectory of 208 ## $(libdir). The reason for this is that the configuration information put 209 ## into this header file describes the target platform the installed library 210 ## has been built for. Thus the file must not be installed into a location 211 ## intended for architecture-independent files, as defined by the Filesystem 212 ## Hierarchy Standard (FHS). 213 ## The nodist_ prefix instructs Automake to not generate rules for including 214 ## the listed files in the distribution on 'make dist'. Files that are listed 215 ## in _HEADERS variables are normally included in the distribution, but the 216 ## configuration header file is generated at configure time and should not be 217 ## shipped with the source tarball. 218 libvmg_la_libincludedir = $(libdir)/vmg/include 219 nodist_libvmg_la_libinclude_HEADERS = $(top_builddir)/libvmg_config.h 220 221 ## Install the generated pkg-config file (.pc) into the expected location for 222 ## architecture-dependent package configuration information. Occasionally, 223 ## pkg-config files are also used for architecture-independent data packages, 224 ## in which case the correct install location would be $(datadir)/pkgconfig. 225 pkgconfigdir = $(libdir)/pkgconfig 226 pkgconfig_DATA = $(top_builddir)/vmg.pc
Note:
See TracChangeset
for help on using the changeset viewer.
