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