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