source: src/RandomNumbers/Makefile.am@ 72b467

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since 72b467 was 748fc7, checked in by Frederik Heber <heber@…>, 11 years ago

libMolecuilder is now a shared library.

  • linking error Vector::IsZero(double) with molecuilder(gui), related to libMolecuilderShapes was the root cause for this change. Again, it was not deducible why this error occured:
  • probably (me tired of these obfuscated linker errors ...) faulted because libMolecuilder is convenience lib while libMolecuilderUI and ..QtUI are shared and deps did not get passed along properly (by libtool) (e.g. ldd showed libMolecuilderShapes prior to libLinearAlgebra, containing said function Vector::IsZero(double), but I cannot influence this ordering and it should not even matter (dynamic linking).)
  • some cleanup in builder_init.cpp (no more loading of BondGraph from file named "\n".
  • TESTFIX: libMolecuilder.so added to all unittests, required for e.g. World::purgeInstance() ... and sometimes added libMolecuilderUI.so because libMolecuilder pulled them in due to static entities ... sigh.
  • removed all src object files from unittest .._SOURCES. This caused distclean faults "thanks" to new subdir-objects (automake).
  • Property mode set to 100644
File size: 3.8 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4# Position-Independent Code necessary for shared library
5#AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl ${BOOST_LDFLAGS}
6#AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
7
8RANDOMSOURCE = \
9 RandomNumbers/RandomNumberDistribution_Encapsulation.cpp \
10 RandomNumbers/RandomNumberDistribution_Parameters.cpp \
11 RandomNumbers/RandomNumberDistributionFactory.cpp \
12 RandomNumbers/RandomNumberEngine_Encapsulation.cpp \
13 RandomNumbers/RandomNumberEngine_Parameters.cpp \
14 RandomNumbers/RandomNumberEngineFactory.cpp \
15 RandomNumbers/RandomNumberGenerator.cpp \
16 RandomNumbers/RandomNumberGeneratorFactory.cpp \
17 RandomNumbers/TemplatePowerSetGenerator.hpp \
18 RandomNumbers/EmptyPrototypeTable.hpp
19
20RANDOMHEADER = \
21 RandomNumbers/RandomNumberDistribution.hpp \
22 RandomNumbers/RandomNumberDistribution_Parameters.hpp \
23 RandomNumbers/RandomNumberDistribution_Encapsulation.hpp \
24 RandomNumbers/RandomNumberDistributionFactory.hpp \
25 RandomNumbers/RandomNumberEngine.hpp \
26 RandomNumbers/RandomNumberEngine_Encapsulation.hpp \
27 RandomNumbers/RandomNumberEngine_Parameters.hpp \
28 RandomNumbers/RandomNumberEngineFactory.hpp \
29 RandomNumbers/RandomNumberGenerator.hpp \
30 RandomNumbers/RandomNumberGenerator_Encapsulation.hpp \
31 RandomNumbers/RandomNumberGeneratorFactory.hpp
32
33RANDOMDEFS = \
34 RandomNumbers/RandomNumberDistributionFactory.def \
35 RandomNumbers/RandomNumberDistributionFactory.undef \
36 RandomNumbers/RandomNumberEngineFactory.def \
37 RandomNumbers/RandomNumberEngineFactory.undef \
38 RandomNumbers/RandomNumberGeneratorFactory.def \
39 RandomNumbers/RandomNumberGeneratorFactory.undef
40
41lib_LTLIBRARIES += libMolecuilderRandomNumbers.la
42libMolecuilderRandomNumbers_la_includedir = $(includedir)/MoleCuilder/
43libMolecuilderRandomNumbers_la_LIBADD = \
44 ${CodePatterns_LIBS}
45nobase_libMolecuilderRandomNumbers_la_include_HEADERS = ${RANDOMHEADER} ${RANDOMDEFS}
46
47## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
48## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
49## will therefore be treated as if it were literally part of the target name,
50## and the variable name derived from that.
51## The file extension .cc is recognized by Automake, and makes it produce
52## rules which invoke the C++ compiler to produce a libtool object file (.lo)
53## from each source file. Note that it is not necessary to list header files
54## which are already listed elsewhere in a _HEADERS variable assignment.
55libMolecuilderRandomNumbers_la_SOURCES = ${RANDOMSOURCE}
56
57## Instruct libtool to include ABI version information in the generated shared
58## library file (.so). The library ABI version is defined in configure.ac, so
59## that all version information is kept in one place.
60libMolecuilderRandomNumbers_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
61
62## The generated configuration header is installed in its own subdirectory of
63## $(libdir). The reason for this is that the configuration information put
64## into this header file describes the target platform the installed library
65## has been built for. Thus the file must not be installed into a location
66## intended for architecture-independent files, as defined by the Filesystem
67## Hierarchy Standard (FHS).
68## The nodist_ prefix instructs Automake to not generate rules for including
69## the listed files in the distribution on 'make dist'. Files that are listed
70## in _HEADERS variables are normally included in the distribution, but the
71## configuration header file is generated at configure time and should not be
72## shipped with the source tarball.
73libMolecuilderRandomNumbers_libincludedir = $(libdir)/MoleCuilder/include
74nodist_libMolecuilderRandomNumbers_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
Note: See TracBrowser for help on using the repository browser.