source: src/LinkedCell/unittests/Makefile.am@ 15c75f8

SegFault_gcc4.6
Last change on this file since 15c75f8 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.3 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4LINKEDCELLTESTSSOURCES = \
5 ../LinkedCell/unittests/LinkedCellUnitTest.cpp \
6 ../LinkedCell/unittests/LinkedCell_ControllerUnitTest.cpp \
7 ../LinkedCell/unittests/LinkedCell_ModelUnitTest.cpp \
8 ../LinkedCell/unittests/LinkedCell_ViewUnitTest.cpp \
9 ../LinkedCell/unittests/linkedcellUnitTest.cpp
10
11LINKEDCELLTESTSHEADERS = \
12 ../LinkedCell/PointCloudAdaptor.hpp \
13 ../LinkedCell/unittests/LinkedCellUnitTest.hpp \
14 ../LinkedCell/unittests/LinkedCell_ControllerUnitTest.hpp \
15 ../LinkedCell/unittests/LinkedCell_ModelUnitTest.hpp \
16 ../LinkedCell/unittests/LinkedCell_ViewUnitTest.hpp \
17 ../LinkedCell/unittests/linkedcellUnitTest.hpp
18
19LINKEDCELLTESTS = \
20 LinkedCellUnitTest \
21 LinkedCell_ControllerUnitTest \
22 LinkedCell_ModelUnitTest \
23 LinkedCell_ViewUnitTest \
24 linkedcellUnitTest
25
26TESTS += $(LINKEDCELLTESTS)
27check_PROGRAMS += $(LINKEDCELLTESTS)
28noinst_PROGRAMS += $(LINKEDCELLTESTS)
29
30LINKEDCELLLIBS = \
31 libUnitTest.la \
32 ../libMolecuilder.la \
33 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
34 ${CodePatterns_LIBS} \
35 $(BOOST_LIB)
36
37linkedcellUnitTest_SOURCES = \
38 ../LinkedCell/unittests/linkedcellUnitTest.cpp \
39 ../LinkedCell/unittests/linkedcellUnitTest.hpp
40linkedcellUnitTest_LDADD = \
41 ../libMolecuilderUI.la \
42 ../libMolecuilder.la
43if CONDJOBMARKET
44linkedcellUnitTest_LDADD += \
45 ../libMolecuilderJobs.la
46endif
47linkedcellUnitTest_LDADD += \
48 $(LINKEDCELLLIBS)
49
50LinkedCellUnitTest_SOURCES = \
51 ../LinkedCell/unittests/LinkedCellUnitTest.cpp \
52 ../LinkedCell/unittests/LinkedCellUnitTest.hpp \
53 ../LinkedCell/unittests/stubs/TesselPointStub.cpp
54LinkedCellUnitTest_LDADD = \
55 ../libMolecuilderLinkedCell.la \
56 $(LINKEDCELLLIBS)
57
58LinkedCell_ControllerUnitTest_SOURCES = \
59 ../LinkedCell/unittests/LinkedCell_ControllerUnitTest.cpp \
60 ../LinkedCell/unittests/LinkedCell_ControllerUnitTest.hpp \
61 ../LinkedCell/unittests/defs.hpp \
62 stubs/AtomStub.cpp \
63 ../LinkedCell/unittests/stubs/AtomObserverStub.cpp \
64 ../LinkedCell/unittests/stubs/ObserverBoxStub.cpp \
65 ../LinkedCell/unittests/stubs/TesselPointStub.cpp \
66 ../LinkedCell/unittests/stubs/WorldTimeStub.cpp \
67 stubs/WorldStub.cpp \
68 ../LinkedCell/PointCloudAdaptor.hpp
69LinkedCell_ControllerUnitTest_LDADD = \
70 ../libMolecuilderUI.la \
71 ../libMolecuilder.la
72if CONDJOBMARKET
73LinkedCell_ControllerUnitTest_LDADD += \
74 ../libMolecuilderJobs.la
75endif
76LinkedCell_ControllerUnitTest_LDADD += \
77 $(LINKEDCELLLIBS)
78
79LinkedCell_ModelUnitTest_SOURCES = \
80 ../LinkedCell/unittests/LinkedCell_ModelUnitTest.cpp \
81 ../LinkedCell/unittests/LinkedCell_ModelUnitTest.hpp \
82 ../LinkedCell/unittests/defs.hpp
83LinkedCell_ModelUnitTest_LDADD = \
84 ../libMolecuilderUI.la \
85 ../libMolecuilder.la
86if CONDJOBMARKET
87LinkedCell_ModelUnitTest_LDADD += \
88 ../libMolecuilderJobs.la
89endif
90LinkedCell_ModelUnitTest_LDADD += \
91 $(LINKEDCELLLIBS)
92
93LinkedCell_ViewUnitTest_SOURCES = \
94 ../LinkedCell/unittests/LinkedCell_ViewUnitTest.cpp \
95 ../LinkedCell/unittests/LinkedCell_ViewUnitTest.hpp \
96 ../LinkedCell/unittests/defs.hpp \
97 ../LinkedCell/PointCloudAdaptor.hpp
98LinkedCell_ViewUnitTest_LDADD = \
99 ../libMolecuilderUI.la \
100 ../libMolecuilder.la
101if CONDJOBMARKET
102LinkedCell_ViewUnitTest_LDADD += \
103 ../libMolecuilderJobs.la
104endif
105LinkedCell_ViewUnitTest_LDADD += \
106 $(LINKEDCELLLIBS)
107
108
109#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.