source: src/Potentials/Specifics/unittests/Makefile.am@ 49e803

Add_FitFragmentPartialChargesAction Fix_ChargeSampling_PBC Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ParseParticles_split_forward_backward_Actions
Last change on this file since 49e803 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: 4.3 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4POTENTIALSSPECIFICSTESTSSOURCES = \
5 ../Potentials/Specifics/unittests/ConstantPotentialUnitTest.cpp \
6 ../Potentials/Specifics/unittests/FourBodyPotential_ImproperUnitTest.cpp \
7 ../Potentials/Specifics/unittests/FourBodyPotential_TorsionUnitTest.cpp \
8 ../Potentials/Specifics/unittests/ManyBodyPotential_TersoffUnitTest.cpp \
9 ../Potentials/Specifics/unittests/PairPotential_HarmonicUnitTest.cpp \
10 ../Potentials/Specifics/unittests/PairPotential_LennardJonesUnitTest.cpp \
11 ../Potentials/Specifics/unittests/PairPotential_MorseUnitTest.cpp \
12 ../Potentials/Specifics/unittests/ThreeBodyPotential_AngleUnitTest.cpp
13
14POTENTIALSSPECIFICSTESTSHEADERS = \
15 ../Potentials/Specifics/unittests/ConstantPotentialUnitTest.hpp \
16 ../Potentials/Specifics/unittests/FourBodyPotential_ImproperUnitTest.hpp \
17 ../Potentials/Specifics/unittests/FourBodyPotential_TorsionUnitTest.hpp \
18 ../Potentials/Specifics/unittests/ManyBodyPotential_TersoffUnitTest.hpp \
19 ../Potentials/Specifics/unittests/PairPotential_HarmonicUnitTest.hpp \
20 ../Potentials/Specifics/unittests/PairPotential_LennardJonesUnitTest.hpp \
21 ../Potentials/Specifics/unittests/PairPotential_MorseUnitTest.hpp \
22 ../Potentials/Specifics/unittests/ThreeBodyPotential_AngleUnitTest.hpp
23
24POTENTIALSSPECIFICSTESTS = \
25 ConstantPotentialUnitTest \
26 FourBodyPotential_ImproperUnitTest \
27 FourBodyPotential_TorsionUnitTest \
28 ManyBodyPotential_TersoffUnitTest \
29 PairPotential_HarmonicUnitTest \
30 PairPotential_LennardJonesUnitTest \
31 PairPotential_MorseUnitTest \
32 ThreeBodyPotential_AngleUnitTest
33
34TESTS += $(POTENTIALSSPECIFICSTESTS)
35check_PROGRAMS += $(POTENTIALSSPECIFICSTESTS)
36noinst_PROGRAMS += $(POTENTIALSSPECIFICSTESTS)
37
38POTENTIALSSPECIFICSLIBS = \
39 libUnitTest.la \
40 ../libMolecuilder.la \
41 ../libMolecuilderPotentials.la \
42 ../libMolecuilderFragmentation.la \
43 ../libMolecuilderFunctionApproximation.la \
44 ../libMolecuilderRandomNumbers.la \
45 ../libMolecuilderFragmentationSummation.la \
46 ../libMolecuilderFragmentation_getFromKeysetStub.la \
47 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
48 ${CodePatterns_LIBS} \
49 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
50 $(BOOST_LIB)
51
52ConstantPotentialUnitTest_SOURCES = \
53 ../Potentials/Specifics/unittests/ConstantPotentialUnitTest.cpp \
54 ../Potentials/Specifics/unittests/ConstantPotentialUnitTest.hpp
55ConstantPotentialUnitTest_LDADD = ${POTENTIALSSPECIFICSLIBS}
56
57FourBodyPotential_ImproperUnitTest_SOURCES = \
58 ../Potentials/Specifics/unittests/FourBodyPotential_ImproperUnitTest.cpp \
59 ../Potentials/Specifics/unittests/FourBodyPotential_ImproperUnitTest.hpp
60FourBodyPotential_ImproperUnitTest_LDADD = ${POTENTIALSSPECIFICSLIBS}
61
62FourBodyPotential_TorsionUnitTest_SOURCES = \
63 ../Potentials/Specifics/unittests/FourBodyPotential_TorsionUnitTest.cpp \
64 ../Potentials/Specifics/unittests/FourBodyPotential_TorsionUnitTest.hpp
65FourBodyPotential_TorsionUnitTest_LDADD = ${POTENTIALSSPECIFICSLIBS}
66
67ManyBodyPotential_TersoffUnitTest_SOURCES = \
68 ../Potentials/Specifics/unittests/ManyBodyPotential_TersoffUnitTest.cpp \
69 ../Potentials/Specifics/unittests/ManyBodyPotential_TersoffUnitTest.hpp
70ManyBodyPotential_TersoffUnitTest_LDADD = ${POTENTIALSSPECIFICSLIBS}
71
72PairPotential_HarmonicUnitTest_SOURCES = \
73 ../Potentials/Specifics/unittests/PairPotential_HarmonicUnitTest.cpp \
74 ../Potentials/Specifics/unittests/PairPotential_HarmonicUnitTest.hpp
75PairPotential_HarmonicUnitTest_LDADD = ${POTENTIALSSPECIFICSLIBS}
76
77PairPotential_LennardJonesUnitTest_SOURCES = \
78 ../Potentials/Specifics/unittests/PairPotential_LennardJonesUnitTest.cpp \
79 ../Potentials/Specifics/unittests/PairPotential_LennardJonesUnitTest.hpp
80PairPotential_LennardJonesUnitTest_LDADD = ${POTENTIALSSPECIFICSLIBS}
81
82PairPotential_MorseUnitTest_SOURCES = \
83 ../Potentials/Specifics/unittests/PairPotential_MorseUnitTest.cpp \
84 ../Potentials/Specifics/unittests/PairPotential_MorseUnitTest.hpp
85PairPotential_MorseUnitTest_LDADD = ${POTENTIALSSPECIFICSLIBS}
86
87ThreeBodyPotential_AngleUnitTest_SOURCES = \
88 ../Potentials/Specifics/unittests/ThreeBodyPotential_AngleUnitTest.cpp \
89 ../Potentials/Specifics/unittests/ThreeBodyPotential_AngleUnitTest.hpp
90ThreeBodyPotential_AngleUnitTest_LDADD = ${POTENTIALSSPECIFICSLIBS}
91
92
93#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.