source: src/LinkedCell/unittests/Makefile.am

Candidate_v1.6.1
Last change on this file was cb98f1, checked in by Frederik Heber <heber@…>, 8 years ago

FIX: One Definition Rule violation by mpqc.

  • mpqc.cc implements MPQCJob::Work() a second time (other in MPQCJob.cpp), this violates ODR and did so far work out of sheer luck. This was brough to surface by making a debian package.
  • Now, we extracted MPQCJob::Work() into a separate library.
  • Property mode set to 100644
File size: 3.4 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)/ThirdParty/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 \
46 ../libMolecuilderJobs_Work.la
47endif
48linkedcellUnitTest_LDADD += \
49 $(LINKEDCELLLIBS)
50
51LinkedCellUnitTest_SOURCES = \
52 ../LinkedCell/unittests/LinkedCellUnitTest.cpp \
53 ../LinkedCell/unittests/LinkedCellUnitTest.hpp \
54 ../LinkedCell/unittests/stubs/TesselPointStub.cpp
55LinkedCellUnitTest_LDADD = \
56 ../libMolecuilderLinkedCell.la \
57 $(LINKEDCELLLIBS)
58
59LinkedCell_ControllerUnitTest_SOURCES = \
60 ../LinkedCell/unittests/LinkedCell_ControllerUnitTest.cpp \
61 ../LinkedCell/unittests/LinkedCell_ControllerUnitTest.hpp \
62 ../LinkedCell/unittests/defs.hpp \
63 stubs/AtomStub.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 \
75 ../libMolecuilderJobs_Work.la
76endif
77LinkedCell_ControllerUnitTest_LDADD += \
78 $(LINKEDCELLLIBS)
79
80LinkedCell_ModelUnitTest_SOURCES = \
81 ../LinkedCell/unittests/LinkedCell_ModelUnitTest.cpp \
82 ../LinkedCell/unittests/LinkedCell_ModelUnitTest.hpp \
83 ../LinkedCell/unittests/defs.hpp
84LinkedCell_ModelUnitTest_LDADD = \
85 ../libMolecuilderUI.la \
86 ../libMolecuilder.la
87if CONDJOBMARKET
88LinkedCell_ModelUnitTest_LDADD += \
89 ../libMolecuilderJobs.la \
90 ../libMolecuilderJobs_Work.la
91endif
92LinkedCell_ModelUnitTest_LDADD += \
93 $(LINKEDCELLLIBS)
94
95LinkedCell_ViewUnitTest_SOURCES = \
96 ../LinkedCell/unittests/LinkedCell_ViewUnitTest.cpp \
97 ../LinkedCell/unittests/LinkedCell_ViewUnitTest.hpp \
98 ../LinkedCell/unittests/defs.hpp \
99 ../LinkedCell/PointCloudAdaptor.hpp
100LinkedCell_ViewUnitTest_LDADD = \
101 ../libMolecuilderUI.la \
102 ../libMolecuilder.la
103if CONDJOBMARKET
104LinkedCell_ViewUnitTest_LDADD += \
105 ../libMolecuilderJobs.la \
106 ../libMolecuilderJobs_Work.la
107endif
108LinkedCell_ViewUnitTest_LDADD += \
109 $(LINKEDCELLLIBS)
110
111
112#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.