source: src/RandomNumbers/unittests/Makefile.am@ 3f6aac

Action_Thermostats Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.1 ChemicalSpaceEvaluator EmpiricalPotential_contain_HomologyGraph_documentation Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph Fix_Verbose_Codepatterns ForceAnnealing_oldresults ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool PythonUI_with_named_parameters Recreated_GuiChecks StoppableMakroAction TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps
Last change on this file since 3f6aac was 748fc7, checked in by Frederik Heber <heber@…>, 10 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: 2.3 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4#AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl ${BOOST_LDFLAGS}
5#AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
6
7RANDOMNUMBERTESTSSOURCES = \
8 ../RandomNumbers/unittests/RandomNumberDistributionFactoryUnitTest.cpp \
9 ../RandomNumbers/unittests/RandomNumberEngineFactoryUnitTest.cpp \
10 ../RandomNumbers/unittests/RandomNumberGeneratorFactoryUnitTest.cpp \
11 ../RandomNumbers/unittests/RandomNumberGeneratorUnitTest.cpp
12
13RANDOMNUMBERTESTSHEADERS = \
14 ../RandomNumbers/unittests/RandomNumberDistributionFactoryUnitTest.hpp \
15 ../RandomNumbers/unittests/RandomNumberEngineFactoryUnitTest.hpp \
16 ../RandomNumbers/unittests/RandomNumberGeneratorFactoryUnitTest.hpp \
17 ../RandomNumbers/unittests/RandomNumberGeneratorUnitTest.hpp
18
19RANDOMNUMBERTESTS = \
20 RandomNumberDistributionFactoryUnitTest \
21 RandomNumberEngineFactoryUnitTest \
22 RandomNumberGeneratorFactoryUnitTest \
23 RandomNumberGeneratorUnitTest
24
25TESTS += $(RANDOMNUMBERTESTS)
26check_PROGRAMS += $(RANDOMNUMBERTESTS)
27noinst_PROGRAMS += $(RANDOMNUMBERTESTS)
28
29RANDOMNUMBERLIBS = \
30 libUnitTest.la \
31 ../libMolecuilder.la \
32 ../libMolecuilderRandomNumbers.la \
33 ${CodePatterns_LIBS} \
34 $(BOOST_LIB)
35
36RandomNumberDistributionFactoryUnitTest_SOURCES = \
37 ../RandomNumbers/unittests/RandomNumberDistributionFactoryUnitTest.cpp \
38 ../RandomNumbers/unittests/RandomNumberDistributionFactoryUnitTest.hpp
39RandomNumberDistributionFactoryUnitTest_LDADD = ${RANDOMNUMBERLIBS}
40
41RandomNumberEngineFactoryUnitTest_SOURCES = \
42 ../RandomNumbers/unittests/RandomNumberEngineFactoryUnitTest.cpp \
43 ../RandomNumbers/unittests/RandomNumberEngineFactoryUnitTest.hpp
44RandomNumberEngineFactoryUnitTest_LDADD = ${RANDOMNUMBERLIBS}
45
46RandomNumberGeneratorFactoryUnitTest_SOURCES = \
47 ../RandomNumbers/unittests/RandomNumberGeneratorFactoryUnitTest.cpp \
48 ../RandomNumbers/unittests/RandomNumberGeneratorFactoryUnitTest.hpp
49RandomNumberGeneratorFactoryUnitTest_LDADD = ${RANDOMNUMBERLIBS}
50
51RandomNumberGeneratorUnitTest_SOURCES = \
52 ../RandomNumbers/unittests/RandomNumberGeneratorUnitTest.cpp \
53 ../RandomNumbers/unittests/RandomNumberGeneratorUnitTest.hpp
54RandomNumberGeneratorUnitTest_LDADD = ${RANDOMNUMBERLIBS}
55
56
57#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.