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 | LogUnitTest \
|
---|
30 | manipulateAtomsTest \
|
---|
31 | MenuDescriptionUnitTest \
|
---|
32 | MoleculeDescriptorTest \
|
---|
33 | ObserverTest \
|
---|
34 | ParserCommonUnitTest \
|
---|
35 | ParserTremoloUnitTest \
|
---|
36 | periodentafelTest \
|
---|
37 | PlaneUnittest \
|
---|
38 | Registry \
|
---|
39 | ShapeUnittest \
|
---|
40 | SubspaceFactorizerUnitTest \
|
---|
41 | TesselationUnitTest \
|
---|
42 | Tesselation_BoundaryTriangleUnitTest \
|
---|
43 | Tesselation_InOutsideUnitTest \
|
---|
44 | VectorContentUnitTest \
|
---|
45 | VectorUnitTest
|
---|
46 |
|
---|
47 |
|
---|
48 | check_PROGRAMS = $(TESTS)
|
---|
49 | noinst_PROGRAMS = $(TESTS) TestRunner
|
---|
50 |
|
---|
51 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
52 | GSLLIBS = \
|
---|
53 | ../LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
54 | ../Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
55 | ../Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
56 | $(BOOST_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 |
|
---|
64 | PARSERLIBS = ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
|
---|
65 | UILIBS = ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la
|
---|
66 |
|
---|
67 | TESTSOURCES = \
|
---|
68 | ../Actions/unittests/ActionRegistryUnitTest.cpp \
|
---|
69 | ../Actions/unittests/ActionSequenceUnitTest.cpp \
|
---|
70 | analysisbondsunittest.cpp \
|
---|
71 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
72 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
73 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
74 | ../Descriptors/unittests/AtomDescriptorUnitTest.cpp \
|
---|
75 | ../Actions/unittests/AtomsCalculationUnitTest.cpp \
|
---|
76 | bondgraphunittest.cpp \
|
---|
77 | BoxUnittest.cpp \
|
---|
78 | ../Patterns/unittests/CacheableUnitTest.cpp \
|
---|
79 | CountBondsUnitTest.cpp \
|
---|
80 | FormulaUnittest.cpp \
|
---|
81 | ../Helpers/unittests/InfoUnitTest.cpp \
|
---|
82 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.cpp \
|
---|
83 | LineUnittest.cpp \
|
---|
84 | LinkedCellUnitTest.cpp \
|
---|
85 | listofbondsunittest.cpp \
|
---|
86 | logunittest.cpp \
|
---|
87 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.cpp \
|
---|
88 | ../LinearAlgebra/unittests/MatrixContentUnitTest.cpp \
|
---|
89 | ../LinearAlgebra/unittests/MatrixUnitTest.cpp \
|
---|
90 | manipulateAtomsTest.cpp \
|
---|
91 | MenuDescriptionUnitTest.cpp \
|
---|
92 | MoleculeDescriptorTest.cpp \
|
---|
93 | ObserverTest.cpp \
|
---|
94 | ParserCommonUnitTest.cpp \
|
---|
95 | ParserTremoloUnitTest.cpp \
|
---|
96 | periodentafelTest.cpp \
|
---|
97 | PlaneUnittest.cpp \
|
---|
98 | RegistryUnitTest.cpp \
|
---|
99 | ShapeUnittest.cpp \
|
---|
100 | ../Patterns/unittests/SingletonUnitTest.cpp \
|
---|
101 | tesselationunittest.cpp \
|
---|
102 | tesselation_boundarytriangleunittest.cpp \
|
---|
103 | tesselation_insideoutsideunittest.cpp \
|
---|
104 | VectorContentUnittest.cpp \
|
---|
105 | vectorunittest.cpp
|
---|
106 |
|
---|
107 | TESTHEADERS = \
|
---|
108 | ../Actions/unittests/ActionRegistryUnitTest.hpp \
|
---|
109 | ../Actions/unittests/ActionSequenceUnitTest.hpp \
|
---|
110 | analysisbondsunittest.hpp \
|
---|
111 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
112 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
113 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
114 | ../Descriptors/unittests/AtomDescriptorUnitTest.hpp \
|
---|
115 | ../Actions/unittests/AtomsCalculationUnitTest.hpp \
|
---|
116 | bondgraphunittest.hpp \
|
---|
117 | BoxUnittest.hpp \
|
---|
118 | ../Patterns/unittests/CacheableUnitTest.hpp \
|
---|
119 | CountBondsUnitTest.hpp \
|
---|
120 | FormulaUnittest.hpp \
|
---|
121 | ../Helpers/unittests/InfoUnitTest.hpp \
|
---|
122 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.hpp \
|
---|
123 | LineUnittest.hpp \
|
---|
124 | LinkedCellUnitTest.hpp \
|
---|
125 | listofbondsunittest.hpp \
|
---|
126 | logunittest.hpp \
|
---|
127 | manipulateAtomsTest.hpp \
|
---|
128 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.hpp \
|
---|
129 | ../LinearAlgebra/unittests/MatrixContentUnitTest.hpp \
|
---|
130 | ../LinearAlgebra/unittests/MatrixUnitTest.hpp \
|
---|
131 | MenuDescriptionUnitTest.hpp \
|
---|
132 | MoleculeDescriptorTest.hpp \
|
---|
133 | ObserverTest.hpp \
|
---|
134 | periodentafelTest.hpp \
|
---|
135 | ParserCommonUnitTest.hpp \
|
---|
136 | ParserTremoloUnitTest.hpp \
|
---|
137 | PlaneUnittest.hpp \
|
---|
138 | RegistryUnitTest.hpp \
|
---|
139 | ShapeUnittest.hpp \
|
---|
140 | ../Patterns/unittests/SingletonUnitTest.hpp \
|
---|
141 | stackclassunittest.hpp \
|
---|
142 | tesselationunittest.hpp \
|
---|
143 | tesselation_boundarytriangleunittest.hpp \
|
---|
144 | tesselation_insideoutsideunittest.hpp \
|
---|
145 | VectorContentUnittest.hpp \
|
---|
146 | vectorunittest.hpp
|
---|
147 |
|
---|
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 | BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
|
---|
162 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
163 |
|
---|
164 | BoxUnittest_SOURCES = UnitTestMain.cpp BoxUnittest.cpp BoxUnittest.hpp
|
---|
165 | BoxUnittest_LDADD = ${ALLLIBS}
|
---|
166 |
|
---|
167 | CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
|
---|
168 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
169 |
|
---|
170 | FormulaUnittest_SOURCES = UnitTestMain.cpp FormulaUnittest.cpp FormulaUnittest.hpp
|
---|
171 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
172 |
|
---|
173 | LineUnittest_SOURCES = UnitTestMain.cpp LineUnittest.cpp LineUnittest.hpp
|
---|
174 | LineUnittest_LDADD = ${ALLLIBS}
|
---|
175 |
|
---|
176 | LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
|
---|
177 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
178 |
|
---|
179 | ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
|
---|
180 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
181 |
|
---|
182 | LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
|
---|
183 | LogUnitTest_LDADD = ${ALLLIBS}
|
---|
184 |
|
---|
185 | manipulateAtomsTest_SOURCES = UnitTestMain.cpp manipulateAtomsTest.cpp manipulateAtomsTest.hpp
|
---|
186 | manipulateAtomsTest_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
187 |
|
---|
188 | MenuDescriptionUnitTest_SOURCES = UnitTestMain.cpp MenuDescriptionUnitTest.cpp MenuDescriptionUnitTest.hpp
|
---|
189 | MenuDescriptionUnitTest_LDADD = ${ALLLIBS}
|
---|
190 |
|
---|
191 | MoleculeDescriptorTest_SOURCES = UnitTestMain.cpp MoleculeDescriptorTest.cpp MoleculeDescriptorTest.hpp
|
---|
192 | MoleculeDescriptorTest_LDADD = ${ALLLIBS}
|
---|
193 |
|
---|
194 | ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
|
---|
195 | ObserverTest_LDADD = ${ALLLIBS}
|
---|
196 |
|
---|
197 | ParserCommonUnitTest_SOURCES = UnitTestMain.cpp ParserCommonUnitTest.cpp ParserCommonUnitTest.hpp
|
---|
198 | ParserCommonUnitTest_LDADD = ${ALLLIBS}
|
---|
199 |
|
---|
200 | ParserTremoloUnitTest_SOURCES = UnitTestMain.cpp ParserTremoloUnitTest.cpp ParserTremoloUnitTest.hpp
|
---|
201 | ParserTremoloUnitTest_LDADD = ${ALLLIBS}
|
---|
202 |
|
---|
203 | periodentafelTest_SOURCES = UnitTestMain.cpp periodentafelTest.cpp periodentafelTest.hpp
|
---|
204 | periodentafelTest_LDADD = ${ALLLIBS}
|
---|
205 |
|
---|
206 | PlaneUnittest_SOURCES = UnitTestMain.cpp PlaneUnittest.cpp PlaneUnittest.hpp
|
---|
207 | PlaneUnittest_LDADD = ${ALLLIBS}
|
---|
208 |
|
---|
209 | Registry_SOURCES = UnitTestMain.cpp RegistryUnitTest.cpp RegistryUnitTest.hpp
|
---|
210 | Registry_LDADD = ${ALLLIBS}
|
---|
211 |
|
---|
212 | ShapeUnittest_SOURCES = UnitTestMain.cpp ShapeUnittest.cpp ShapeUnittest.hpp
|
---|
213 | ShapeUnittest_LDADD = ${ALLLIBS}
|
---|
214 |
|
---|
215 | SubspaceFactorizerUnitTest_SOURCES = UnitTestMain.cpp SubspaceFactorizerUnittest.cpp SubspaceFactorizerUnittest.hpp
|
---|
216 | SubspaceFactorizerUnitTest_LDADD = ${GSLLIBS}
|
---|
217 |
|
---|
218 | TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
|
---|
219 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
220 |
|
---|
221 | Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
|
---|
222 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
223 |
|
---|
224 | Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
|
---|
225 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
226 |
|
---|
227 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
228 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
229 |
|
---|
230 | VectorContentUnitTest_SOURCES = UnitTestMain.cpp VectorContentUnittest.cpp VectorContentUnittest.hpp
|
---|
231 | VectorContentUnitTest_LDADD = ${ALLLIBS}
|
---|
232 |
|
---|
233 | VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
|
---|
234 | VectorUnitTest_LDADD = ${ALLLIBS}
|
---|
235 |
|
---|
236 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|