1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
2 | # Also indentation by a single tab
|
---|
3 |
|
---|
4 | SUBDIRS = \
|
---|
5 | ../Actions/unittests \
|
---|
6 | ../Patterns/unittests
|
---|
7 |
|
---|
8 | INCLUDES = -I$(top_srcdir)/src
|
---|
9 |
|
---|
10 | AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
|
---|
11 | AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
---|
12 | AM_CPPFLAGS = ${BOOST_CPPFLAGS}
|
---|
13 |
|
---|
14 | TESTS = \
|
---|
15 | AnalysisBondsUnitTests \
|
---|
16 | AnalysisCorrelationToPointUnitTest \
|
---|
17 | AnalysisCorrelationToSurfaceUnitTest \
|
---|
18 | AnalysisPairCorrelationUnitTest \
|
---|
19 | atomsCalculationTest \
|
---|
20 | AtomDescriptorTest \
|
---|
21 | BondGraphUnitTest \
|
---|
22 | BoxUnittest \
|
---|
23 | CacheableTest \
|
---|
24 | CountBondsUnitTest \
|
---|
25 | FormulaUnittest \
|
---|
26 | InfoUnitTest \
|
---|
27 | LinearSystemOfEquationsUnitTest \
|
---|
28 | LineUnittest \
|
---|
29 | LinkedCellUnitTest \
|
---|
30 | ListOfBondsUnitTest \
|
---|
31 | LogUnitTest \
|
---|
32 | manipulateAtomsTest \
|
---|
33 | MatrixContentSymmetricUnitTest \
|
---|
34 | MatrixContentUnitTest \
|
---|
35 | MatrixUnittest \
|
---|
36 | MenuDescriptionUnitTest \
|
---|
37 | MoleculeDescriptorTest \
|
---|
38 | ObserverTest \
|
---|
39 | ParserCommonUnitTest \
|
---|
40 | ParserTremoloUnitTest \
|
---|
41 | periodentafelTest \
|
---|
42 | PlaneUnittest \
|
---|
43 | Registry \
|
---|
44 | ShapeUnittest \
|
---|
45 | SubspaceFactorizerUnitTest \
|
---|
46 | TesselationUnitTest \
|
---|
47 | Tesselation_BoundaryTriangleUnitTest \
|
---|
48 | Tesselation_InOutsideUnitTest \
|
---|
49 | VectorContentUnitTest \
|
---|
50 | VectorUnitTest
|
---|
51 |
|
---|
52 |
|
---|
53 | check_PROGRAMS = $(TESTS)
|
---|
54 | noinst_PROGRAMS = $(TESTS) TestRunner
|
---|
55 |
|
---|
56 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
57 | GSLLIBS = \
|
---|
58 | ../LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
59 | ../Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
60 | ../Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
61 | $(BOOST_LIB)
|
---|
62 | ALLLIBS = \
|
---|
63 | ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
64 | ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
65 | ${PARSERLIBS} \
|
---|
66 | ../libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
67 | ${GSLLIBS}
|
---|
68 |
|
---|
69 | PARSERLIBS = ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
|
---|
70 | UILIBS = ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la
|
---|
71 |
|
---|
72 | TESTSOURCES = \
|
---|
73 | ../Actions/unittests/ActionRegistryUnitTest.cpp \
|
---|
74 | ../Actions/unittests/ActionSequenceUnitTest.cpp \
|
---|
75 | analysisbondsunittest.cpp \
|
---|
76 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
77 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
78 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
79 | AtomDescriptorTest.cpp \
|
---|
80 | atomsCalculationTest.cpp \
|
---|
81 | bondgraphunittest.cpp \
|
---|
82 | BoxUnittest.cpp \
|
---|
83 | CacheableTest.cpp \
|
---|
84 | CountBondsUnitTest.cpp \
|
---|
85 | FormulaUnittest.cpp \
|
---|
86 | infounittest.cpp \
|
---|
87 | linearsystemofequationsunittest.cpp \
|
---|
88 | LineUnittest.cpp \
|
---|
89 | LinkedCellUnitTest.cpp \
|
---|
90 | listofbondsunittest.cpp \
|
---|
91 | logunittest.cpp \
|
---|
92 | MatrixContentSymmetricUnittest.cpp \
|
---|
93 | MatrixContentUnittest.cpp \
|
---|
94 | MatrixUnittest.cpp \
|
---|
95 | manipulateAtomsTest.cpp \
|
---|
96 | MenuDescriptionUnitTest.cpp \
|
---|
97 | MoleculeDescriptorTest.cpp \
|
---|
98 | ObserverTest.cpp \
|
---|
99 | ParserCommonUnitTest.cpp \
|
---|
100 | ParserTremoloUnitTest.cpp \
|
---|
101 | periodentafelTest.cpp \
|
---|
102 | PlaneUnittest.cpp \
|
---|
103 | RegistryUnitTest.cpp \
|
---|
104 | ShapeUnittest.cpp \
|
---|
105 | ../Patterns/unittests/SingletonUnitTest.cpp \
|
---|
106 | tesselationunittest.cpp \
|
---|
107 | tesselation_boundarytriangleunittest.cpp \
|
---|
108 | tesselation_insideoutsideunittest.cpp \
|
---|
109 | VectorContentUnittest.cpp \
|
---|
110 | vectorunittest.cpp
|
---|
111 |
|
---|
112 | TESTHEADERS = \
|
---|
113 | ../Actions/unittests/ActionRegistryUnitTest.hpp \
|
---|
114 | ../Actions/unittests/ActionSequenceUnitTest.hpp \
|
---|
115 | analysisbondsunittest.hpp \
|
---|
116 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
117 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
118 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
119 | AtomDescriptorTest.hpp \
|
---|
120 | atomsCalculationTest.hpp \
|
---|
121 | bondgraphunittest.hpp \
|
---|
122 | BoxUnittest.hpp \
|
---|
123 | CacheableTest.hpp \
|
---|
124 | CountBondsUnitTest.hpp \
|
---|
125 | FormulaUnittest.hpp \
|
---|
126 | infounittest.hpp \
|
---|
127 | linearsystemofequationsunittest.hpp \
|
---|
128 | LineUnittest.hpp \
|
---|
129 | LinkedCellUnitTest.hpp \
|
---|
130 | listofbondsunittest.hpp \
|
---|
131 | logunittest.hpp \
|
---|
132 | manipulateAtomsTest.hpp \
|
---|
133 | MatrixContentSymmetricUnittest.hpp \
|
---|
134 | MatrixContentUnittest.hpp \
|
---|
135 | MatrixUnittest.hpp \
|
---|
136 | MenuDescriptionUnitTest.hpp \
|
---|
137 | MoleculeDescriptorTest.hpp \
|
---|
138 | ObserverTest.hpp \
|
---|
139 | periodentafelTest.hpp \
|
---|
140 | ParserCommonUnitTest.hpp \
|
---|
141 | ParserTremoloUnitTest.hpp \
|
---|
142 | PlaneUnittest.hpp \
|
---|
143 | RegistryUnitTest.hpp \
|
---|
144 | ShapeUnittest.hpp \
|
---|
145 | ../Patterns/unittests/SingletonUnitTest.hpp \
|
---|
146 | stackclassunittest.hpp \
|
---|
147 | tesselationunittest.hpp \
|
---|
148 | tesselation_boundarytriangleunittest.hpp \
|
---|
149 | tesselation_insideoutsideunittest.hpp \
|
---|
150 | VectorContentUnittest.hpp \
|
---|
151 | vectorunittest.hpp
|
---|
152 |
|
---|
153 |
|
---|
154 | AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
|
---|
155 | AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
|
---|
156 |
|
---|
157 | AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
|
---|
158 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
159 |
|
---|
160 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
161 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
162 |
|
---|
163 | AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
|
---|
164 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
165 |
|
---|
166 | atomsCalculationTest_SOURCES = UnitTestMain.cpp atomsCalculationTest.cpp atomsCalculationTest.hpp
|
---|
167 | atomsCalculationTest_LDADD = ${ALLLIBS}
|
---|
168 |
|
---|
169 | AtomDescriptorTest_SOURCES = UnitTestMain.cpp AtomDescriptorTest.cpp AtomDescriptorTest.hpp
|
---|
170 | AtomDescriptorTest_LDADD = ${ALLLIBS}
|
---|
171 |
|
---|
172 | BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
|
---|
173 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
174 |
|
---|
175 | BoxUnittest_SOURCES = UnitTestMain.cpp BoxUnittest.cpp BoxUnittest.hpp
|
---|
176 | BoxUnittest_LDADD = ${ALLLIBS}
|
---|
177 |
|
---|
178 | CacheableTest_SOURCES = UnitTestMain.cpp CacheableTest.cpp CacheableTest.hpp
|
---|
179 | CacheableTest_LDADD = ${ALLLIBS}
|
---|
180 |
|
---|
181 | CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
|
---|
182 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
183 |
|
---|
184 | FormulaUnittest_SOURCES = UnitTestMain.cpp FormulaUnittest.cpp FormulaUnittest.hpp
|
---|
185 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
186 |
|
---|
187 | MatrixContentSymmetricUnitTest_SOURCES = UnitTestMain.cpp MatrixContentSymmetricUnittest.cpp MatrixContentSymmetricUnittest
|
---|
188 | MatrixContentSymmetricUnitTest_LDADD = ${ALLLIBS}
|
---|
189 |
|
---|
190 | MatrixContentUnitTest_SOURCES = UnitTestMain.cpp MatrixContentUnittest.cpp MatrixContentUnittest.hpp
|
---|
191 | MatrixContentUnitTest_LDADD = ${ALLLIBS}
|
---|
192 |
|
---|
193 | InfoUnitTest_SOURCES = UnitTestMain.cpp infounittest.cpp infounittest.hpp
|
---|
194 | InfoUnitTest_LDADD = ${ALLLIBS}
|
---|
195 |
|
---|
196 | LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp linearsystemofequationsunittest.cpp linearsystemofequationsunittest.hpp
|
---|
197 | LinearSystemOfEquationsUnitTest_LDADD = ${ALLLIBS}
|
---|
198 |
|
---|
199 | LineUnittest_SOURCES = UnitTestMain.cpp LineUnittest.cpp LineUnittest.hpp
|
---|
200 | LineUnittest_LDADD = ${ALLLIBS}
|
---|
201 |
|
---|
202 | LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
|
---|
203 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
204 |
|
---|
205 | ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
|
---|
206 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
207 |
|
---|
208 | LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
|
---|
209 | LogUnitTest_LDADD = ${ALLLIBS}
|
---|
210 |
|
---|
211 | manipulateAtomsTest_SOURCES = UnitTestMain.cpp manipulateAtomsTest.cpp manipulateAtomsTest.hpp
|
---|
212 | manipulateAtomsTest_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
213 |
|
---|
214 | MatrixUnittest_SOURCES = UnitTestMain.cpp MatrixUnittest.cpp MatrixUnittest.hpp
|
---|
215 | MatrixUnittest_LDADD = ${ALLLIBS}
|
---|
216 |
|
---|
217 | MenuDescriptionUnitTest_SOURCES = UnitTestMain.cpp MenuDescriptionUnitTest.cpp MenuDescriptionUnitTest.hpp
|
---|
218 | MenuDescriptionUnitTest_LDADD = ${ALLLIBS}
|
---|
219 |
|
---|
220 | MoleculeDescriptorTest_SOURCES = UnitTestMain.cpp MoleculeDescriptorTest.cpp MoleculeDescriptorTest.hpp
|
---|
221 | MoleculeDescriptorTest_LDADD = ${ALLLIBS}
|
---|
222 |
|
---|
223 | ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
|
---|
224 | ObserverTest_LDADD = ${ALLLIBS}
|
---|
225 |
|
---|
226 | ParserCommonUnitTest_SOURCES = UnitTestMain.cpp ParserCommonUnitTest.cpp ParserCommonUnitTest.hpp
|
---|
227 | ParserCommonUnitTest_LDADD = ${ALLLIBS}
|
---|
228 |
|
---|
229 | ParserTremoloUnitTest_SOURCES = UnitTestMain.cpp ParserTremoloUnitTest.cpp ParserTremoloUnitTest.hpp
|
---|
230 | ParserTremoloUnitTest_LDADD = ${ALLLIBS}
|
---|
231 |
|
---|
232 | periodentafelTest_SOURCES = UnitTestMain.cpp periodentafelTest.cpp periodentafelTest.hpp
|
---|
233 | periodentafelTest_LDADD = ${ALLLIBS}
|
---|
234 |
|
---|
235 | PlaneUnittest_SOURCES = UnitTestMain.cpp PlaneUnittest.cpp PlaneUnittest.hpp
|
---|
236 | PlaneUnittest_LDADD = ${ALLLIBS}
|
---|
237 |
|
---|
238 | Registry_SOURCES = UnitTestMain.cpp RegistryUnitTest.cpp RegistryUnitTest.hpp
|
---|
239 | Registry_LDADD = ${ALLLIBS}
|
---|
240 |
|
---|
241 | ShapeUnittest_SOURCES = UnitTestMain.cpp ShapeUnittest.cpp ShapeUnittest.hpp
|
---|
242 | ShapeUnittest_LDADD = ${ALLLIBS}
|
---|
243 |
|
---|
244 | SubspaceFactorizerUnitTest_SOURCES = UnitTestMain.cpp SubspaceFactorizerUnittest.cpp SubspaceFactorizerUnittest.hpp
|
---|
245 | SubspaceFactorizerUnitTest_LDADD = ${GSLLIBS}
|
---|
246 |
|
---|
247 | TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
|
---|
248 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
249 |
|
---|
250 | Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
|
---|
251 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
252 |
|
---|
253 | Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
|
---|
254 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
255 |
|
---|
256 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
257 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
258 |
|
---|
259 | VectorContentUnitTest_SOURCES = UnitTestMain.cpp VectorContentUnittest.cpp VectorContentUnittest.hpp
|
---|
260 | VectorContentUnitTest_LDADD = ${ALLLIBS}
|
---|
261 |
|
---|
262 | VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
|
---|
263 | VectorUnitTest_LDADD = ${ALLLIBS}
|
---|
264 |
|
---|
265 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|