source: src/Fragmentation/Summation/SetValues/unittests/Makefile.am@ 019b96

Last change on this file since 019b96 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.1 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4FRAGMENTATIONSETVALUESTESTSSOURCES = \
5 ../Fragmentation/Summation/SetValues/unittests/EigenvaluesUnitTest.cpp \
6 ../Fragmentation/Summation/SetValues/unittests/FragmentUnitTest.cpp \
7 ../Fragmentation/Summation/SetValues/unittests/HistogramUnitTest.cpp \
8 ../Fragmentation/Summation/SetValues/unittests/IndexedVectorsUnitTest.cpp \
9 ../Fragmentation/Summation/SetValues/unittests/SamplingGridPropertiesUnitTest.cpp \
10 ../Fragmentation/Summation/SetValues/unittests/SamplingGridUnitTest.cpp
11
12FRAGMENTATIONSETVALUESTESTSHEADERS = \
13 ../Fragmentation/Summation/SetValues/unittests/EigenvaluesUnitTest.hpp \
14 ../Fragmentation/Summation/SetValues/unittests/FragmentUnitTest.hpp \
15 ../Fragmentation/Summation/SetValues/unittests/HistogramUnitTest.hpp \
16 ../Fragmentation/Summation/SetValues/unittests/IndexedVectorsUnitTest.hpp \
17 ../Fragmentation/Summation/SetValues/unittests/SamplingGridPropertiesUnitTest.hpp \
18 ../Fragmentation/Summation/SetValues/unittests/SamplingGridUnitTest.hpp
19
20FRAGMENTATIONSETVALUESTESTS = \
21 EigenvaluesUnitTest \
22 FragmentUnitTest \
23 HistogramUnitTest \
24 IndexedVectorsUnitTest \
25 SamplingGridPropertiesUnitTest \
26 SamplingGridUnitTest
27
28TESTS += $(FRAGMENTATIONSETVALUESTESTS)
29check_PROGRAMS += $(FRAGMENTATIONSETVALUESTESTS)
30noinst_PROGRAMS += $(FRAGMENTATIONSETVALUESTESTS)
31
32FRAGMENTATIONSETVALUESLIBS = \
33 libUnitTest.la \
34 ../libMolecuilder.la \
35 ../libMolecuilderFragmentationSetValues.la \
36 ${CodePatterns_LIBS} \
37 $(BOOST_LIB)
38
39EigenvaluesUnitTest_SOURCES = \
40 ../Fragmentation/Summation/SetValues/unittests/EigenvaluesUnitTest.cpp \
41 ../Fragmentation/Summation/SetValues/unittests/EigenvaluesUnitTest.hpp
42EigenvaluesUnitTest_LDADD = \
43 ${FRAGMENTATIONSETVALUESLIBS} \
44 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
45
46FragmentUnitTest_SOURCES = \
47 ../Fragmentation/Summation/SetValues/unittests/FragmentUnitTest.cpp \
48 ../Fragmentation/Summation/SetValues/unittests/FragmentUnitTest.hpp
49FragmentUnitTest_LDADD = \
50 ${FRAGMENTATIONSETVALUESLIBS} \
51 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
52
53HistogramUnitTest_SOURCES = \
54 ../Fragmentation/Summation/SetValues/unittests/HistogramUnitTest.cpp \
55 ../Fragmentation/Summation/SetValues/unittests/HistogramUnitTest.hpp
56HistogramUnitTest_LDADD = ${FRAGMENTATIONSETVALUESLIBS}
57
58IndexedVectorsUnitTest_SOURCES = \
59 ../Fragmentation/Summation/SetValues/unittests/IndexedVectorsUnitTest.cpp \
60 ../Fragmentation/Summation/SetValues/unittests/IndexedVectorsUnitTest.hpp
61IndexedVectorsUnitTest_LDADD = ${FRAGMENTATIONSETVALUESLIBS}
62
63SamplingGridPropertiesUnitTest_SOURCES = \
64 ../Fragmentation/Summation/SetValues/unittests/SamplingGridPropertiesUnitTest.cpp \
65 ../Fragmentation/Summation/SetValues/unittests/SamplingGridPropertiesUnitTest.hpp
66SamplingGridPropertiesUnitTest_LDADD = ${FRAGMENTATIONSETVALUESLIBS}
67
68SamplingGridUnitTest_SOURCES = \
69 ../Fragmentation/Summation/SetValues/unittests/SamplingGridUnitTest.cpp \
70 ../Fragmentation/Summation/SetValues/unittests/SamplingGridUnitTest.hpp
71SamplingGridUnitTest_LDADD = ${FRAGMENTATIONSETVALUESLIBS}
72
73#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.