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